Input validation error in PHP - CVE-2014-3538
Published: July 3, 2014 / Updated: July 28, 2020
Vulnerability identifier: #VU32500
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-3538
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows remote attackers to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can cause a denial of service (CPU consumption) via a crafted file that triggers backtracking during processing of an awk rule.
Affected software
PHP
Amazon Linux AMI
Ubuntu
Slackware Linux
php (Alpine package)
file (Alpine package)
libmagic1 (Ubuntu package)
file (Ubuntu package)
Amazon Linux AMI
Ubuntu
Slackware Linux
php (Alpine package)
file (Alpine package)
libmagic1 (Ubuntu package)
file (Ubuntu package)
How to mitigate CVE-2014-3538
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.
php (Alpine package) - update to 5.5.16-r0
file (Alpine package) - update to 5.19-r0
libmagic1 (Ubuntu package) - addressed in versions 5.03-5ubuntu1.3, 5.09-2ubuntu0.4, 5.11-2ubuntu4.3, 1:5.14-2ubuntu3.1
file (Ubuntu package) - addressed in versions 5.03-5ubuntu1.3, 5.09-2ubuntu0.4, 5.11-2ubuntu4.3, 1:5.14-2ubuntu3.1
file (Alpine package) - update to 5.19-r0
libmagic1 (Ubuntu package) - addressed in versions 5.03-5ubuntu1.3, 5.09-2ubuntu0.4, 5.11-2ubuntu4.3, 1:5.14-2ubuntu3.1
file (Ubuntu package) - addressed in versions 5.03-5ubuntu1.3, 5.09-2ubuntu0.4, 5.11-2ubuntu4.3, 1:5.14-2ubuntu3.1
External References
- http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
- http://mx.gw.com/pipermail/file/2014/001553.html
- http://openwall.com/lists/oss-security/2014/06/30/7
- http://rhn.redhat.com/errata/RHSA-2014-1327.html
- http://rhn.redhat.com/errata/RHSA-2014-1765.html
- http://rhn.redhat.com/errata/RHSA-2014-1766.html
- http://rhn.redhat.com/errata/RHSA-2016-0760.html
- http://secunia.com/advisories/60696
- http://www.debian.org/security/2014/dsa-3008
- http://www.debian.org/security/2014/dsa-3021
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- http://www.securityfocus.com/bid/68348
- https://bugzilla.redhat.com/show_bug.cgi?id=1098222
- https://github.com/file/file/commit/4a284c89d6ef11aca34da65da7d673050a5ea320
- https://github.com/file/file/commit/69a5a43b3b71f53b0577f41264a073f495799610
- https://github.com/file/file/commit/71a8b6c0d758acb0f73e2e51421a711b5e9d6668
- https://github.com/file/file/commit/74cafd7de9ec99a14f4480927580e501c8f852c3
- https://github.com/file/file/commit/758e066df72fb1ac08d2eea91ddc3973d259e991
- https://support.apple.com/HT204659