Shorewall Insecure Temporary File Handling Symbolic Link Vulnerability

BID:10682

Info

Shorewall Insecure Temporary File Handling Symbolic Link Vulnerability

Bugtraq ID: 10682
Class: Access Validation Error
CVE: CVE-2004-0647
CVE-2004-0647
Remote: No
Local: Yes
Published: Jun 28 2004 12:00AM
Updated: Jul 06 2016 12:19PM
Credit: Discovery is credited to Javier Fernández-Sanguino.
Vulnerable: Shorewall Shorewall 2.0.3
Shorewall Shorewall 2.0.2
Shorewall Shorewall 2.0.1
+ Mandriva Linux Mandrake 10.0 AMD64
+ Mandriva Linux Mandrake 10.0
Shorewall Shorewall 2.0
Shorewall Shorewall 1.4.10
Shorewall Shorewall 1.4.9
Shorewall Shorewall 1.4.8
+ MandrakeSoft Corporate Server 2.1
+ Mandriva Linux Mandrake 9.2 amd64
+ Mandriva Linux Mandrake 9.2
Shorewall Shorewall 1.4.7
Shorewall Shorewall 1.4.6
Shorewall Shorewall 1.4.5
Shorewall Shorewall 1.4.4
Shorewall Shorewall 1.4.3 a
Shorewall Shorewall 1.4.3
Shorewall Shorewall 1.4.2
Shorewall Shorewall 1.4.1
Shorewall Shorewall 1.4
Shorewall Shorewall 1.3.14
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
Shorewall Shorewall 1.3.11
+ MandrakeSoft Multi Network Firewall 2.0
Shorewall Shorewall 1.3.7 c
+ MandrakeSoft Corporate Server 2.1 x86_64
+ MandrakeSoft Corporate Server 2.1
Shorewall Shorewall 1.2.9
+ MandrakeSoft Multi Network Firewall 2.0
Not Vulnerable: Shorewall Shorewall 2.0.3 a
Shorewall Shorewall 2.0.3
Shorewall Shorewall 2.0.2
Shorewall Shorewall 2.0.1
+ Mandriva Linux Mandrake 10.0 AMD64
+ Mandriva Linux Mandrake 10.0
Shorewall Shorewall 2.0
Shorewall Shorewall 1.4.10 f

Discussion

Shorewall Insecure Temporary File Handling Symbolic Link Vulnerability

It is reported that Shorewall is prone to a local insecure temporary file handling symbolic link vulnerability. This issue is due to a design error that allows the application to insecurely handle temporary files and directories. This can facilitate a symbolic link attack.

An attacker may exploit this issue to corrupt arbitrary files. This corruption may potentially result in the elevation of privileges, or in a system wide denial of service.

Exploit / POC

Shorewall Insecure Temporary File Handling Symbolic Link Vulnerability

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

Shorewall Insecure Temporary File Handling Symbolic Link Vulnerability

Solution:
The vendor has provided fixes for this issue.

Mandrake has released an advisory (MDKSA-2004:080) and fixes to address this issue. Please see the referenced advisory for further details regarding obtaining and applying appropriate fixes.

Gentoo has released an advisory (GLSA 200407-07) to address this issue. Please see the referenced advisory for more information. Gentoo users may carry out the following commands to update their computers:

emerge sync
emerge -pv ">=net-firewall/shorewall-1.4.10f"
emerge ">=net-firewall/shorewall-1.4.10f"


Shorewall Shorewall 1.3.14

Shorewall Shorewall 1.3.7 c

Shorewall Shorewall 1.4

Shorewall Shorewall 1.4.1

Shorewall Shorewall 1.4.10

Shorewall Shorewall 1.4.2

Shorewall Shorewall 1.4.3 a

Shorewall Shorewall 1.4.3

Shorewall Shorewall 1.4.4

Shorewall Shorewall 1.4.5

Shorewall Shorewall 1.4.6

Shorewall Shorewall 1.4.7

Shorewall Shorewall 1.4.8

Shorewall Shorewall 1.4.9

Shorewall Shorewall 2.0

Shorewall Shorewall 2.0.1

Shorewall Shorewall 2.0.2

Shorewall Shorewall 2.0.3

References

Shorewall Insecure Temporary File Handling Symbolic Link Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report