CVE-2024-40725: Apache HTTP Server: source code disclosure with handlers configured via AddType
Noroxi assessment
Priority: Monitor (action score 22/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.4% (FIRST EPSS); higher than 91.4% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: Apache Software Foundation Apache HTTP Server 2.4.62; azl3 httpd 2.4.61-1 on Azure Linux 3.0 2.4.62-1; azl3 httpd 2.4.62-1 on Azure Linux 3.0 2.4.62-1.
Low priority for now. Upgrade to Apache Software Foundation Apache HTTP Server 2.4.62; azl3 httpd 2.4.61-1 on Azure Linux 3.0 2.4.62-1; azl3 httpd 2.4.62-1 on Azure Linux 3.0 2.4.62-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A partial fix for CVE-2024-39884 in the core of Apache HTTP Server 2.4.61 ignores some use of the legacy content-type based configuration of handlers. "AddType" and similar configuration, under some circumstances where files are requested indirectly, result in source code disclosure of local content. For example, PHP scripts may be served instead of interpreted. Users are recommended to upgrade to version 2.4.62, which fixes this issue.
- Published
- Jul 18, 2024
- Updated
- Jun 17, 2026
- EPSS
- 4.4% · 91th percentile
- CWE
- CWE-668
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | http server | cpe:2.3:a:apache:http_server |
Using http server? Add it to your stack and be the first to know about CVEs like this one. (Apache HTTP)
Is Apache HTTP Server on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache http server2.4.60
- apache http server2.4.61
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache HTTP Server
- 2.4.60 and later · up to and including 2.4.61affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.17 | apache2 | before 2.4.62-r0 | 2.4.62-r0 |
| Debian:12 | apache2 | before 2.4.62-1~deb12u1 | 2.4.62-1~deb12u1 |
| Debian:13 | apache2 | before 2.4.62-1 | 2.4.62-1 |
| openSUSE:Leap 15.5 | apache2 | before 2.4.51-150400.6.37.1 | 2.4.51-150400.6.37.1 |
| openSUSE:Leap 15.6 | apache2 | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| openSUSE:Leap 15.6 | apache2-devel | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| openSUSE:Leap 15.6 | apache2-event | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| openSUSE:Leap 15.6 | apache2-manual | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| openSUSE:Leap 15.6 | apache2-prefork | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| openSUSE:Leap 15.6 | apache2-utils | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| openSUSE:Leap 15.6 | apache2-worker | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| openSUSE:Tumbleweed | apache2 | before 2.4.62-1.1 | 2.4.62-1.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | apache2 | before 2.4.51-150200.3.79.1 | 2.4.51-150200.3.79.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | apache2 | before 2.4.51-150400.6.37.1 | 2.4.51-150400.6.37.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | apache2 | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | apache2-prefork | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | apache2-event | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP6 | apache2-devel | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP6 | apache2-utils | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP6 | apache2-worker | before 2.4.58-150600.5.26.1 | 2.4.58-150600.5.26.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | apache2 | before 2.4.51-35.63.1 | 2.4.51-35.63.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | apache2-tls13 | before 2.4.51-35.63.1 | 2.4.51-35.63.1 |
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-42013Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)KEV99Now
- CVE-2021-41773Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49KEV99Now
- CVE-2024-38475Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.KEV96Now
Published before and after this one in the same product
- ← EarlierCVE-2024-38472Jul 1, 2024 · Apache HTTP Server on WIndows UNC SSRF51Plan
- ← EarlierCVE-2024-39884Jul 4, 2024 · Apache HTTP Server: source code disclosure with handlers configured via AddType24Monitor
- Later →CVE-2024-40898Jul 18, 2024 · Apache HTTP Server: SSRF with mod_rewrite in server/vhost context on Windows30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Apache Software Foundation Apache HTTP Server | 2.4.62 · description | Vendor (CNA) |
| azl3 httpd 2.4.61-1 on Azure Linux 3.0 | 2.4.62-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 httpd 2.4.62-1 on Azure Linux 3.0 | 2.4.62-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 httpd 2.4.59-1 on CBL Mariner 2.0 | 2.4.62-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 httpd 2.4.59-1 on CBL-Mariner 2.0 | 2.4.62-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 httpd 2.4.62-1 on CBL Mariner 2.0 | 2.4.62-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| alpine:apache2 | 2.4.62-r0 · Alpine:v3.17 | Package registry (OSV) |
| debian:apache2 | 2.4.62-1~deb12u1 · Debian:12 | Package registry (OSV) |
| opensuse:apache2 | 2.4.58-150600.5.26.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-devel | 2.4.58-150600.5.26.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-event | 2.4.58-150600.5.26.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-manual | 2.4.58-150600.5.26.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-prefork | 2.4.58-150600.5.26.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-utils | 2.4.58-150600.5.26.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-worker | 2.4.58-150600.5.26.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:apache2 | 2.4.58-150600.5.26.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
| suse:apache2-devel | 2.4.58-150600.5.26.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP6 | Package registry (OSV) |
| suse:apache2-event | 2.4.58-150600.5.26.1 · SUSE:Linux Enterprise Module for Package Hub 15 SP6 | Package registry (OSV) |
| suse:apache2-prefork | 2.4.58-150600.5.26.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
| suse:apache2-tls13 | 2.4.51-35.63.1 · SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | Package registry (OSV) |
| suse:apache2-utils | 2.4.58-150600.5.26.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP6 | Package registry (OSV) |
| suse:apache2-worker | 2.4.58-150600.5.26.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP6 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×2
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:87 | 2024-07-19 |
| Proof-of-concept repository on GitHub | stars:12 | 2024-12-18 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+1 d
- TodayNov 9, 2026+844 d
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-668 · Exposure of Resource to Wrong SphereCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.