PGPMail.pl does not adequately filter user input, allowing arbitrary command execution.
PGPMail.pl is an adaptation of the FormMail.pl CGI script, enhanced to use PGP encryption. PGPMail.pl does not adequately filter the "recipient" and "pgpuserid" CGI variables before passing them to piped Perl open() function calls, inevoking shells. As a result, attackers may execute arbitrary commands on the server with privileges of the web server process.
Remote attackers can execute arbitrary commands on the server with privileges of the web server process.
The CERT/CC is currently unaware of a practical solution to this problem.
Thanks to John Scimone for reporting this vulnerability.
This document was written by Shawn Van Ittersum.
|Date First Published:||2002-09-27|
|Date Last Updated:||2003-04-15 14:29 UTC|