CVE-2021-41773 Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49
- Published
- Updated
- Exploit status
- Exploited in the wild (confirmed)
- CISA SSVC
- Actively exploited · automatable: yes · technical impact: total
- Technology
- Apache HTTP ServerDebian
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.
CISA Known Exploited Vulnerability
- Date added
- 2021-11-03
- Due date (FCEB)
- 2021-11-17
- Ransomware use
- Known
Required action
Apply updates per vendor instructions.
Upgrade path
21 packages: 17 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netapp cloud backup | All versions | No fix listed | No fix yet |
| alpine/apache2(Alpine v3.11) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.12) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.13) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.14) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.15) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.16) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.17) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.18) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.19) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.20) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.21) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.22) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.23) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| alpine/apache2(Alpine v3.24) | < 2.4.50-r0 | 2.4.50-r0 | Fixed |
| debian/apache2(Debian 12) | < 2.4.50-1 | 2.4.50-1 | Fixed |
| debian/apache2(Debian 13) | < 2.4.50-1 | 2.4.50-1 | Fixed |
| debian/apache2(Debian 14) | < 2.4.50-1 | 2.4.50-1 | Fixed |
| Apache HTTP Server | = 2.4.49; = Apache HTTP Server 2.4 2.4.49 | No fix listed | Versions listed |
| fedoraproject fedora | = 34; = 35 | No fix listed | Versions listed |
| oracle instantis enterprisetrack | = 17.1; = 17.2; = 17.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/apache2(Debian:12) | < 2.4.50-1 | 2.4.50-1 |
| debian/apache2(Debian:13) | < 2.4.50-1 | 2.4.50-1 |
| debian/apache2(Debian:14) | < 2.4.50-1 | 2.4.50-1 |
| Apache HTTP Server | = 2.4.49 | No fix listed |
| fedoraproject fedora | = 34 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| oracle instantis enterprisetrack | = 17.1 | No fix listed |
| oracle instantis enterprisetrack | = 17.2 | No fix listed |
| oracle instantis enterprisetrack | = 17.3 | No fix listed |
| netapp cloud backup | All versions | No fix listed |
| alpine/apache2(Alpine:v3.11) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.12) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.13) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.14) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.15) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.16) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.17) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.18) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.19) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.20) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.21) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.22) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.23) | < 2.4.50-r0 | 2.4.50-r0 |
| alpine/apache2(Alpine:v3.24) | < 2.4.50-r0 | 2.4.50-r0 |
| Apache HTTP Server | = Apache HTTP Server 2.4 2.4.49 | No fix listed |
References
- Debian Security Tracker CVE-2021-41773 vendor-advisory
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- [oss-security] 20211005 CVE-2021-41773: Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49 mailing-list third-party-advisory
- [oss-security] 20211007 RE: CVE-2021-41773: Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49 mailing-list third-party-advisory
- [oss-security] 20211007 CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list third-party-advisory
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) exploit mailing-list third-party-advisory
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list third-party-advisory
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) exploit mailing-list third-party-advisory
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list third-party-advisory
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list third-party-advisory
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list third-party-advisory
- [oss-security] 20211009 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list third-party-advisory
- [oss-security] 20211011 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list patch third-party-advisory
- [oss-security] 20211015 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list patch third-party-advisory
- [oss-security] 20211016 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list third-party-advisory
- httpd.apache.org release-notes vendor-advisory
- [httpd-cvs] 20211008 [httpd-site] branch main updated: * Align with CVE-2021-42013 based on the latest findings mailing-list patch
- [httpd-users] 20211005 [users@httpd] CVE-2021-41773: Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49 mailing-list
- [announce] 20211007 CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list
- [announce] 20211005 CVE-2021-41773: Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49 mailing-list
- [httpd-users] 20211007 [users@httpd] CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list
- FEDORA-2021-2a10bc68a4 release-notes vendor-advisory
- FEDORA-2021-aaf90ef84a release-notes vendor-advisory
- GLSA-202208-20 third-party-advisory vendor-advisory
- security.netapp.com third-party-advisory
- 20211007 Apache HTTP Server Vulnerabilties: October 2021 third-party-advisory vendor-advisory
- www.oracle.com patch third-party-advisory
- www.cisa.gov government-resource us-government-resource
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2021-28781 third-party-advisory