Skip to content

CVE-2023-3247 Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP

MediumCVSS 4.3 EPSS 0.71%
Published
Updated
Exploit status
No public exploit known

Description

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 products

ProductAffected versionsFixed in
debian/php8.2(Debian:12) < 8.2.7-1~deb12u1 8.2.7-1~deb12u1
debian/php8.2(Debian:12) = 8.2.5-2 No fix listed
PHP < 8.0.29 8.0.29
PHP < 8.1.20 8.1.20
PHP < 8.2.7 8.2.7
ubuntu/php8.1(Ubuntu:22.04) < 8.1.2-1ubuntu2.13 8.1.2-1ubuntu2.13
alpine/php8(Alpine:v3.16) < 8.0.29-r0 8.0.29-r0
alpine/php81(Alpine:v3.16) < 8.1.22-r0 8.1.22-r0
alpine/php81(Alpine:v3.17) < 8.1.22-r0 8.1.22-r0
PHP >= 8.0.0, < 8.0.29 8.0.29
PHP >= 8.1.0, < 8.1.20 8.1.20
PHP >= 8.2.0, < 8.2.7 8.2.7

References