#VU207 Out-of-bounds write in bzread() in PHP and Oracle Linux


Published: 2020-03-18

Vulnerability identifier: #VU207

Vulnerability risk: High

CVSSv3.1: 9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2016-5399

CWE-ID: CWE-119

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages
Oracle Linux
Operating systems & Components / Operating system

Vendor: PHP Group
Oracle

Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to incorrect error handling in bzread() function. A remote unauthenticated attacker can cause buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install the latest versions: (5.5.38, 5.6.24, 7.0.9).

Vulnerable software versions

PHP: 5.5.0 - 5.5.37, 5.6.0 - 5.6.23, 7.0.0 - 7.0.8

Oracle Linux: 7


External links
http://bugs.php.net/bug.php?id=72613
http://php.net/ChangeLog-5.php#5.5.38
http://php.net/ChangeLog-5.php#5.6.24
http://php.net/ChangeLog-7.php#7.0.9
http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html


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. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability