Exploitation Summary
EIP tracks 2 public exploits for CVE-2003-1307. PoCs published by frauk\x41ser, Steve Grubb.
AI-analyzed exploit summary This PoC demonstrates a local file descriptor manipulation vulnerability in Apache's mod_php, allowing an attacker to overwrite the access_log by repositioning and writing arbitrary content to file descriptor 7. The exploit leverages fcntl and lseek to modify the file descriptor's behavior.
Description
The mod_php module for the Apache HTTP Server allows local users with write access to PHP scripts to send signals to the server's process group and use the server's file descriptors, as demonstrated by sending a STOP signal, then intercepting incoming connections on the server's TCP port. NOTE: the PHP developer has disputed this vulnerability, saying "The opened file descriptors are opened by Apache. It is the job of Apache to protect them ... Not a bug in PHP.
Exploits (2)
This PoC demonstrates a local file descriptor manipulation vulnerability in Apache's mod_php, allowing an attacker to overwrite the access_log by repositioning and writing arbitrary content to file descriptor 7. The exploit leverages fcntl and lseek to modify the file descriptor's behavior.
This exploit leverages a local privilege escalation vulnerability in Apache mod_php (CVE-2003-1307) by hijacking a privileged file descriptor (fd 4) to impersonate the legitimate server. It forks to avoid termination by Apache, initializes an SSL server, and serves malicious content to clients.