Secunia Logo
Netsikker nu! 2008
 
Perl win32_stat Function Buffer Overflow Vulnerability
Secunia Advisory: SA11298
Release Date: 2004-04-06
Popularity: 7,949 views

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:ActivePerl 5.x
Perl 5.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2004-0377


Description:
iDEFENSE has discovered a vulnerability in Perl and ActivePerl, which potentially can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to a boundary error within the "win32_stat()" function. This can be exploited to cause a buffer overflow by passing an overly long filename with a backslash appended at the end to the function.

Successful exploitation may allow execution of arbitrary code on a system where it is possible for a person to supply a specially crafted pathname to a Perl script (e.g. on a web server).

The vulnerability has been reported in Perl 5.8.3 and prior for Windows.

Solution:
The vulnerability will reportedly be fixed in Perl 5.8.4.

Patches are available for ActivePerl.

Perl 5.9.x development branch:
http://public.activestate.com/cgi-bin/perlbrowse?patch=22466

Perl 5.8.x maintenance branch:
http://public.activestate.com/cgi-bin/perlbrowse?patch=22552

Provided and/or discovered by:
Greg MacManus, iDEFENSE Labs.

Original Advisory:
http://www.idefense.com/application/poi/display?id=93&type=vulnerabilities


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. CA ARCserve Backup Multiple Vulnerabilities // 33 views
2. Subdreamer Light Global Variables SQL Injection Vulnerability // 30 views
3. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 30 views
4. CUPS Multiple Vulnerabilities // 29 views
5. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 29 views
6. Fedora update for ruby // 24 views
7. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 23 views
8. Fedora update for dbus // 22 views
9. Gentoo Portage Insecure Python Module Search Path Security Issue // 22 views
10. FUJITSU Interstage Products Apache Tomcat Security Bypass // 21 views