Bug 785065 (CVE-2012-0021)
| Summary: | CVE-2012-0021 httpd: NULL pointer dereference crash in mod_log_config | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Vincent Danen <vdanen> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | jkaluza, jorton, pahan, prc |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | httpd 2.2.22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-07 19:31:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 746695, 746696, 746697, 785070 | ||
| Bug Blocks: | 785068 | ||
Created httpd tracking bugs for this issue Affects: fedora-all [bug 785067] ====================================================== Name: CVE-2012-0021 The log_cookie function in mod_log_config.c in the mod_log_config module in the Apache HTTP Server 2.2.17 through 2.2.21, when a threaded MPM is used, does not properly handle a %{}C format string, which allows remote attackers to cause a denial of service (daemon crash) via a cookie that lacks both a name and a value. (In reply to comment #0) > This will be fixed upstream [2] in 2.2.22 and affects versions 2.2.17 up to and > including 2.2.21. This problem was introduced upstream via: http://svn.apache.org/viewvc?view=revision&revision=988403 https://issues.apache.org/bugzilla/show_bug.cgi?id=28037 This issue has been addressed in following products: JBoss Enterprise Web Server 1.0.2 Via RHSA-2012:0543 https://rhn.redhat.com/errata/RHSA-2012-0543.html This issue has been addressed in following products: JBEWS 1.0 for RHEL 5 JBEWS 1.0 for RHEL 6 Via RHSA-2012:0542 https://rhn.redhat.com/errata/RHSA-2012-0542.html |
A flaw [1] was found in mod_log_config. If an administrator configured the "%{cookiename}C" log format string to be used, a remote attacker could send a specific cookie which would cause a crash. This crash would only be a denial of service if using a threaded MPM (such as event or worker). Note that Red Hat Enterprise Linux and Fedora use the prefork MPM by default. This will be fixed upstream [2] in 2.2.22 and affects versions 2.2.17 up to and including 2.2.21. [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=52256 [2] http://svn.apache.org/viewvc?view=revision&revision=1227292 Statement: Not vulnerable. This issue did not affect the versions of httpd as shipped with Red Hat Enterprise Linux 4, 5, or 6.