nph-maillist Arbitrary Code Execution Vulnerability

BID:2563

Info

nph-maillist Arbitrary Code Execution Vulnerability

Bugtraq ID: 2563
Class: Input Validation Error
CVE: CVE-2001-0400
Remote: Yes
Local: No
Published: Apr 10 2001 12:00AM
Updated: Jul 11 2009 06:06AM
Credit: Posted to bugtraq on April 10, 2001 by Kanedaaa Bohater <[email protected]>.
Vulnerable: Matt Tourtillott nph-maillist 3.5
Matt Tourtillott nph-maillist 3.0
Not Vulnerable:

Discussion

nph-maillist Arbitrary Code Execution Vulnerability

nph-maillist is a Perl CGI script that handles mailing lists, typically used to notify interested users of site updates. A hostile user can enter commands embedded in an email address via the subscription form, and then force a mailing which will execute the commands.

Solution / Fix

nph-maillist Arbitrary Code Execution Vulnerability

Solution:
Currently the SecurityFocus staff are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

This issue can be resolved by editing nph-maillist.pl . There is a section with several lines like:

if ($FORM{'emailaddress'} !~ /\@/) { &bad_email();}

Add the following two lines to that section:

if ($FORM{'emailaddress'} =~ /\;/) { &bad_email();}

if ($FORM{'emailaddress'} =~ /\`/) { &bad_email();}

References

nph-maillist Arbitrary Code 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