#VU26257 Input validation error in PHP


Published: 2020-03-20

Vulnerability identifier: #VU26257

Vulnerability risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-7066

CWE-ID: CWE-20

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 certain security restrictions.

The vulnerability exists due to get_headers() PHP function silently truncates headers after receiving a NULL byte character. A remote attacker can abuse this behavior to bypass implemented security restrictions with in the application.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

PHP: 7.3.0 - 7.3.15, 7.2.0 - 7.2.28, 7.4.0 - 7.4.3


External links
http://bugs.php.net/bug.php?id=79329
http://www.php.net/ChangeLog-7.php#7.2.29
http://www.php.net/ChangeLog-7.php#7.3.16
http://www.php.net/ChangeLog-7.php#7.4.4


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