CVE-2021-42013 Apache HTTP Server: file path flaw
In plain words: The program can be tricked into reading or writing files outside the folder it should stay in. Leaks files such as passwords and settings, or overwrites important ones.
Confirmed exploited by CISA on · US federal patch deadline Nov 17, 2021
What to do
- Install Apache's security update for HTTP Server. If no update exists, follow the vendor's workaround or stop using the product until one ships.
- Patch edge devices first — attackers often start scanning for them within hours of a fix.
- Never expose the device's admin page to the internet.
- After patching a device that was exposed, follow the vendor's compromise checks, end active sessions and change passwords.
Who is affected
Work IT. Aimed mostly at company systems — you are affected through the companies you use, not your own phone.
What's at risk: They face the internet and guard the whole network, so a flaw here can hand attackers a way in — and these devices usually run no antivirus, so break-ins go unnoticed.
The details
- Official name
- Apache HTTP Server Path Traversal Vulnerability
- Product
- Apache HTTP Server
- CISA description
- Apache HTTP Server contains a path traversal vulnerability that allows an attacker to perform remote code execution if files outside directories configured by Alias-like directives are not under default require all denied or if CGI scripts are enabled. This CVE ID resolves an incomplete patch for CVE-2021-41773.
- Type of flaw
- File path flaw (CWE-22)
- Confirmed exploited
- Nov 3, 2021 — known to be used in ransomware attacks
- US federal patch deadline
- Nov 17, 2021
Ask Cleus about it
Ask about a vulnerability, an update, a weird message, or the news. Plain-word answers, free, no account.
Answering about CVE-2021-42013 ·
Questions about CVE-2021-42013
Is CVE-2021-42013 being exploited?
Yes. CISA added CVE-2021-42013 to its Known Exploited Vulnerabilities catalog on Nov 3, 2021, which means there is reliable evidence of real-world attacks, including by ransomware groups.
How do I fix CVE-2021-42013?
Install Apache's security update for HTTP Server. If no update exists, follow the vendor's workaround or stop using the product until one ships. Patch edge devices first — attackers often start scanning for them within hours of a fix.
Am I affected by CVE-2021-42013?
Only if you use Apache HTTP Server. Aimed mostly at company systems — you are affected through the companies you use, not your own phone.