CVE-2013-1862: Medium severity apache http server vulnerability
It was found that modrewrite 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 modrewrite). 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/modrewrite-CVE-2013-1862.patch
Other sources
modrewrite.c in the modrewrite module in the Apache HTTP Server 2.2.x before 2.2.25 writes data to a log file without sanitizing non-printable characters, which might allow remote attackers to execute arbitrary commands via an HTTP request containing an escape sequence for a terminal emulator.
— MITRE
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2013-1862?
CVE-2013-1862 has a medium severity rating as it could allow arbitrary command execution due to improper handling of non-printable characters in log files.
How do I fix CVE-2013-1862?
To fix CVE-2013-1862, you should upgrade to at least httpd version 2.0.65 or 2.2.25 as per your system's configuration.
Which software is affected by CVE-2013-1862?
CVE-2013-1862 affects various versions of Apache HTTP Server and Red Hat JBoss Enterprise Application Platform.
Can CVE-2013-1862 be exploited remotely?
Yes, CVE-2013-1862 can be exploited remotely by an attacker if the RewriteLog directive is used.
What are the potential consequences of CVE-2013-1862?
The potential consequences of CVE-2013-1862 include unauthorized command execution and possible system compromise.