Perl Unicode regular expressions buffer overflow
| perl-unicode-bo (38270) |
Description:
The Perl regular expression engine is vulnerable to a buffer overflow, caused by improper handling of Unicode encoded data. By passing specially-crafted Unicode data to a regular expression using unspecified attack vectors, a remote attacker could overflow a buffer and execute arbitrary code on the system with the privileges of the Perl application.
Platforms Affected:
- Apple, Mac OS X 10.4.11
- Apple, Mac OS X 10.5.1
- Apple, Mac OS X Server 10.4.11
- Apple, Mac OS X Server 10.5.1
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 6.10
- Canonical, Ubuntu 7.04
- Canonical, Ubuntu 7.10
- Debian, Debian Linux 3.1
- Debian, Debian Linux 4.0
- Gentoo, Linux
- IBM, AIX 5.2
- IBM, AIX 5.3
- IBM, AIX 6.1
- IPCop, IPCop 1.4.20
- Larry Wall, Perl 5.8.8 and prior
- MandrakeSoft, Mandrake Linux 2007 X86_64
- MandrakeSoft, Mandrake Linux 2007
- MandrakeSoft, Mandrake Linux 2007.1
- MandrakeSoft, Mandrake Linux 2007.1 X86_64
- MandrakeSoft, Mandrake Linux 2008.0
- MandrakeSoft, Mandrake Linux 2008.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 4.0
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft, Mandrake Multi Network Firewall 2.0
- OpenPKG, OpenPKG CURRENT
- RedHat, Application Stack v1 for EL AS 4
- RedHat, Application Stack v1 for EL ES 4
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 5 Client
- RedHat, Enterprise Linux 5
- Sun, Solaris 10 x86
- Sun, Solaris 10 SPARC
- SuSE, SuSE Linux
- VMware, ESX Server 3.0.1
- VMware, ESX Server 3.0.2
Remedy:
Upgrade to the latest Development Release of Perl (5.9.5 or later), available from the Perl Web site. See References.
Refer to VMSA-2008-0001 for patch, upgrade, or suggested workaround information, available from the VMware Security-announce Mailing List, Mon Jan 7 17:46:23 PST 2008. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
Gain Access
References:
- Apple Web site, About Security Update 2007-009 at http://docs.info.apple.com/article.html?artnum=307179.
- Apple Web site, About Security Update 2007-009 v1.1 at http://docs.info.apple.com/article.html?artnum=307224.
- BugTraq Mailing List, Mon Dec 17 2007 - 15:47:29 CST, Apple OS X Software Update Remote Command Execution at http://archives.neohapsis.com/archives/bugtraq/2007-12/0217.html.
- HP IT resource center Web site, patch details: T64KIT1001399-V51BB26-ES-20071207 patch details: T64KIT1001399-V51BB26-ES-20071207 at http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=T64KIT1001399-V51BB26-ES-20071207&admit=109447626+1203607867941+28353475.
- HP IT resource center Web site, patch details: PERL_V51BB27-ES-20080207 at http://www12.itrc.hp.com/service/patch/patchDetail.do;HP-ESC-S-WPA-IDX=H9YX0zrRQ41J2QhLn39Z4HK1SdQbXLjRs4Q4Hq1rJCynGJyqPB0g!-1997021009!-1445928563?patchid=perl_V51BB27-ES-20080207&admit=109447627+1203607768204+28353475.
- HPSBTU02311 SSRT080001 rev.1 HPSBTU02311 SSRT080001 rev.1, HP Tru64 UNIX running Perl, Remote Execution of Arbitrary Code at http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01362465.
- IBM - Subscription service - Bulletin, AIX Perl buffer overflow vulnerability at http://www14.software.ibm.com/webapp/set2/subscriptions/ijhifoeblist?mode=7&heading=AIX53&path=%2F200712%2FSECURITY%2F20071218%2Fdatafile114034&label=AIX+Perl+buffer+overflow+vulnerability.
- IBM AIX FTP site, perl_ifix.tar efix at ftp://aix.software.ibm.com/aix/efixes/security/perl_ifix.tar.
- IPCop Web site, IPCop 1.4.21 released at http://www.ipcop.org/index.php?name=News&file=article&sid=41.
- NORTEL BULLETIN ID: 2008009063, Rev 1, Nortel Response to Sun Alert 231524 - Security Vulnerability in Solaris 10 Perl 5.8 at http://support.nortel.com/go/main.jsp?cscat=BLTNDETAIL&id=767139.
- Red Hat Bugzilla Bug 323571, CVE-2007-5116 perl regular expression UTF parsing errors at https://bugzilla.redhat.com/show_bug.cgi?id=323571.
- Security-announce Mailing List, Mon Jan 7 17:46:23 PST 2008 , VMSA-2008-0001 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service console packages at http://lists.vmware.com/pipermail/security-announce/2008/000002.html.
- Sun Alert ID: 231524, Security Vulnerability in Solaris 10 Perl 5.8 at http://sunsolve.sun.com/search/document.do?assetkey=1-66-231524-1.
- The Perl Foundation Web site, The Perl Directory - perl.org at http://www.perl.org/.
- VMware Security-Announce Mailing List, Tue Jan 22 16:42:45 PST 2008, UPDATED VMSA-2008-0001.1 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service console packages at http://lists.vmware.com/pipermail/security-announce/2008/000004.html.
- ASA-2007-477: Perl security update (RHSA-2007-1011)
- ASA-2008-014: Perl security update (RHSA-2007-0966)
- ASA-2008-359: Security Vulnerability in Solaris 10 Perl 5.8 (Sun 231524)
- BID-26350: Perl Unicode Regular Expression Buffer Overflow Vulnerability
- CVE-2007-5116: Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 allows context-dependent attackers to execute arbitrary code by switching from byte to Unicode (UTF) characters in a regular expression.
- DSA-1400: perl -- heap overflow
- GLSA-200711-28: Perl: Buffer overflow
- MDKSA-2007:207: Updated perl packages fix vulnerability
- OpenPKG-SA-2007.023: perl
- RHSA-2007-0966: Important: perl security update
- RHSA-2007-1011: Important: perl security update
- SA27546: Perl Regular Expressions Unicode Data Buffer Overflow
- SA28167: IBM AIX Perl Regular Expressions Unicode Data Buffer Overflow
- SA28368: VMware ESX Server Multiple Security Updates
- SA28387: Avaya Products Perl Regular Expressions Unicode Data Buffer Overflow
- SA28993: HP Tru64 UNIX Perl Regular Expressions Vulnerability
- SA29074: Solaris 10 Perl Regular Expressions Unicode Data Buffer Overflow
- SA31208: IPCop update for perl
- SECTRACK ID: 1018899: Perl Regex Processing Bug May Let Users Execute Arbitrary Code
- SUSE-SR:2007:024: SUSE Security Summary Report
- USN-552-1: Perl vulnerability
- VUPEN/ADV-2007-3724: Perl Regular Expression Engine UTF Parsing Code Execution Vulnerability
- VUPEN/ADV-2007-4238: Apple Mac OS X Code Execution and Information Disclosure Vulnerabilities
- VUPEN/ADV-2007-4255: IBM AIX Security Update Fixes Perl Expression Engine Buffer Overflow
- VUPEN/ADV-2008-0064: VMware ESX Server Code Execution and Security Bypass Vulnerabilities
- VUPEN/ADV-2008-0641: Sun Solaris Perl Regular Expression Engine Buffer Overflow Vulnerability
Reported:
Nov 05, 2007
The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
