CVE-2013-1862: Medium severity apache http server vulnerability

Published Apr 19, 2013
·
Updated

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

29 affected componentsFixes available
redhat/httpd<2.0.65
2.0.65
redhat/httpd<2.2.25
2.2.25
Apache HTTP Server>=2.0.0<2.0.65
Apache HTTP Server>=2.2.0<2.2.25
redhat JBoss Enterprise Application Platform=6.0.0
redhat JBoss Enterprise Application Platform=6.4.0
redhat Enterprise Linux=5.0
redhat Enterprise Linux=6.0
Oracle HTTP Server=10.1.3.5.0
Oracle HTTP Server=11.1.1.7.0
Oracle HTTP Server=12.1.2.0
Oracle HTTP Server=12.1.3.0
redhat Enterprise Linux Desktop=5.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Eus=5.9
redhat Enterprise Linux Eus=6.4
redhat Enterprise Linux Server=5.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server Aus=5.9
redhat Enterprise Linux Server Aus=6.4
redhat Enterprise Linux Workstation=5.0
redhat Enterprise Linux Workstation=6.0
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=12.10
Canonical Ubuntu Linux=13.04
openSUSE openSUSE=11.4
openSUSE openSUSE=12.2
openSUSE openSUSE=12.3

Event History

Apr 19, 2013
Data Sourced
via Red Hat·04:26 AM
DescriptionSeverityAffected Software
Jun 10, 2013
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description

Frequently Asked Questions

1

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.

2

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.

3

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.

4

Can CVE-2013-1862 be exploited remotely?

Yes, CVE-2013-1862 can be exploited remotely by an attacker if the RewriteLog directive is used.

5

What are the potential consequences of CVE-2013-1862?

The potential consequences of CVE-2013-1862 include unauthorized command execution and possible system compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203