Link following in PHP - CVE-2014-3981

 

Link following in PHP - CVE-2014-3981

Published: June 8, 2014 / Updated: August 10, 2020


Vulnerability identifier: #VU41567
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-3981
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate or delete data.

acinclude.m4, as used in the configure script in PHP 5.5.13 and earlier, allows local users to overwrite arbitrary files via a symlink attack on the /tmp/phpglibccheck file.


Affected software

PHP
Amazon Linux AMI
Gentoo Linux
Slackware Linux
HP-UX Web Server Suite
dev-lang/php

How to mitigate CVE-2014-3981

Install update from vendor's website.

HP-UX Web Server Suite - update to 4.02
dev-lang/php - update to 5.5.16

External References

Related Security Bulletins