CVE-2006-1015
PHP - Argument Injection via Mail Function Additional Parameters
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2006-1015. PoCs published by [email protected].
AI-analyzed exploit summary This exploit leverages a vulnerability in PHP's mail functions to bypass 'safe_mode' and 'open_basedir' restrictions by injecting additional parameters. The provided code snippet demonstrates how an attacker can read arbitrary files and write to specific locations using the '-C' and '-X' flags.
Description
Argument injection vulnerability in certain PHP 3.x, 4.x, and 5.x applications, when used with sendmail and when accepting remote input for the additional_parameters argument to the mail function, allows remote attackers to read and create arbitrary files via the sendmail -C and -X arguments. NOTE: it could be argued that this is a class of technology-specific vulnerability, instead of a particular instance; if so, then this should not be included in CVE.
Exploits (1)
This exploit leverages a vulnerability in PHP's mail functions to bypass 'safe_mode' and 'open_basedir' restrictions by injecting additional parameters. The provided code snippet demonstrates how an attacker can read arbitrary files and write to specific locations using the '-C' and '-X' flags.