CVE-2007-3303
NoneCVSS
—
EPSS
0.9%
Published
Jun 20, 2007
CISA due date
—
Cloudanix analysis
A person who already has access to the computer running the web server can make the server crash or become overloaded so that websites and services stop responding.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Network Service
- Class
- RCE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits a local user to run specific code sequences inside an Apache worker process that either kill all worker processes without allowing replacements or force the master process to fork an arbitrarily large number of workers, resulting in denial of service.
Why it matters to the business
Web server processes can be terminated or overwhelmed, causing extended downtime for any services relying on the affected Apache instances and disrupting availability of hosted applications.
How an attack unfolds
An attacker who already has local access to the system executes crafted code sequences within the context of a Prefork MPM worker process; this either abruptly stops request handling across all workers or triggers uncontrolled forking by the master process until the system becomes unresponsive.
How to fix it
Upgrade Apache httpd beyond versions 2.0.59 and 2.2.4 with Prefork MPM, or migrate to a later release that resolves the worker-process handling limitation. For the listed package distributions the issue is resolved at version 0.
How to confirm the fix worked
Confirm the installed Apache httpd version is newer than 2.0.59/2.2.4 or that Prefork MPM is disabled; review process-creation limits and test that local code sequences no longer cause mass worker termination or runaway forking.
Typical attack path
- Gain local shell or process execution access on the host running the vulnerable Apache instance
- Execute the specific code sequence inside a worker process context
- Trigger termination of all workers or uncontrolled master-process forking to achieve denial of service
How to detect it
Examine system and Apache error logs for sudden mass termination of worker processes, spikes in fork() calls originating from the master process, or abrupt service restarts without corresponding administrative activity.
What your security team should do
- Apply the fixed package versions or upgrade Apache httpd immediately on all affected systems
- Limit local access to hosts running web-server processes
- Implement resource limits and monitoring on worker-process creation
- Review and replace any remaining instances of the vulnerable Prefork configuration
The record
Apache httpd 2.0.59 and 2.2.4, with the Prefork MPM module, allows local users to cause a denial of service via certain code sequences executed in a worker process that (1) stop request processing by killing all worker processes and preventing creation of replacements or (2) hang the system by forcing the master process to fork an arbitrarily large number of worker processes. NOTE: This might be an inherent design limitation of Apache with respect to worker processes in hosted environments.
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 |
Related vulnerabilities
- CVE-2015-0228 The lua_websocket_read function in lua_request.c in the mod_lua module in the Apache HTTP… Also affects apache2
- CVE-2014-3583 The handle_headers function in mod_proxy_fcgi.c in the mod_proxy_fcgi module in the… Also affects apache2
- CVE-2013-4352 The cache_invalidate function in modules/cache/cache_storage.c in the mod_cache module in… Also affects apache2
- CVE-2013-5704 The mod_headers module in the Apache HTTP Server 2.2.22 allows remote attackers to bypass… Also affects apache2
- CVE-2013-1896 mod_dav.c in the Apache HTTP Server before 2.2.25 does not properly determine whether DAV… Also affects apache2
- CVE-2013-1862 mod_rewrite.c in the mod_rewrite module in the Apache HTTP Server 2.2.x before 2.2.25… Also affects apache2
- CVE-2012-3499 Multiple cross-site scripting (XSS) vulnerabilities in the Apache HTTP Server 2.2.x… Also affects apache2
- CVE-2012-4558 Multiple cross-site scripting (XSS) vulnerabilities in the balancer_handler function in… Also affects apache2