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:
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 19:20:33 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: 918860, 918862, 918863, 918864, 978084, 978085, 1014387    
Bug Blocks: 915888, 980700, 987712    

Description Huzaifa S. Sidhpurwala 2013-04-19 04:26:30 UTC
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 18:05:29 UTC
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 15:31:23 UTC
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 15:41:34 UTC
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 18:55:33 UTC
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 18:58:06 UTC
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 19:02:45 UTC
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