cve.bz

CVE-2018-1312 Improper Authentication

9.8 criticalEPSS 16%

Critical (9.8). EPSS 16% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
16% (unchanged from 16% a week ago; 16% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-287 Improper Authentication
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1312 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1312?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1312?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1312 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:http_server2.4.1
apache:http_server2.4.2
apache:http_server2.4.3
apache:http_server2.4.4
apache:http_server2.4.6
apache:http_server2.4.7
apache:http_server2.4.9
apache:http_server2.4.10
apache:http_server2.4.12
apache:http_server2.4.16
apache:http_server2.4.17
apache:http_server2.4.18
apache:http_server2.4.20
apache:http_server2.4.23
apache:http_server2.4.25
apache:http_server2.4.26
apache:http_server2.4.27
apache:http_server2.4.28
apache:http_server2.4.29
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
canonical:ubuntu_linux18.04
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0
redhat:jboss_core_services1.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_eus7.6
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7apache22.2.22-13+deb7u13DLA-1389-1
Debian8apache22.4.10-10+deb8u12DSA-4164-1
Debian9apache22.4.25-3+deb9u4DSA-4164-1
Debian12, 13, 14apache22.4.33-1DEBIAN-CVE-2018-1312
Ubuntu14.04:LTSapache22.4.7-1ubuntu4.20UBUNTU-CVE-2018-1312 USN-3627-1
Ubuntu16.04:LTSapache22.4.18-2ubuntu3.8UBUNTU-CVE-2018-1312 USN-3627-1
Ubuntu18.04:LTSapache22.4.29-1ubuntu4.1UBUNTU-CVE-2018-1312 USN-3627-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morehttpd, mod_ldap, httpd-devel and 4 more0:2.4.6-89.el7_6.1RHSA-2019:1898
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moremod_ssl, mod_proxy_html1:2.4.6-89.el7_6.1RHSA-2019:1898
Red Hatjboss_core_services:1::el6jbcs-httpd24, jbcs-httpd24-runtime0:1-6.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-apache-commons-daemon-jsvc, jbcs-httpd24-apache-commons-daemon-jsvc-debuginfo1:1.1.0-3.redhat_2.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-apr, jbcs-httpd24-apr-devel, jbcs-httpd24-apr-debuginfo0:1.6.3-31.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-apr-util, jbcs-httpd24-apr-util-nss, jbcs-httpd24-apr-util-ldap and 7 more0:1.6.1-24.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.29-35.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-debuginfo0:1.3.8-3.Final_redhat_2.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-manual and 1 more0:1.2.46-1.redhat_1.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.29-35.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-nghttp2, jbcs-httpd24-nghttp2-devel, jbcs-httpd24-nghttp2-debuginfo0:1.29.0-9.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 3 more1:1.0.2n-14.jbcs.el6RHSA-2019:0367
18 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4 and 1 moreapache22.2.34-70.15.1SUSE-SU-2018:1079-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1, OpenStack Cloud 6apache22.4.16-20.16.1SUSE-SU-2018:0879-1
SUSELinux Enterprise Server 12 SP2-BCLapache22.4.23-29.18.2SUSE-SU-2018:1161-2
SUSELinux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP2 and 3 moreapache22.4.23-29.18.2SUSE-SU-2018:1161-1
SUSELinux Enterprise Server 12-LTSSapache22.4.10-14.31.1SUSE-SU-2018:0901-1
Alpinev3.4, v3.5, v3.6 and 18 moreapache22.4.33-r0ALPINE-CVE-2018-1312

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The "AuthType Digest" directive is not enabled in the default httpd configuration as shipped with Red Hat Enterprise Linux, and needs to be explicitly enabled. Therefore this flaw has no impact on the default versions of the httpd package as shipped with Red Hat Enterprise Linux. Also upstream discourages the use of mod_auth_digest because of its inherent security weaknesses and recommends the use of mod_ssl.

ProductPackageStateAdvisory
JBoss Core Services on RHEL 6jbcs-httpd24-0:1-6.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-apache-commons-daemon-jsvc-1:1.1.0-3.redhat_2.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-apr-0:1.6.3-31.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-apr-util-0:1.6.1-24.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-httpd-0:2.4.29-35.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-mod_cluster-native-0:1.3.8-3.Final_redhat_2.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-mod_jk-0:1.2.46-1.redhat_1.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-nghttp2-0:1.29.0-9.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-openssl-1:1.0.2n-14.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 7jbcs-httpd24-0:1-6.jbcs.el7Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 7jbcs-httpd24-apache-commons-daemon-jsvc-1:1.1.0-3.redhat_2.jbcs.el7Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 7jbcs-httpd24-apr-0:1.6.3-31.jbcs.el7Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 7jbcs-httpd24-apr-util-0:1.6.1-24.jbcs.el7Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 7jbcs-httpd24-httpd-0:2.4.29-35.jbcs.el7Fixed 2019-02-18RHSA-2019:0367
Red Hat Enterprise Linux 5httpdWill not fix
Red Hat Enterprise Linux 6httpdWill not fix
Red Hat Enterprise Linux 8httpdNot affected
Red Hat JBoss Enterprise Web Server 2httpdWill not fix
Red Hat JBoss Web Server 3httpdNot affected
Red Hat Mobile Application Platform 4rhmap-httpd-dockerNot affected
21 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1312.

Attack patterns (CAPEC)

  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON