CVE-2018-1312
In Apache httpd 2.2.0 to 2.4.29, when generating an HTTP Digest authentication challenge, the nonce sent to prevent rep…
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Apache Software Foundation Apache HTTP Server 2.0.42 to 2.4.29
Vulnerability facts
- Affected
- Apache Software Foundation Apache HTTP Server 2.0.42 to 2.4.29
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 15.78% chance of exploitation in 30 days (percentile 97, 2026-11-26)
- CWE
- CWE-287
- Modified
Description
In Apache httpd 2.2.0 to 2.4.29, when generating an HTTP Digest authentication challenge, the nonce sent to prevent reply attacks was not correctly generated using a pseudo-random seed. In a cluster of servers using a common Digest authentication configuration, HTTP requests could be replayed across servers by an attacker without detection.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Apache Software Foundation Apache HTTP Server | 2.0.42 to 2.4.29 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-1312. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-1312.md Affected: Apache Software Foundation Apache HTTP Server 2.0.42 to 2.4.29 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Apache Software Foundation Apache HTTP Server: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://usn.ubuntu.com/3627-1/
- https://www.debian.org/security/2018/dsa-4164
- https://access.redhat.com/errata/RHSA-2018:3558
- https://access.redhat.com/errata/RHSA-2019:0367
- https://usn.ubuntu.com/3627-2/
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://access.redhat.com/errata/RHSA-2019:0366
- https://usn.ubuntu.com/3937-2/
- https://access.redhat.com/errata/RHSA-2019:1898
Other
- https://security.netapp.com/advisory/ntap-20180601-0004/
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03909en_us
- http://www.securityfocus.com/bid/103524
- http://www.openwall.com/lists/oss-security/2018/03/24/7
- https://lists.debian.org/debian-lts-announce/2018/05/msg00020.html
- http://www.securitytracker.com/id/1040571
- https://lists.apache.org/thread.html/56c2e7cc9deb1c12a843d0dc251ea7fd3e7e80293cde02fcd65286ba%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/84a3714f0878781f6ed84473d1a503d2cc382277e100450209231830%40%3Ccvs.httpd.apache.org%3E
- https://www.tenable.com/security/tns-2019-09
- https://lists.apache.org/thread.html/rd18c3c43602e66f9cdcf09f1de233804975b9572b0456cc582390b6f%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/re3d27b6250aa8548b8845d314bb8a350b3df326cacbbfdfe4d455234%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r06f0d87ebb6d59ed8379633f36f72f5b1f79cadfda72ede0830b42cf%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rc998b18880df98bafaade071346690c2bc1444adaa1a1ea464b93f0a%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r15f9aa4427581a1aecb4063f1b4b983511ae1c9935e2a0a6876dad3c%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rfcf929bd33a6833e3f0c35eebdad70d5060665f9c4e17ea467c66770%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/re473305a65b4db888e3556e4dae10c2a04ee89dcff2e26ecdbd860a9%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rd336919f655b7ff309385e34a143e41c503e133da80414485b3abcc9%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r76142b8c5119df2178be7c2dba88fde552eedeec37ea993dfce68d1d%40%3Ccvs.httpd.apache.org%3E
FAQ
Is CVE-2018-1312 being exploited?
There is no confirmed exploitation: CVE-2018-1312 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 15.78% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-1312?
Critical: CVSS 9.8 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2018-1312?
Apache Software Foundation Apache HTTP Server 2.0.42 to 2.4.29.
Is there a fix for CVE-2018-1312?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2018-1312?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.