Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP
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.
Problem Types
Type | CWE ID | Description |
---|
CWE | CWE-252 | CWE-252 Unchecked Return Value |
CWE | CWE-330 | CWE-330 Use of Insufficiently Random Values |
Type: CWE
Description: CWE-252 Unchecked Return Value
Type: CWE
Description: CWE-330 Use of Insufficiently Random Values
Metrics
Version | Base score | Base severity | Vector |
---|
3.1 | 2.6 | LOW | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N |
Version: 3.1
Base score: 2.6
Base severity: LOW
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N