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)
- Published
- Updated
- Exploit status
- Exploited in the wild (confirmed)
- CISA SSVC
- Actively exploited · automatable: yes · technical impact: total
- Technology
- Apache HTTP ServerDebian
Description
It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. 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 only affects Apache 2.4.49 and Apache 2.4.50 and not earlier versions.
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
23 packages: 19 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.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.12) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.13) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.14) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.15) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.16) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.17) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.18) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.19) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.20) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.21) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.22) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.23) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| alpine/apache2(Alpine v3.24) | < 2.4.51-r0 | 2.4.51-r0 | Fixed |
| debian/apache2(Debian 12) | < 2.4.51-1 | 2.4.51-1 | Fixed |
| debian/apache2(Debian 13) | < 2.4.51-1 | 2.4.51-1 | Fixed |
| debian/apache2(Debian 14) | < 2.4.51-1 | 2.4.51-1 | Fixed |
| oracle JD Edwards EnterpriseOne Tools | < 9.2.6.0 | 9.2.6.0 | Fixed |
| oracle secure backup | < 18.1.0.1.0 | 18.1.0.1.0 | Fixed |
| Apache HTTP Server | = 2.4.49; = 2.4.50; = Apache HTTP Server 2.4.49; = Apache HTTP Server 2.4.50 | 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.51-1 | 2.4.51-1 |
| debian/apache2(Debian:13) | < 2.4.51-1 | 2.4.51-1 |
| debian/apache2(Debian:14) | < 2.4.51-1 | 2.4.51-1 |
| Apache HTTP Server | = 2.4.49 | No fix listed |
| Apache HTTP Server | = 2.4.50 | 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 |
| oracle JD Edwards EnterpriseOne Tools | < 9.2.6.0 | 9.2.6.0 |
| oracle secure backup | < 18.1.0.1.0 | 18.1.0.1.0 |
| netapp cloud backup | All versions | No fix listed |
| alpine/apache2(Alpine:v3.11) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.12) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.13) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.14) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.15) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.16) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.17) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.18) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.19) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.20) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.21) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.22) | < 2.4.51-r0 | 2.4.51-r0 |
Show 4 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/apache2(Alpine:v3.23) | < 2.4.51-r0 | 2.4.51-r0 |
| alpine/apache2(Alpine:v3.24) | < 2.4.51-r0 | 2.4.51-r0 |
| Apache HTTP Server | = Apache HTTP Server 2.4.49 | No fix listed |
| Apache HTTP Server | = Apache HTTP Server 2.4.50 | No fix listed |
References
- Debian Security Tracker CVE-2021-42013 vendor-advisory
- JVN#51106450 third-party-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
- packetstormsecurity.com third-party-advisory vdb-entry
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- [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) 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] 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 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 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
- [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
- [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.oracle.com patch third-party-advisory
- www.povilaika.com exploit third-party-advisory
- www.cisa.gov government-resource us-government-resource
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2021-29001 third-party-advisory