Arbitrary OS Command Execution via escapeshellarg Function in PHP

Arbitrary OS Command Execution via escapeshellarg Function in PHP

CVE-2015-4642 · HIGH Severity

AV:N/AC:L/AU:N/C:C/I:C/A:C

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.

Learn more about our Web Application Penetration Testing UK.