www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daniel lenox <dle...@ssix.net>
Subject mod_cgi/3230: Insecure $ENV{PATH} while running setuid at /home/xxx/cgi-bin/sendmail.pl
Date Sat, 17 Oct 1998 22:39:30 GMT

>Number:         3230
>Category:       mod_cgi
>Synopsis:       Insecure $ENV{PATH} while running setuid at /home/xxx/cgi-bin/sendmail.pl
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Oct 17 15:40:01 PDT 1998
>Originator:     dlenox@ssix.net
>Release:        1.3.2
OS - Linux 2.0.35
I have a perl sendmail script that is used for form processing
the error happens when I try to execute the following line in the script:
     open (MAIL, "|/usr/sbin/sendmail -t");

then the perl script blows up and the browser is returned with
"Internal Server Error  Premature end of script headers"
open (MAIL, "|/usr/sbin/sendmail -t");

[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]

View raw message