CVE-2007-2839

gfax < 0.4.2 - Arbitrary Command Execution via Insecure Temporary File Handling

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-2839. PoCs published by Steve Kemp.

AI-analyzed exploit summary This exploit leverages a local privilege escalation vulnerability in GFAX by continuously writing a malicious cron job to /tmp/crontab, which executes arbitrary commands as root. The PoC attempts to copy /bin/sh to /tmp and set the SUID bit, granting root access.

Description

gfax 0.4.2 and probably other versions creates temporary files insecurely, which allows local users to execute arbitrary commands via unknown vectors.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Steve Kemp · textlocallinux
https://www.exploit-db.com/exploits/30280

This exploit leverages a local privilege escalation vulnerability in GFAX by continuously writing a malicious cron job to /tmp/crontab, which executes arbitrary commands as root. The PoC attempts to copy /bin/sh to /tmp and set the SUID bit, granting root access.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: GFAX 0.7.6
No auth needed
Prerequisites: Local access to the vulnerable system
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (7)

Core 7
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/24780
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2007/dsa-1329
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1018335
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/35403
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37883
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/25967
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/25937

Scores

EPSS 0.0077
EPSS Percentile 51.1%

Details

Status published
Products (1)
debian/gfax < 0.4.2
Published Jul 05, 2007
Tracked Since Feb 18, 2026