CVE-2014-3981: Low severity PHP PHP vulnerability

Published Jun 5, 2014
·
Updated

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

3 affected components
PHP PHP<5.3.29
PHP PHP>=5.4.0<5.4.30
PHP PHP>=5.5.0<5.5.14

Event History

Jun 5, 2014
Data Sourced
via Red Hat·07:13 AM
DescriptionSeverityAffected Software
Jun 8, 2014
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:55 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

Can CVE-2014-3981 be exploited remotely?

CVE-2014-3981 is primarily a local vulnerability and requires local access to exploit.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203