RCE in PHP

CVE-2015-4642

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.060, 93.4th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • PHP — versions 5.5.0, 5.5.1, 5.5.2

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 4 other repositories (ARPSyndicate/cvemon, auditt7708/rhsecapi, RedHatProductSecurity/rhsecapi, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References