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


| Updated: 2018-09-14

Vulnerability identifier: #VU207

Vulnerability risk: High

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

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
https://bugs.php.net/bug.php?id=72613
https://php.net/ChangeLog-5.php#5.5.38
https://php.net/ChangeLog-5.php#5.6.24
https://php.net/ChangeLog-7.php#7.0.9
https://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