REDHAT-BUG-618189: Low severity Apache HTTP Server vulnerability
Apache Software Foundation assigned an identifier CVE-2010-1452 to the following vulnerability:
A flaw was found in the handling of requests by modcache and moddav. A malicious remote attacker could send a carefully crafted request and cause a httpd child process to crash. This crash would only be a denial of service if using the worker MPM. This issue is further mitigated as moddav is only affected by requests that are most likely to be authenticated, and modcache is only affected if the uncommon CacheIgnoreURLSessionIdentifiers" directive, introduced in version 2.2.14, is used.
References: [1] http://httpd.apache.org/security/vulnerabilities22.html
Upstream bug report: [2] https://issues.apache.org/bugzilla/showbug.cgi?id=49246
Upstream patch: [3] http://svn.apache.org/viewvc?view=revision&revision=966349
Credit: Mark Drayton
More reproducer details from [2]: (https://issues.apache.org/bugzilla/showbug.cgi?id=49246#c0)
When configured with a virtual host, caching and a non-empty CacheIgnoreURLSessionIdentifiers parameter httpd segfaults on requests with no path. Configuration:
NameVirtualHost :80 <VirtualHost :80> ServerName www.example.com CacheEnable disk / CacheRoot /tmp/cache-root CacheDefaultExpire 86400 CacheIgnoreURLSessionIdentifiers cachebuster </VirtualHost>
Test:
host:~ tail -0f logs/errorlog & [1] 7637 host:~ (echo "GET http://www.example.com HTTP/1.0"; echo) | nc localhost 80 [Tue May 04 14:12:47 2010] [notice] child pid 7617 exit signal Segmentation fault (11)
Affected Software
Event History
Frequently Asked Questions
Which Apache HTTP Server configurations are affected?
mod_cache is affected only when the uncommon CacheIgnoreURLSessionIdentifiers directive is configured with a non-empty value. The reported reproducer also used a virtual host and caching; mod_dav is affected by crafted requests handled by that module.
What does an attacker need to do to trigger the issue?
A remote attacker must send a carefully crafted HTTP request. In the reported mod_cache case, a request with no path can cause httpd to segfault when the affected caching configuration is present.
When does the crash become a denial-of-service condition?
The crash is a denial of service when Apache HTTP Server uses the worker MPM. The issue is further mitigated for mod_dav because the relevant requests are most likely authenticated.
What can be done if patching is not immediately possible?
For mod_cache deployments, remove or avoid a non-empty CacheIgnoreURLSessionIdentifiers setting if it is not required. Restricting access to mod_dav functionality to authenticated users also reduces exposure, since affected mod_dav requests are most likely authenticated.