This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours

Bug 953729 (CVE-2013-1862)

Summary: CVE-2013-1862 httpd: mod_rewrite allows terminal escape sequences to be written to the log file
Product: [Other] Security Response Reporter: Huzaifa S. Sidhpurwala <huzaifas>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aneelica, cdewolf, djorm, jdoyle, jkaluza, jlieskov, jorton, lgao, mhasko, mmiura, pahan, pslavice, rsvoboda, security-response-team, webstack-team, weli
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20130419,reported=20130419,source=internet,cvss2=5.1/AV:N/AC:H/Au:N/C:P/I:P/A:P,rhel-4/httpd=affected,rhel-5/httpd=affected,rhel-6/httpd=affected,jbews-1/httpd=wontfix,jbews-2/httpd=affected,eap-6/httpd=affected,fedora-all/httpd=affected
Fixed In Version: httpd 2.0.65, httpd 2.2.25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-04 15:20:33 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 918860, 918862, 918863, 918864, 978084, 978085, 1014387    
Bug Blocks: 915888, 980700, 987712    

Description Huzaifa S. Sidhpurwala 2013-04-19 00:26:30 EDT
It was found that mod_rewrite writes data to a log file without sanitizing non-printable characters. A remote attacker could use this flaw to write terminal escape sequences to log files (if the RewriteLog directive was used by mod_rewrite). This could possibly cause arbitrary command execution, via HTTP requests containing an escape sequence for a terminal emulator. (if for example the log files were viewed in a terminal emulator)

Reference:
http://svn.apache.org/viewvc?view=revision&revision=r1469311

Proposed patch:
http://people.apache.org/~jorton/mod_rewrite-CVE-2013-1862.patch
Comment 1 errata-xmlrpc 2013-05-13 14:05:29 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 5

Via RHSA-2013:0815 https://rhn.redhat.com/errata/RHSA-2013-0815.html
Comment 6 errata-xmlrpc 2013-08-05 11:31:23 EDT
This issue has been addressed in following products:

  JBEWS 2 for RHEL 5
  JBEWS 2 for RHEL 6

Via RHSA-2013:1133 https://rhn.redhat.com/errata/RHSA-2013-1133.html
Comment 7 errata-xmlrpc 2013-08-05 11:41:34 EDT
This issue has been addressed in following products:

  JBEWS 2 for RHEL 5
  JBEWS 2 for RHEL 6
  JBEWS 2 for Solaris
  JBEWS 2 for Microsoft Windows

Via RHSA-2013:1134 https://rhn.redhat.com/errata/RHSA-2013-1134.html
Comment 8 errata-xmlrpc 2013-09-04 14:55:33 EDT
This issue has been addressed in following products:

  Red Hat JBoss Enterprise Application Platform 6.1.1

Via RHSA-2013:1209 https://rhn.redhat.com/errata/RHSA-2013-1209.html
Comment 9 errata-xmlrpc 2013-09-04 14:58:06 EDT
This issue has been addressed in following products:

  JBEAP 6 for RHEL 6

Via RHSA-2013:1208 https://rhn.redhat.com/errata/RHSA-2013-1208.html
Comment 10 errata-xmlrpc 2013-09-04 15:02:45 EDT
This issue has been addressed in following products:

  JBEAP 6 for RHEL 5

Via RHSA-2013:1207 https://rhn.redhat.com/errata/RHSA-2013-1207.html