Security restrictions bypass in PHP - CVE-2018-10545

 

Security restrictions bypass in PHP - CVE-2018-10545

Published: March 29, 2018 / Updated: May 2, 2018


Vulnerability identifier: #VU11343
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-10545
CWE-ID: CWE-200
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to bypass security restrictions and obtain potentially sensitive information on the target system.

The weakness exists due to improper access controls. A local attacker can change UID and GID, PHP-FPM sets pool worker processes to be dumpable, attach to the PHP-FPM workers and gain access to any restricted resources that are not supposed to be allowed.

Affected software

PHP
Debian Linux
Gentoo Linux
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power
SUSE Linux
Opensuse
php7 (Alpine package)
openSUSE Leap

How to mitigate CVE-2018-10545

Update to version 7.0.29 or 7.2.4.

php7 (Alpine package) - update to 7.1.30-r0

External References

Related Security Bulletins