PCRE \Q\E regular expressions code execution

pcre-regex-code-execution (38272) The risk level is classified as HighHigh Risk

Description:

The PCRE (Perl Compatible Regular Expressions) library could allow a remote attacker to execute arbitrary code on the system, caused by improper handling of "\Q\E" sequences containing orphaned "\E" codes. By passing specially-crafted data to an application linked to the vulnerable library, a remote attacker could exploit this vulnerability to execute arbitrary code with the privileges of the application.

Platforms Affected:

  • Apple, Mac OS X 10.4.11
  • Apple, Mac OS X 10.5.2
  • Apple, Mac OS X Server 10.4.11
  • Apple, Mac OS X Server 10.5.2
  • 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
  • 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 Corporate Server 3.0
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft, Mandrake Multi Network Firewall 2.0
  • Novell, Linux Desktop 9
  • Novell, Linux Desktop 9 SDK
  • Novell, Linux POS 9
  • Novell, Open Enterprise Server
  • Novell, Open Enterprise Server
  • Novell, OpenSUSE 10.2
  • Novell, OpenSUSE 10.3
  • Novell, SLE SDK 10 SP1
  • Novell, SUSE Linux Enterprise Desktop 10 SP1
  • Novell, SUSE Linux Enterprise Server 10
  • Novell, SUSE Linux Enterprise Server 10 SP1
  • Novell, UnitedLinux 1.0
  • Philip Hazel, PCRE 7.3 and prior
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 5 Client
  • RedHat, Enterprise Linux 5 Client Workstation
  • RedHat, Enterprise Linux 5
  • SuSE, Linux Enterprise Server 8
  • SuSE, SLE SDK 10
  • SuSE, SuSE Linux 10.0
  • SuSE, SuSE Linux 10.1
  • SuSE, SuSE Linux OpenExchange Server 4
  • SuSE, SuSE Linux Retail Solution 8
  • SuSE, SuSE Linux School Server
  • SuSE, SuSE Linux Standard Server 8
  • SuSE, SuSE SLES 9

Remedy:

Upgrade to the latest version of PCRE (7.4 or later), available from the PCRE Web site. See References.

For Mac OS X:
Apply Security Update 2008-002, available from the Apple Web site. See References.

For other distributions:
Apply the appropriate update for your system. See References.

Consequences:

Gain Access

References:

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

Return to the main page