Buffer over-read in PHP - CVE-2015-2783
Published: November 27, 2018
Vulnerability identifier: #VU16114
CSH Severity: Low
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-2783
CWE-ID: CWE-126
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to obtain potentially sensitive information or cause DoS condition on the target system.
The weakness exists due to buffer over-read in ext/phar/phar.c in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8. A remote attacker can obtain sensitive information from process memory or cause a denial of service via a crafted length value in conjunction with crafted serialized data in a phar archive, related to the phar_parse_metadata and phar_parse_pharfile functions.
The weakness exists due to buffer over-read in ext/phar/phar.c in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8. A remote attacker can obtain sensitive information from process memory or cause a denial of service via a crafted length value in conjunction with crafted serialized data in a phar archive, related to the phar_parse_metadata and phar_parse_pharfile functions.
Affected software
PHP
Amazon Linux AMI
Slackware Linux
Fedora
php5 (Ubuntu package)
php
Amazon Linux AMI
Slackware Linux
Fedora
php5 (Ubuntu package)
php
How to mitigate CVE-2015-2783
Install update from vendor's website.
PHP - addressed in versions 5.4.40, 5.5.24, 5.6.8
php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.30, 5.3.10-1ubuntu3.18, 5.5.9+dfsg-1ubuntu4.9, 5.5.12+dfsg-2ubuntu4.4
php - addressed in versions 5.6.8-1.fc21, 5.6.8-1.fc22
php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.30, 5.3.10-1ubuntu3.18, 5.5.9+dfsg-1ubuntu4.9, 5.5.12+dfsg-2ubuntu4.4
php - addressed in versions 5.6.8-1.fc21, 5.6.8-1.fc22