CVE-2013-1862 Command injection in n/a
Remote attackers can execute arbitrary commands via crafted HTTP requests due to unsanitized log entries in Apache mod_rewrite.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-1862?
CVE-2013-1862 is a medium-severity command injection vulnerability in Apache Http Server, published on 10 Jun 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
mod_rewrite.c in the mod_rewrite 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.
Which versions are affected by CVE-2013-1862?
It affects 10 products.
Products include Apache Http Server, Canonical Ubuntu Linux, Opensuse Opensuse, Oracle Http Server, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Eus and 4 more.
How do I fix CVE-2013-1862?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2013-1862 being exploited?
There is no known exploitation of CVE-2013-1862 in the wild and no public exploit code.
Other vulnerabilities in Apache Http Server
Sources
Also known as DEBIAN-CVE-2013-1862, GHSA-wp7w-p549-c3xq, MGASA-2013-0174.