CVE-2018-1312
httpd: Weak Digest auth nonce generation in mod_auth_digest
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (medium), Red Hat (low), Oracle (low), Ubuntu (low).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.10 | apache2 | 2.4.33-r0 |
| alpine 3.11 | apache2 | 2.4.33-r0 |
| alpine 3.12 | apache2 | 2.4.33-r0 |
| alpine 3.13 | apache2 | 2.4.33-r0 |
| alpine 3.14 | apache2 | 2.4.33-r0 |
| alpine 3.15 | apache2 | 2.4.33-r0 |
| alpine 3.16 | apache2 | 2.4.33-r0 |
| alpine 3.17 | apache2 | 2.4.33-r0 |
| alpine 3.18 | apache2 | 2.4.33-r0 |
| alpine 3.19 | apache2 | 2.4.33-r0 |
| alpine 3.20 | apache2 | 2.4.33-r0 |
| alpine 3.21 | apache2 | 2.4.33-r0 |
Show all 65 entries from 43 sources
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.10 | apache2 | 2.4.33-r0 |
| alpine 3.11 | apache2 | 2.4.33-r0 |
| alpine 3.12 | apache2 | 2.4.33-r0 |
| alpine 3.13 | apache2 | 2.4.33-r0 |
| alpine 3.14 | apache2 | 2.4.33-r0 |
| alpine 3.15 | apache2 | 2.4.33-r0 |
| alpine 3.16 | apache2 | 2.4.33-r0 |
| alpine 3.17 | apache2 | 2.4.33-r0 |
| alpine 3.18 | apache2 | 2.4.33-r0 |
| alpine 3.19 | apache2 | 2.4.33-r0 |
| alpine 3.20 | apache2 | 2.4.33-r0 |
| alpine 3.21 | apache2 | 2.4.33-r0 |
| alpine 3.22 | apache2 | 2.4.33-r0 |
| alpine 3.23 | apache2 | 2.4.33-r0 |
| alpine 3.24 | apache2 | 2.4.33-r0 |
| alpine 3.4 | apache2 | 2.4.33-r0 |
| alpine 3.5 | apache2 | 2.4.33-r0 |
| alpine 3.6 | apache2 | 2.4.33-r0 |
| alpine 3.7 | apache2 | 2.4.33-r0 |
| alpine 3.8 | apache2 | 2.4.33-r0 |
| alpine 3.9 | apache2 | 2.4.33-r0 |
| alpine edge | apache2 | 2.4.33-r0 |
| amazon linux 1 | httpd24 | 2.4.33-2.78.amzn1 |
| amazon linux 1 | httpd24-debuginfo | 2.4.33-2.78.amzn1 |
| amazon linux 1 | httpd24-devel | 2.4.33-2.78.amzn1 |
| amazon linux 1 | httpd24-manual | 2.4.33-2.78.amzn1 |
| amazon linux 1 | httpd24-tools | 2.4.33-2.78.amzn1 |
| amazon linux 1 | mod24_ldap | 2.4.33-2.78.amzn1 |
| amazon linux 1 | mod24_md | 2.4.33-2.78.amzn1 |
| amazon linux 1 | mod24_proxy_html | 1:2.4.33-2.78.amzn1 |
| amazon linux 1 | mod24_session | 2.4.33-2.78.amzn1 |
| amazon linux 1 | mod24_ssl | 1:2.4.33-2.78.amzn1 |
| debian 11 | apache2 | 2.4.33-1 |
| debian 12 | apache2 | 2.4.33-1 |
| debian 13 | apache2 | 2.4.33-1 |
| debian 14 | apache2 | 2.4.33-1 |
| debian 7 | apache2 | 2.2.22-13+deb7u13 |
| debian 8 | apache2 | 2.4.10-10+deb8u12 |
| debian 9 | apache2 | 2.4.25-3+deb9u4 |
| echo | apache2 | 2.4.33-1 |
| Oracle Linux 7 | httpd | 2.4.6-89.0.1.el7_6.1 |
| Oracle Linux 7 | httpd-devel | 2.4.6-89.0.1.el7_6.1 |
| Oracle Linux 7 | httpd-manual | 2.4.6-89.0.1.el7_6.1 |
| Oracle Linux 7 | httpd-tools | 2.4.6-89.0.1.el7_6.1 |
| Oracle Linux 7 | mod_ldap | 2.4.6-89.0.1.el7_6.1 |
| Oracle Linux 7 | mod_proxy_html | 1:2.4.6-89.0.1.el7_6.1 |
| Oracle Linux 7 | mod_session | 2.4.6-89.0.1.el7_6.1 |
| Oracle Linux 7 | mod_ssl | 1:2.4.6-89.0.1.el7_6.1 |
| Red Hat | httpd | no fix listed |
| Red Hat | httpd-devel | no fix listed |
| Red Hat | httpd-manual | no fix listed |
| Red Hat | httpd-tools | no fix listed |
| Red Hat | jbcs-httpd24 | no fix listed |
| Red Hat | jbcs-httpd24-runtime | no fix listed |
| Red Hat | mod_ssl | no fix listed |
| root.io debian 12 | rootio-apache2 | 2.4.33-1 |
| root.io debian 13 | rootio-apache2 | 2.4.33-1 |
| ubuntu 14.04 | apache2 | 2.4.7-1ubuntu4.20 |
| ubuntu 14.04-ESM | apache2 | 2.4.7-1ubuntu4.20 |
| ubuntu 16.04 | apache2 | 2.4.18-2ubuntu3.8 |
| ubuntu 16.04-ESM | apache2 | 2.4.18-2ubuntu3.8 |
| ubuntu 17.10 | apache2 | 2.4.27-2ubuntu4.1 |
| ubuntu 18.04 | apache2 | 2.4.29-1ubuntu4.1 |
| ubuntu 18.04-ESM | apache2 | 2.4.29-1ubuntu4.1 |
| ubuntu 18.10 | apache2 | 2.4.29-1ubuntu4.1 |
References
- http://www.openwall.com/lists/oss-security/2018/03/24/7
- http://www.securityfocus.com/bid/103524
- http://www.securitytracker.com/id/1040571
- https://access.redhat.com/errata/RHSA-2018:3558
- https://access.redhat.com/errata/RHSA-2019:0366
- https://access.redhat.com/errata/RHSA-2019:0367
- https://access.redhat.com/errata/RHSA-2019:1898
- https://access.redhat.com/security/cve/CVE-2018-1312
All 37 references
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://linux.oracle.com/cve/CVE-2018-1312.html
- https://linux.oracle.com/errata/ELSA-2019-1898.html
- https://lists.apache.org/thread.html/56c2e7cc9deb1c12a843d0dc251ea7fd3e7e80293cde02fcd65286ba@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/84a3714f0878781f6ed84473d1a503d2cc382277e100450209231830@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r06f0d87ebb6d59ed8379633f36f72f5b1f79cadfda72ede0830b42cf@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r15f9aa4427581a1aecb4063f1b4b983511ae1c9935e2a0a6876dad3c@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r76142b8c5119df2178be7c2dba88fde552eedeec37ea993dfce68d1d@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rc998b18880df98bafaade071346690c2bc1444adaa1a1ea464b93f0a@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rd18c3c43602e66f9cdcf09f1de233804975b9572b0456cc582390b6f@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rd336919f655b7ff309385e34a143e41c503e133da80414485b3abcc9@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/re3d27b6250aa8548b8845d314bb8a350b3df326cacbbfdfe4d455234@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/re473305a65b4db888e3556e4dae10c2a04ee89dcff2e26ecdbd860a9@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rfcf929bd33a6833e3f0c35eebdad70d5060665f9c4e17ea467c66770@%3Ccvs.httpd.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2018/05/msg00020.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-1312
- https://security.netapp.com/advisory/ntap-20180601-0004/
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03909en_us
- https://ubuntu.com/security/notices/USN-3627-1
- https://ubuntu.com/security/notices/USN-3627-2
- https://ubuntu.com/security/notices/USN-3937-2
- https://usn.ubuntu.com/3627-1/
- https://usn.ubuntu.com/3627-2/
- https://usn.ubuntu.com/3937-2/
- https://www.cve.org/CVERecord?id=CVE-2018-1312
- https://www.debian.org/security/2018/dsa-4164
- https://www.tenable.com/security/tns-2019-09