CVE-2023-3247

published 22 Jul 2023 · updated 15 Oct 2024

Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP

2.6LowCVSS 2.6EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in PHP 8.0.29, PHP 8.1.20 and PHP 8.2.7.

In PHP versions 8.0.* before 8.0.29, 8.1.* before 8.1.20, 8.2.* before 8.2.7 when using SOAP HTTP Digest Authentication, random value generator was not checked for failure, and was using narrower range of values than it should have. In case of random generator failure, it could lead to a disclosure of 31 bits of uninitialized memory from the client to the server, and it also made easier to a malicious server to guess the client's nonce.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PHP GroupPHP>=8.0.* <8.0.29, >=8.1.* <8.1.20, >=8.2.* <8.2.78.0.29, 8.1.20, 8.2.7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in PHP, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-3247 severity on Zeptric[![CVE-2023-3247](https://zeptric.io/badge/cve/CVE-2023-3247.svg)](https://zeptric.io/cve/CVE-2023-3247)