Rapid7 VulnDB

HP-UX: CVE-2012-2311: Apache Web Server running PHP, Remote Execution of Arbitrary Code, Privilege Elevation, Denial of Service (DoS)

Back to Search

HP-UX: CVE-2012-2311: Apache Web Server running PHP, Remote Execution of Arbitrary Code, Privilege Elevation, Denial of Service (DoS)

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
05/11/2012
Created
07/25/2018
Added
08/11/2017
Modified
01/19/2018

Description

sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that contain a %3D sequence but no = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.

Solution(s)

  • hpux-update-hpuxws22apache-apache
  • hpux-update-hpuxws22apache-apache2
  • hpux-update-hpuxws22apache-auth_ldap
  • hpux-update-hpuxws22apache-auth_ldap2
  • hpux-update-hpuxws22apache-mod_jk
  • hpux-update-hpuxws22apache-mod_jk2
  • hpux-update-hpuxws22apache-mod_perl
  • hpux-update-hpuxws22apache-mod_perl2
  • hpux-update-hpuxws22apache-php
  • hpux-update-hpuxws22apache-php2
  • hpux-update-hpuxws22apache-webproxy
  • hpux-update-hpuxws22apache-webproxy2
  • hpux-update-hpuxws22apch32-apache
  • hpux-update-hpuxws22apch32-apache2
  • hpux-update-hpuxws22apch32-auth_ldap
  • hpux-update-hpuxws22apch32-auth_ldap2
  • hpux-update-hpuxws22apch32-mod_jk
  • hpux-update-hpuxws22apch32-mod_jk2
  • hpux-update-hpuxws22apch32-mod_perl
  • hpux-update-hpuxws22apch32-mod_perl2
  • hpux-update-hpuxws22apch32-php
  • hpux-update-hpuxws22apch32-php2
  • hpux-update-hpuxws22apch32-webproxy
  • hpux-update-hpuxws22apch32-webproxy2
  • hpux-update-hpuxwsapache-apache
  • hpux-update-hpuxwsapache-apache2
  • hpux-update-hpuxwsapache-auth_ldap
  • hpux-update-hpuxwsapache-auth_ldap2
  • hpux-update-hpuxwsapache-mod_jk
  • hpux-update-hpuxwsapache-mod_jk2
  • hpux-update-hpuxwsapache-mod_perl
  • hpux-update-hpuxwsapache-mod_perl2
  • hpux-update-hpuxwsapache-php
  • hpux-update-hpuxwsapache-php2
  • hpux-update-hpuxwsapache-webproxy

References

  • hpux-update-hpuxws22apache-apache
  • hpux-update-hpuxws22apache-apache2
  • hpux-update-hpuxws22apache-auth_ldap
  • hpux-update-hpuxws22apache-auth_ldap2
  • hpux-update-hpuxws22apache-mod_jk
  • hpux-update-hpuxws22apache-mod_jk2
  • hpux-update-hpuxws22apache-mod_perl
  • hpux-update-hpuxws22apache-mod_perl2
  • hpux-update-hpuxws22apache-php
  • hpux-update-hpuxws22apache-php2
  • hpux-update-hpuxws22apache-webproxy
  • hpux-update-hpuxws22apache-webproxy2
  • hpux-update-hpuxws22apch32-apache
  • hpux-update-hpuxws22apch32-apache2
  • hpux-update-hpuxws22apch32-auth_ldap
  • hpux-update-hpuxws22apch32-auth_ldap2
  • hpux-update-hpuxws22apch32-mod_jk
  • hpux-update-hpuxws22apch32-mod_jk2
  • hpux-update-hpuxws22apch32-mod_perl
  • hpux-update-hpuxws22apch32-mod_perl2
  • hpux-update-hpuxws22apch32-php
  • hpux-update-hpuxws22apch32-php2
  • hpux-update-hpuxws22apch32-webproxy
  • hpux-update-hpuxws22apch32-webproxy2
  • hpux-update-hpuxwsapache-apache
  • hpux-update-hpuxwsapache-apache2
  • hpux-update-hpuxwsapache-auth_ldap
  • hpux-update-hpuxwsapache-auth_ldap2
  • hpux-update-hpuxwsapache-mod_jk
  • hpux-update-hpuxwsapache-mod_jk2
  • hpux-update-hpuxwsapache-mod_perl
  • hpux-update-hpuxwsapache-mod_perl2
  • hpux-update-hpuxwsapache-php
  • hpux-update-hpuxwsapache-php2
  • hpux-update-hpuxwsapache-webproxy

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;