Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Beta Programs

PGPMail Remote Command Execution Vulnerability

PGPMail is a modified version of Matt Wright's FormMail 1.5, allowing mail to be encrypted using PGP.

PGPMail is prone to a vulnerability which may allow arbitrary commands to be executed on the shell of a host running it. Commands will be executed with the privileges of the webserver. There are at least two instances in the PGPMail.pl script where shell metacharacters are not adequately filtered from hidden form fields(recipient and pgpuserid).

Although PGPMail does include the security feature of checking the HTTP Referrer against a list of hosts, this vulnerability could be trivially exploited if the HTTP Referrer field of a web request is forged by the attacker.







 

Privacy Statement
Copyright 2008, SecurityFocus