Quantum Secular Labs / Blog / Advisories

CVE-2018-1312: In a cluster of servers using a common Digest authentication configuration, HTTP requests could be replayed…

CVE-2018-1312 is rated critical with a CVSS v3.1 base score of 9.8 and NVD lists 13 affected products, including Apache HTTP Server. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available.

Vulnerability 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.

Severity breakdown

CVSS v3.1 9.8: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
  • Attack complexity: Low. No special conditions; the attack can be repeated reliably.
  • Privileges required: None. No account or prior access is needed.
  • User interaction: None. No action from any user is needed.
  • Scope: Unchanged. Impact stays within the vulnerable component.
  • Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
  • Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
  • Availability impact: High. Total loss of availability; the component can be shut down.

Underlying weakness

CWE-287: Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Affected products

  • Apache HTTP Server: 2.4.1; 2.4.2; 2.4.3; 2.4.4; 2.4.6; 2.4.7; 2.4.9; 2.4.10; 2.4.12; 2.4.16; 2.4.17; 2.4.18
  • Canonical Ubuntu Linux: 12.04; 14.04; 16.04; 17.10; 18.04
  • Debian Linux: 7.0; 8.0; 9.0
  • Netapp Cloud Backup: all versions listed by NVD
  • Netapp Storagegrid: all versions listed by NVD
  • Netapp Clustered Data Ontap: all versions listed by NVD
  • Red Hat Jboss Core Services: 1.0
  • Red Hat Enterprise Linux Desktop: 7.0
  • Red Hat Enterprise Linux Eus: 7.6
  • Red Hat Enterprise Linux Server: 7.0
  • Red Hat Enterprise Linux Server Aus: 7.6
  • Red Hat Enterprise Linux Server Tus: 7.6
  • Red Hat Enterprise Linux Workstation: 7.0

References