cbcvebase.
CVE-2016-4975
published 2018-08-14

CVE-2016-4975: Possible CRLF injection allowing HTTP response splitting attacks for sites which use mod_userdir. This issue was mitigated by changes made in 2.4.25 and 2.2.32…

PriorityP348medium6.1CVSS 3.0
AVNACLPRNUIRSCCLILAN
EXPLOIT
EPSS
19.80%
97.1th percentile
Possible CRLF injection allowing HTTP response splitting attacks for sites which use mod_userdir. This issue was mitigated by changes made in 2.4.25 and 2.2.32 which prohibit CR or LF injection into the "Location" or other outbound header key or value. Fixed in Apache HTTP Server 2.4.25 (Affected 2.4.1-2.4.23). Fixed in Apache HTTP Server 2.2.32 (Affected 2.2.0-2.2.31).

Affected

44 ranges· showing 25
VendorProductVersion rangeFixed in
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server

Detection & IOCsextracted from sources · hover to see the quote

url/~user/%0D%0ASet-Cookie:crlfinjection
other(?m)^(?:Set-Cookie\s*?:(?:\s*?|.*?;\s*?))(crlfinjection=crlfinjection)(?:\s*?)(?:$|;)
  • Probe mod_userdir endpoints by injecting %0D%0A (CRLF) into the username portion of the URL path (e.g. /~user/%0D%0ASet-Cookie:...) and inspect response headers for injected values such as a spurious Set-Cookie header.
  • Match HTTP response headers for an injected Set-Cookie value using the regex pattern targeting 'crlfinjection=crlfinjection' to confirm successful CRLF injection via mod_userdir.
  • Focus detection on Apache HTTP Server versions 2.4.1–2.4.23 and 2.2.0–2.2.31 running mod_userdir, as these are the confirmed affected ranges. Versions 2.4.25+ and 2.2.32+ are patched.
  • The vulnerability is exploitable via CR or LF injection into the 'Location' or other outbound header key or value through mod_userdir URL paths; monitor for %0D or %0A in /~user/ URL segments in access logs.
  • Use Shodan queries for exposed Apache HTTP Server instances to identify potentially vulnerable targets for prioritized patching or scanning.
  • ·The Nuclei template targets a single GET request to /~user/%0D%0ASet-Cookie:crlfinjection and matches only on response headers; it will only fire if mod_userdir is enabled and the server reflects the injected header — false negatives are possible if the server strips or encodes CRLF before the header stage.
  • ·Red Hat Enterprise Linux 5, 6, JBoss Enterprise Web Server 2 and 3 are marked 'Will not fix' or 'Out of support scope', meaning vulnerable httpd versions may remain deployed in those environments indefinitely.
  • ·The upstream SVN patch (revision 1777405) also contains commits for non-security issues, so applying only that revision may introduce unintended changes; prefer upgrading to the full 2.4.25 or 2.2.32 release.

CVSS provenance

nvdv3.06.1MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.1MEDIUM
vendor_debian6.1LOW
vendor_redhat6.1MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.