[UNIX] Add2it Mailman Command Execution (File Writing)
From: support@securiteam.comDate: 02/16/02
- Previous message: support@securiteam.com: "[NT] NetWin CWMail.exe Buffer Overflow (item=)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: support@securiteam.com To: list@securiteam.com Date: Sat, 16 Feb 2002 13:55:54 +0100 (CET)
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -
Add2it Mailman Command Execution (File Writing)
------------------------------------------------------------------------
SUMMARY
<http://www.add2it.com/scripts/mailman-free.shtml> Add2it Mailman Free is
a multilingual mailing list management script with full personalization
options and no size limitations that allows visitors to your website to
subscribe and unsubscribe to your mailing list without any work from you.
A security vulnerability in the product allows attackers to execute
arbitrary command or overwrite files by issuing a specially formed HTTP
request.
DETAILS
Vulnerable systems:
Add2it Mailman Free version 1.73
The problem is that the script does not filter input well:
$command = $ENV{'QUERY_STRING'};
($list, $email) = split(/=/,$command);
And then the script makes an open() call based on input from the user:
open(LIST, "${path}data/lists/$list");
There are also open() calls with > and >> which use $list.
The way to exploit this to write to a file would be:
./../../../file=data@to.write
Or for command execution:
./../../../bin/command|=blah@bleh.com
This exploit is for the free version of Add2it Mailman, but the same
vulnerability probably exists in the Pro version as well.
Fix:
Filter meta characters and use < << > >> with open()
Vendor status:
Author was contacted on 1/30/02 and replied the same day stating the
problem would be fixed in the next release.
ADDITIONAL INFORMATION
The information has been provided by <mailto:b0iler@hotmail.com> b0iler
_.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: support@securiteam.com: "[NT] NetWin CWMail.exe Buffer Overflow (item=)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|