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
+ Matt Wright FormMail 1.6
+ Matt Wright FormMail 1.5
PGPMail PGPMail 1.3 00
+ Matt Wright FormMail 1.5
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.

Exploit / POC

PGPMail Remote Command Execution Vulnerability

There is no exploit code required.

References

PGPMail Remote Command Execution Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report