Vulnerability report

Exploited in the wild Confirmed confidence In CISA KEV

CVE-2021-42013

Apache HTTP Server Path Traversal

Apache Software Foundation / Apache HTTP Server · Apache HTTP Server 2.4.49

Severity
CVSS 9.8 · Critical
Confidence
Confirmed
Exploit status
Exploited in the wild
EPSS
100.0%
First observed
Last observed

Decision summary

What security teams need to know first

Direct answers before the deeper technical record.

What it is

CVE-2021-42013 is an unauthenticated vulnerability affecting Apache Software Foundation Apache HTTP Server. It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. An attacker could...

Is it exploited?

Yes. KEV Intelligence tracks this CVE as a known exploited vulnerability. Confidence is confirmed.

Who is affected?

Apache Software Foundation / Apache HTTP Server apache http server 2.4.49.

What should we do?

Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.

Overview

It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient

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.

Vendor Product Affected Status
Apache Software Foundation Apache HTTP Server Apache HTTP Server 2.4.49 Affected
Apache Software Foundation Apache HTTP Server Apache HTTP Server 2.4.50 Affected
View vendor advisory (opens in new tab)
Published
07 Oct 2021
Exploitation Reported
03 Nov 2021
Attack vector
Remote
Complexity
Low
Privileges
None
User interaction
None

Tags

ransomware nuclei_scanner metasploit apache malware cisa

CVE References

Exploitation evidence

Why KEV Intelligence marks this CVE as exploited

Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.

Exploited in the wild

CISA

Recorded 03 Nov 2021

Independent exploitation attestation added to the KEV Intelligence record.

Used in malware

CISA

Recorded 03 Nov 2021

Malware families have been linked to exploitation of this CVE.

Proof of concept available

GitHub

Recorded 07 Oct 2021

Public scanner or PoC coverage increases practical exploitability.

Known exploited vulnerability sources

Per-source evidence links for KEV attestations are available through the KEV Intelligence Pro API.

Learn about Pro API access
Source Added
CISA First 2021-11-03 00:00 UTC
The Shadowserver 2026-06-01 00:00 UTC

Detection

Operational artifacts and observed signals

Make the evidence actionable in scanner, SOC, and edge-control workflows.

Observed signals

Request targets
0
User-Agents
0

Raw values available in Pro and Enterprise.

Virtual patch status

No KEV Intelligence virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.

Learn about virtual patches →

Scanner Artifacts

Scanner and exploit-framework references linked to this CVE.

Risk and context

Severity, weaknesses, and research context

CVSS v3.1

9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS

100.0%

All CVSS Scores

CVSS v3.1 9.8 Critical

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 7.5 High

AV:N/AC:L/Au:N/C:P/I:P/A:P

Potential Proof of Concepts

These PoCs are unverified and could contain malware. Use at your own risk.

BassoNicolas/CVE-2021-42013

github · Created 2024-04-07 16:04:06 UTC · 3 stars

CVE-2021-42013 Vulnerability Scanner This Python script checks for the Remote Code Execution (RCE) vulnerability (CVE-2021-42013) in Apache 2.4.50.

K3ysTr0K3R/CVE-2021-42013-EXPLOIT

github · Created 2023-08-25 19:51:01 UTC · 2 stars

A PoC exploit for CVE-2021-42013 - Apache 2.4.49 & 2.4.50 Remote Code Execution

12345qwert123456/CVE-2021-42013

github · Created 2022-11-18 17:53:46 UTC · 0 stars

Vulnerable configuration Apache HTTP Server version 2.4.49/2.4.50

asaotomo/CVE-2021-42013-Apache-RCE-Poc-Exp

github · Created 2021-12-23 14:46:41 UTC · 10 stars

Apache 远程代码执行 (CVE-2021-42013)批量检测工具:Apache HTTP Server是美国阿帕奇(Apache)基金会的一款开源网页服务器。该服务器具有快速、可靠且可通过简单的API进行扩充的特点,发现 Apache HTTP Server 2.4.50 中针对 CVE-2021-41773 的修复不够充分。攻击者可以使用路径遍历攻击将 URL 映射到由类似别名的指令配置的目录之外的文件。如果这些目录之外的文件不受通常的默认配置“要求全部拒绝”的保护,则这些请求可能会成功。如果还为这些别名路径启用了 CGI 脚本,则这可能允许远程代码执行。此问题仅影响 Apache 2.4.49 和 Apache 2.4.50,而不影响更早版本。

TheLastVvV/CVE-2021-42013_Reverse-Shell

github · Created 2021-10-24 12:57:55 UTC · 7 stars

PoC CVE-2021-42013 reverse shell Apache 2.4.50 with CGI

TheLastVvV/CVE-2021-42013

github · Created 2021-10-23 21:58:44 UTC · 2 stars

Poc CVE-2021-42013 - Apache 2.4.50 without CGI

andrea-mattioli/apache-exploit-CVE-2021-42013

github · Created 2021-10-07 18:31:29 UTC · 9 stars

Exploit with integrated shodan search

apache_normalize_path_rce

metasploit · Created Unknown

Metasploit module for CVE-2021-42013

Timeline

From disclosure to observed exploitation

  1. KEV confirmed by The Shadowserver

    Exploitation attested by an external source

  2. Metasploit module available

    Exploit module available

  3. Nuclei template available

    Scanner coverage available

  4. Added to CISA KEV

    Listed in the CISA Known Exploited Vulnerabilities catalog

  5. First public exploitation report

    Exploit observed in malware

  6. Public PoC available

    Public proof-of-concept code published

  7. CVE published

    Vulnerability disclosed publicly

  8. CVE ID reserved

    Identifier reserved by the CNA

Pro API

Automate this intelligence

Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.

  • Evidence confidence and provenance
  • First-party sensor telemetry
  • PoC and scanner references
  • Affected versions and enrichment
  • Automation-ready JSON delivery

GET /api/v2/pro/kevs/CVE-2021-42013

Free JSON includes basic KEV fields
{
  "cve_id": "CVE-2021-42013",
  "confidence": "Confirmed",
  "cvss_score": 9.8,
  "epss_score": 0.99964,
  "exploit_status": {
    "exploited_in_the_wild": true,
    "active_exploitation_observed": false
  },
  "sensor_telemetry": { "attempts": 0, "sensors": 0 }
}

Email Alerts

Get High-Impact KEV Alerts by Email

KEV Intelligence tracks known exploited vulnerabilities beyond CISA KEV. Subscribe for occasional, curator-picked alerts when exploitation warrants attention. For every update, use the RSS feed or API.

Occasional high-impact alerts. Unsubscribe anytime. See our Privacy Policy.