This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 785065 - (CVE-2012-0021) CVE-2012-0021 httpd: NULL pointer dereference crash in mod_log_config
CVE-2012-0021 httpd: NULL pointer dereference crash in mod_log_config
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20111128,reported=2...
: Security
Depends On: 746695 746696 746697 785070
Blocks: 785068
  Show dependency treegraph
 
Reported: 2012-01-27 01:05 EST by Vincent Danen
Modified: 2016-03-04 06:50 EST (History)
4 users (show)

See Also:
Fixed In Version: httpd 2.2.22
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-07 15:31:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vincent Danen 2012-01-27 01:05:13 EST
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.
Comment 1 Vincent Danen 2012-01-27 01:07:02 EST
Created httpd tracking bugs for this issue

Affects: fedora-all [bug 785067]
Comment 2 Kurt Seifried 2012-01-28 01:13:13 EST
======================================================
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.
Comment 3 Tomas Hoger 2012-01-29 12:32:28 EST
(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
Comment 5 errata-xmlrpc 2012-05-07 14:51:11 EDT
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
Comment 6 errata-xmlrpc 2012-05-07 15:17:34 EDT
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

Note You need to log in before you can comment on or make changes to this bug.