PGPMail Remote Command Execution Vulnerability
BID:3605
Info
PGPMail Remote Command Execution Vulnerability
| Bugtraq ID: | 3605 |
| Class: | Input Validation Error |
| CVE: |
CVE-2001-0937 |
| Remote: | Yes |
| Local: | No |
| Published: | Nov 30 2001 12:00AM |
| Updated: | Jul 11 2009 09:06AM |
| Credit: | This vulnerability was originally submitted to BugTraq by John Scimone <[email protected]> on November 29th, 2001. |
| Vulnerable: |
PGPMail PGPMail 1.3.1 PGPMail PGPMail 1.3 00 |
| Not Vulnerable: | |
Discussion
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.
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.
Exploit / POC
PGPMail Remote Command Execution Vulnerability
There is no exploit code required.
There is no exploit code required.