CVE-2015-4642
At a glance
- Source
- NVD
- EPSS
- EPSS 6.00 % · percentile 93 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
The escapeshellarg function in ext/standard/exec.c in PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 on Windows allows remote attackers to execute arbitrary OS commands via a crafted string to an application that accepts command-line arguments for a call to the PHP system function.
Weaknesses (CWE)
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command
References
- http://www.securitytracker.com/id/1032709
- http://www.securityfocus.com/bid/75290
- http://openwall.com/lists/oss-security/2015/06/18/6
- http://php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=69646
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=d2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9
- https://security.gentoo.org/glsa/201606-10
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2015-4661
- GCVE · GCVE-0-2015-4642
CERT-FR advisories
- CERTFR-2015-AVI-265 — Multiples vulnérabilités dans PHP · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*≤ 5.4.41cpe:2.3:a:php:php:5.5.0:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.1:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.2:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.3:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.4:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.5:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.6:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.7:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.8:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.9:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.10:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.11:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.12:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.13:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.14:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.15:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.16:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.17:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.18:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.19:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.20:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.21:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.22:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.23:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.24:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.5.25:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.6.0:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |