CVE-2014-3981: Low severity PHP PHP vulnerability
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.
Other sources
It was reported[1] to the full-disclosure mailing list that PHP's configure script uses a predictable filename in /tmp/, "/tmp/phpglibccheck". A local attacker could use this flaw to perform a symbolic link attack against a user building the source RPM or running the configure script.
[1] http://seclists.org/fulldisclosure/2014/Jun/21
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2014-3981?
CVE-2014-3981 is considered a medium severity vulnerability due to its exploitation potential via a symlink attack.
How do I fix CVE-2014-3981?
To fix CVE-2014-3981, upgrade PHP to version 5.5.14 or later, or implement proper permissions to the /tmp directory.
What versions of PHP are affected by CVE-2014-3981?
CVE-2014-3981 affects PHP versions 5.5.0 to 5.5.13, 5.4.0 to 5.4.30, and 5.3.29 and earlier.
Can CVE-2014-3981 be exploited remotely?
CVE-2014-3981 is primarily a local vulnerability and requires local access to exploit.
What types of attacks can CVE-2014-3981 facilitate?
CVE-2014-3981 can facilitate file overwrite attacks through a symlink, potentially leading to data loss or system compromise.