#VU72166 Use of insufficiently random values in PHP - CVE-2023-0567


| Updated: 2023-02-28

Vulnerability identifier: #VU72166

Vulnerability risk: Medium

CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-0567

CWE-ID: CWE-330

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

The vulnerability allows a remote attacker to bypass authentication.

The vulnerability exists due to an error within the Password_verify() function, which always returns true with some hashes. A remote attacker can bypass authentication process and gain unauthorized access to the application.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

PHP: 7.2 - 7.2.34, 7.3 - 7.3.33, 7.4 - 7.4.33, 8.0.0 - 8.0.27, 8.1.0 - 8.1.15, 8.2.0 - 8.2.2


External links
https://www.php.net/ChangeLog-8.php#8.0.28
https://www.php.net/ChangeLog-8.php#8.2.3
https://bugs.php.net/bug.php?id=81744


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability