{"id":"CVE-2024-40725","published":"2024-07-18T09:32:43Z","modified":"2025-03-14T17:27:57Z","title":"Apache HTTP Server: source code disclosure with handlers configured via AddType","vendor":"Apache","product":"Apache HTTP Server","tier":"tail","description":{"text":"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.\n\nUsers are recommended to upgrade to version 2.4.62, which fixes this issue.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.04417,"percentile":0.9157,"provenance":"source"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"references":[{"url":"https://httpd.apache.org/security/vulnerabilities_24.html","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240808-0007/","tags":[]}],"priority":{"score":27.0,"factors":[{"name":"EPSS percentile","points":18.31},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2024-07-19","earliestUrl":"https://github.com/TAM-K592/CVE-2024-40725-CVE-2024-40898","repos":[{"name":"TAM-K592/CVE-2024-40725-CVE-2024-40898","url":"https://github.com/TAM-K592/CVE-2024-40725-CVE-2024-40898","stars":87,"created":"2024-07-19"},{"name":"soltanali0/CVE-2024-40725","url":"https://github.com/soltanali0/CVE-2024-40725","stars":12,"created":"2024-12-18"}]},"first":{"date":"2024-07-19","source":"PoC-in-GitHub","url":"https://github.com/TAM-K592/CVE-2024-40725-CVE-2024-40898"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache HTTP Server","versions":[">= 2.4.60, <= 2.4.61"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-14T17:21:48.954496Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is in the core of Apache HTTP Server 2.4.61, where the server ignores some uses of legacy content-type based handler configuration such as AddType, leading to source code disclosure. An attacker with network access and no authentication or user interaction can, under certain conditions where files are requested indirectly, obtain local source code, for example having PHP scripts served rather than interpreted.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:05:18Z"},"euvd":{"id":"EUVD-2024-38590","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-http-server-cve-2024-39884","parents":[{"from":"CVE-2024-39884","to":"CVE-2024-40725","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"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.","from":"CVE.org","in":"CVE-2024-40725"},{"kind":"similar","provenance":"machine","score":0.95,"basis":"same product + description similarity"}]}]}}