Cloudanix VulnDB

CVE-2003-1307

None

CVSS

—

EPSS

1.7%

Published

Dec 31, 2003

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A very old local issue lets someone who can already change certain web scripts on a server briefly pause the web server and potentially see new visitor traffic.

Exploit Available
Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Privilege Gain
Component
Web Framework
Class
Privilege Escalation
Remediation
No Fix Yet
Effort
Other
Patch risk
Other

What it actually does

Local authenticated user with write access to PHP scripts can send signals to the Apache process group and reuse server file descriptors to intercept connections.

Why it matters to the business

Attackers with limited local access could disrupt web services or intercept traffic, leading to service outages or data exposure on affected servers.

How an attack unfolds

A local user creates or modifies a PHP script that issues a STOP signal to the parent Apache process group, then binds to the released TCP port to capture incoming connections; the flaw has been publicly exploitable for years with no active threat actor campaigns noted.

How to fix it

The issue is disputed by PHP maintainers and listed as fixed in version 0 for the affected py3-docker packages on Chainguard and Wolfi; confirm current package versions and remove any unnecessary local script write permissions if still running legacy Apache mod_php configurations.

How to confirm the fix worked

Verify that deployed py3-docker images report version 0 or later, review Apache and PHP configurations for removal of mod_php where possible, and test that local users cannot send signals to the httpd process group.

Typical attack path

  1. Obtain local user account with write access to PHP scripts on the web server
  2. Write or upload a PHP script that sends a STOP signal to the Apache process group
  3. Reuse the freed file descriptors to bind to the original listening TCP port
  4. Intercept and inspect or manipulate subsequent client connections

How to detect it

Search historical web server logs and process accounting for unexpected STOP signals sent to httpd processes or sudden port-binding attempts by non-root users around the Apache listener port.

What your security team should do

  • Audit all systems for presence of mod_php and replace with modern PHP-FPM or other handlers
  • Enforce least-privilege file permissions on web content directories
  • Monitor for any new exploit code referencing this 2003 issue given its public exploit maturity

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 apache2 0 No fix
Debian:11 apache2 0 No fix
Debian:12 apache2 0 No fix
Debian:13 apache2 0 No fix
Debian:14 apache2 0 No fix

Related vulnerabilities