[NT] ActivePerl PerlIS.dll Remote Buffer Overflow Vulnerability
From: support@securiteam.comDate: 11/18/01
- Previous message: support@securiteam.com: "[NEWS] ICMP Unreachable Vulnerability in Cisco 12000 Series Internet Router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: support@securiteam.com To: list@securiteam.com Subject: [NT] ActivePerl PerlIS.dll Remote Buffer Overflow Vulnerability Message-Id: <20011118214313.AFF8C138BF@mail.der-keiler.de> Date: Sun, 18 Nov 2001 22:43:13 +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.
- - - - - - - - -
ActivePerl PerlIS.dll Remote Buffer Overflow Vulnerability
------------------------------------------------------------------------
SUMMARY
The NSFOCUS Security Team has found an exploitable buffer overflow
vulnerability in the dynamic link library perlIS.dll of ActivePerl. The
overflow occurs whenever it handles an overly long filename. Exploitation
of this vulnerability would allow an attacker to execute arbitrary code.
DETAILS
Vulnerable systems:
ActiveState ActivePerl 5.6.1.629 and earlier versions
Immune systems:
ActiveState ActivePerl 5.6.1.630
ActivePerl is a binary package of Perl for Linux, Solaris or Windows
developed by ActiveState. ActivePerl for Windows utilizes a dynamic link
library called perlIS.dll, which is a ISAPI extension to that provides a
Perl interface
PerlIS.dll handles Perl script request sent to it by the user without
adequate length checking of the provided filename. If an attacker sends an
overlong URL request, PerlIS would call the strcpy() function and copy the
provided filename to a stack buffer, which would trigger a buffer
overflow. With well-crafted URL request, the attacker is able to execute
arbitrary code.
Exploiting this vulnerability successfully, would yield an attack with
access of IWAM_machinename account under IIS 5.0 and Local SYSTEM
privileges under IIS 4.0.
Exploit:
$ lynx http://host/cgi-bin/`perl -e 'print "A" x 360'`.pl
Would result in:
The remote procedure call failed.
Workaround:
Edit "perlIS.dll" ISAPI extension in Internet Service Manager and check
"Check that file exists" option.
Vendor status:
Latest version of ActivePerl is available at:
<http://www.activestate.com/Products/ActivePerl/download.plex>
http://www.activestate.com/Products/ActivePerl/download.plex
ADDITIONAL INFORMATION
The information has been provided by <mailto:security@nsfocus.com>
Nsfocus Security Team.
========================================
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: "[NEWS] ICMP Unreachable Vulnerability in Cisco 12000 Series Internet Router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|