Apache HTTP Server - Path Traversal (CVE-2021-41773)
Description
A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue is known to be exploited in the wild. This issue only affects Apache 2.4.49 and not earlier versions. The fix in Apache HTTP Server 2.4.50 was found to be incomplete, see CVE-2021-42013.
psychologyCrowdSec Analysis
CVE-2021-41773 is a vulnerability in the Apache HTTP Server that allows attackers to carry out path traversal attacks, potentially enabling access to files outside of intended directories. If CGI scripts are present and enabled, exploitation could lead to remote code execution.
CrowdSec has been tracking this vulnerability and its exploits since 11th of October 2021.
Based on data from the CrowdSec network, nearly all observed exploitation of CVE-2021-41773 is fully opportunistic, with attackers indiscriminately scanning the entire internet. These attacks are automated and lack any form of target selection or reconnaissance. CrowdSec network telemetry also shows that exploitation of CVE-2021-41773 has significantly declined over the past week. Attack volumes are well below the long-term average, suggesting attackers are rapidly losing interest. The vulnerability appears to be falling out of active use across most threat landscapes.
Attackers are observed probing for URL patterns containing /icons/.%2e/ or /cgi-bin/.%2e/ to exploit path traversal weaknesses.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2021-10-05 |
| Rule Released | 2021-10-11 |
| CrowdSec First Seen | 2021-10-11 |
| CISA KEV | 2021-11-03 |
| CISA Remediation Deadline | 2021-11-17 |
Remediation & Protection
External References
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMIIEFINL6FUIOPD2A3M5XC6DH45Y3CC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WS5RVHOIIRECG65ZBTZY7IEJVWQSQPG3/
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://security.netapp.com/advisory/ntap-20211029-0009/
- https://security.gentoo.org/glsa/202208-20
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-41773.yaml