LutelWall Multiple Insecure File Creation Vulnerabilities

BID:13863

Info

LutelWall Multiple Insecure File Creation Vulnerabilities

Bugtraq ID: 13863
Class: Design Error
CVE: CVE-2005-1879
Remote: No
Local: Yes
Published: Jun 06 2005 12:00AM
Updated: Jul 12 2009 02:56PM
Credit: Eric Romang <[email protected]> of ZATAZ Audit is credited with the discovery of this vulnerability.
Vulnerable: Tomasz Lutelmowski LutelWall 0.97
Tomasz Lutelmowski LutelWall 0.96
Tomasz Lutelmowski LutelWall 0.95
Tomasz Lutelmowski LutelWall 0.94
Tomasz Lutelmowski LutelWall 0.93
Tomasz Lutelmowski LutelWall 0.92
Tomasz Lutelmowski LutelWall 0.91
Adrian Pascalau GIPTables Firewall 1.1
Adrian Pascalau GIPTables Firewall 1.0
Not Vulnerable:

Discussion

LutelWall Multiple Insecure File Creation Vulnerabilities

LutelWall is prone to multiple insecure file creation vulnerabilities. This issues are due to a design error that causes the application to fail to verify the existence of files before writing to them.

An attacker may leverage this issue to overwrite arbitrary files with the privileges of an unsuspecting user that activates the vulnerable utility. Due to the nature of this script, it is likely that only users with superuser privileges will be executing it.

One of the temporary files is used to store the downloaded LutelWall script file in an upgrade process. Attackers may be able to exploit the race condition between when the temporary file is created, and when LutelWall is overwritten with the contents of the temporary file. This would allow attackers to overwrite the LutelWall script with an arbitrary executable, so that further invocations of LutelWall by the superuser would cause the attacker-supplied code to be executed with superuser privileges.

Exploit / POC

LutelWall Multiple Insecure File Creation Vulnerabilities

An exploit is not required.

Solution / Fix

LutelWall Multiple Insecure File Creation Vulnerabilities

Solution:
Users of Gentoo Linux can upgrade by performing the following command:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-firewall/lutelwall-0.98"

Currently we are not aware of any vendor-supplied patches 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]>.

References

LutelWall Multiple Insecure File Creation Vulnerabilities

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