Sun Microsystems

Security Vulnerabilities in the Apache 2 "mod_perl2" Module Components "PerlRun.pm" and "Status.pm" May Lead to Denial of Service (DoS) or Unauthorized Access to Data

10 november, 2009

Category : Security
Release Phase : Preliminary
Bug Id : 6835110, 6867394  
Product : Solaris 10 Operating System
OpenSolaris  

Two security vulnerabilities exist in the Apache 2 ...



1. Impact

Two security vulnerabilities exist in the Apache 2 mod_perl2(3) module
components which affect the Apache 2.0 web server bundled with Solaris
10 and the Apache 2.2 web server bundled with OpenSolaris.

The first issue, a Denial of Service (DoS) vulnerability in the "RunPerl.pm"
component (CVE-2007-1349), may allow a remote unprivileged user to
cause a Denial of Service to the Apache 2 "httpd" process.

The second issue, a Cross Site Scripting (CSS or XSS) vulnerability in the
"Status.pm" component (CVE-2009-0796), may allow a remote unprivileged
user to inject arbitrary web script or HTML. This may allow the unprivileged
user to bypass access control and gain access to unauthorized data.

Additional information regarding these issues is available at:

CVE-2007-1349 at:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1349

CVE-2009-0796 at:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0796




2. Contributing Factors

These issues can occur in the following releases:

SPARC Platform

  • Solaris 10
  • OpenSolaris based upon builds snv_01 through snv_123

x86 Platform

  • Solaris 10
  • OpenSolaris based upon builds snv_01 through snv_123

Note 1: OpenSolaris distributions may include additional bug fixes above
and beyond the build from which it was derived. To determine the base
build of OpenSolaris, the following command can be used:

$ uname -v
snv_111

Note 2: Solaris 8 and Solaris 9 do not include support for Apache 2
web server and so they are not impacted by these issues.

Note 3: A system is only vulnerable to the described issues if the
Apache 2 web server has been configured and is running on the system.

The following SMF command can be used to see if the Solaris 10 bundled
Apache 2.0 web server service is enabled:

$ svcs svc:/network/http:apache2
STATE STIME FMRI
disabled Feb_02 svc:/network/http:apache2

The following SMF command can be used to see if the OpenSolaris bundled
Apache 2.2 web server service is enabled:

$ svcs svc:/network/http:apache22
STATE STIME FMRI
disabled Feb_02 svc:/network/http:apache22

Note 4: First vulnerability (CVE-2007-1349) only affects systems which
make use of the Apache 2 Server mod_perl2(3) (PerlRun.pm) component.

To determine if the "PerlRun.pm" component is used, the following
command can be run for all configuration files that define the running
Apache 2 configurations:

For Solaris 10:

$ grep PerlResponseHandler /etc/apache2/httpd.conf | grep ModPerl::PerlRun
PerlResponseHandler ModPerl::PerlRun

For OpenSolaris:

$ grep PerlResponseHandler /etc/apache2/2.2/httpd.conf | grep ModPerl::PerlRun
PerlResponseHandler ModPerl::PerlRun

Note 5: Second vulnerability (CVE-2009-0796) only affects systems which
make use of the Apache 2 Server mod_perl2(3) (Status.pm) component.

To determine if the "Status.pm" component is used, the following command
can be run for all configuration files that define the running Apache 2 configurations:

For Solaris 10:

$ grep Apache2::Status /etc/apache2/httpd.conf
PerlResponseHandler Apache2::Status

For OpenSolaris:

$ grep Apache2::Status /etc/apache2/2.2/httpd.conf
PerlResponseHandler Apache2::Status



3. Symptoms

If the first issue (CVE-2007-1349) is exploited, the Apache 2 web server
may be unresponsive, possibly consuming all available CPU resources.
Commands such as prstat(1M) can be used to determine the utilization of
system resources:

$ prstat -s cpu
[...]

There are no predictable symptoms that would indicate that the second
issue (CVE-2009-0796) has been exploited.



4. Workaround

To work around the described issues, do not configure the mod_perl2(3)
components PerlRun.pm and Status.pm in the Apache 2 "httpd.conf" file.
This may be done by commenting the corresponding sections in the file
("ModPerl::PerlRun" and "Apache2::Status").



5. Resolution

This issues are resolved in the following releases:

SPARC Platform

  • OpenSolaris based upon builds snv_124 or later

x86 Platform

  • OpenSolaris based upon builds snv_124 or later


A final resolution is pending completion for Solaris 10.

For more information on Security Sun Alerts, see Technical Instruction ID 213557:
http://sunsolve.sun.com/search/document.do?assetkey=1-61-213557-1


This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements.

Copyright 2000-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.

CVE-2012-0834

Cross-site scripting (XSS) vulnerability in lib/QueryRender.php in phpLDAPadmin 1.2.2 and earlier allows remote attackers to inject arbitrary web script or HTML via the base parameter in a query_engine action to cmd.php.

10 february, 2012

CVE-2012-0452

Use-after-free vulnerability in Mozilla Firefox 10.x before 10.0.1, Thunderbird 10.x before 10.0.1, and SeaMonkey 2.7 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via vectors that trig ...

10 february, 2012

CVE-2012-0840

tables/apr_hash.c in the Apache Portable Runtime (APR) library through 1.4.5 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CP ...

10 february, 2012

CVE-2012-0831

PHP before 5.3.10 does not properly perform a temporary change to the magic_quotes_gpc directive during the importing of environment variables, which makes it easier for remote attackers to conduct SQL injection attacks via a crafted request, related to m ...

10 february, 2012

CVE-2011-4534

ZenSysSrv.exe in Ing. Punzenberger COPA-DATA zenon 6.51 SP0 allows remote attackers to cause a denial of service (service crash) or possibly execute arbitrary code via a series of connections and disconnections on TCP port 1101, aka Reference Numb ...

10 february, 2012

CVE-2011-4533

zenAdminSrv.exe in Ing. Punzenberger COPA-DATA zenon 6.51 SP0 allows remote attackers to cause a denial of service (daemon crash) or possibly execute arbitrary code via a crafted packet to TCP port 50777, aka Reference Number 25240.

10 february, 2012

CVE-2011-4039

Invensys Wonderware HMI Reports 3.42.835.0304 and earlier, as used in Ocean Data Systems Dream Report before 4.0 and other products, allows user-assisted remote attackers to execute arbitrary code via a malformed file that triggers a "write access vi ...

10 february, 2012

CVE-2011-4038

Cross-site scripting (XSS) vulnerability in Invensys Wonderware HMI Reports 3.42.835.0304 and earlier, as used in Ocean Data Systems Dream Report before 4.0 and other products, allows remote attackers to inject arbitrary web script or HTML via uns ...

10 february, 2012

CVE-2012-1046

Cross-site scripting (XSS) vulnerability in TM1 Web in IBM Cognos TM1 9.5.2 FP1 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors, a different vulnerability than CVE-2012-0696.

10 february, 2012

CVE-2011-3972

The shader translator implementation in Google Chrome before 17.0.963.46 allows remote attackers to cause a denial of service (out-of-bounds read) via unspecified vectors.

08 february, 2012

MS12-004 midiOutPlayNextPolyEvent Heap Overflow Exploit

Target: Microsoft Windows Media
Impact: Code execution

ActFax Server FTP RETR Remote Buffer Overflow Exploit

Target: ActFax Server 4.27 Build 0223 and previous versions
Impact: Arbitrary commands execution

ActFax Server (LPD/LPR) Remote Buffer Overflow Exploit

Target: ActFax Server 4.27 Build 0223 and previous versions
Impact: Arbitrary commands execution