CVE-2020-1927 in apache http server
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
In Apache HTTP Server 2.4.0 to 2.4.41, redirects configured with mod_rewrite that were intended to be self-referential might be fooled by encoded newlines and redirect instead to an an unexpected URL within the request URL.
Affected software: apache http server, netapp oncommand unified manager core package, oracle communications element manager, oracle communications session report manager, oracle communications session route manager, oracle enterprise manager ops center, oracle instantis enterprisetrack, oracle sd-wan aware, oracle zfs storage appliance kit, fedoraproject fedora
Scores
- CVSS: 6.1 (medium)
- EPSS: 54.99% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2020-04-02
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Update Apache HTTP Server to 2.4.42 or later
Patch or upgrade. Apache 2.4.0 to 2.4.41 can be made to redirect to another host by an encoded newline in the URL when a RewriteRule or RedirectMatch uses a broad pattern. Version 2.4.42 fixes the matching.
Applies to: Apache HTTP Server 2.4.0 to 2.4.41 with mod_rewrite or RedirectMatch rules
- Check the version with httpd -v or apache2 -v.
- Install Apache HTTP Server 2.4.42 or later from your distribution or the Apache project.
- Anchor redirect patterns and avoid unanchored .* captures in RewriteRule and RedirectMatch.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.