ID CVE-2009-0754
Summary PHP 4.4.4, 5.1.6, and other versions, when running on Apache, allows local users to modify behavior of other sites hosted on the same web server by modifying the mbstring.func_overload setting within .htaccess, which causes this setting to be applied to other virtual hosts on the same server.
References
Vulnerable Configurations
  • cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:apache:*:*:*:*:*:*:*:*
    cpe:2.3:a:apache:apache:*:*:*:*:*:*:*:*
CVSS
Base: 2.1 (as of 03-10-2018 - 21:58)
Impact:
Exploitability:
CWE CWE-134
CAPEC
  • Format String Injection
    An attacker includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An attacker can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the attacker can write to the program stack.
  • String Format Overflow in syslog()
    This attack targets the format string vulnerabilities in the syslog() function. An attacker would typically inject malicious input in the format string parameter of the syslog function. This is a common problem, and many public vulnerabilities and associated exploits have been posted.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
cvss-vector via4 AV:L/AC:L/Au:N/C:N/I:P/A:N
oval via4
accepted 2013-04-29T04:10:56.367-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 3
    oval oval:org.mitre.oval:def:11782
  • comment CentOS Linux 3.x
    oval oval:org.mitre.oval:def:16651
  • comment The operating system installed on the system is Red Hat Enterprise Linux 4
    oval oval:org.mitre.oval:def:11831
  • comment CentOS Linux 4.x
    oval oval:org.mitre.oval:def:16636
  • comment Oracle Linux 4.x
    oval oval:org.mitre.oval:def:15990
  • comment The operating system installed on the system is Red Hat Enterprise Linux 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
description PHP 4.4.4, 5.1.6, and other versions, when running on Apache, allows local users to modify behavior of other sites hosted on the same web server by modifying the mbstring.func_overload setting within .htaccess, which causes this setting to be applied to other virtual hosts on the same server.
family unix
id oval:org.mitre.oval:def:11035
status accepted
submitted 2010-07-09T03:56:16-04:00
title PHP 4.4.4, 5.1.6, and other versions, when running on Apache, allows local users to modify behavior of other sites hosted on the same web server by modifying the mbstring.func_overload setting within .htaccess, which causes this setting to be applied to other virtual hosts on the same server.
version 24
redhat via4
advisories
  • bugzilla
    id 479272
    title CVE-2009-0754 PHP mbstring.func_overload web server denial of service
    oval
    OR
    • AND
      • comment Red Hat Enterprise Linux 3 is installed
        oval oval:com.redhat.rhba:tst:20070026001
      • OR
        • AND
          • comment php is earlier than 0:4.3.2-51.ent
            oval oval:com.redhat.rhsa:tst:20090337002
          • comment php is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730003
        • AND
          • comment php-devel is earlier than 0:4.3.2-51.ent
            oval oval:com.redhat.rhsa:tst:20090337012
          • comment php-devel is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730007
        • AND
          • comment php-imap is earlier than 0:4.3.2-51.ent
            oval oval:com.redhat.rhsa:tst:20090337004
          • comment php-imap is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730009
        • AND
          • comment php-ldap is earlier than 0:4.3.2-51.ent
            oval oval:com.redhat.rhsa:tst:20090337014
          • comment php-ldap is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730015
        • AND
          • comment php-mysql is earlier than 0:4.3.2-51.ent
            oval oval:com.redhat.rhsa:tst:20090337010
          • comment php-mysql is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730005
        • AND
          • comment php-odbc is earlier than 0:4.3.2-51.ent
            oval oval:com.redhat.rhsa:tst:20090337008
          • comment php-odbc is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730013
        • AND
          • comment php-pgsql is earlier than 0:4.3.2-51.ent
            oval oval:com.redhat.rhsa:tst:20090337006
          • comment php-pgsql is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730011
    • AND
      • comment Red Hat Enterprise Linux 4 is installed
        oval oval:com.redhat.rhba:tst:20070304001
      • OR
        • AND
          • comment php is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337017
          • comment php is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730003
        • AND
          • comment php-devel is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337024
          • comment php-devel is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730007
        • AND
          • comment php-domxml is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337021
          • comment php-domxml is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730021
        • AND
          • comment php-gd is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337019
          • comment php-gd is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730032
        • AND
          • comment php-imap is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337018
          • comment php-imap is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730009
        • AND
          • comment php-ldap is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337025
          • comment php-ldap is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730015
        • AND
          • comment php-mbstring is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337031
          • comment php-mbstring is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730025
        • AND
          • comment php-mysql is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337023
          • comment php-mysql is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730005
        • AND
          • comment php-ncurses is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337036
          • comment php-ncurses is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730027
        • AND
          • comment php-odbc is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337030
          • comment php-odbc is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730013
        • AND
          • comment php-pear is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337026
          • comment php-pear is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730035
        • AND
          • comment php-pgsql is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337033
          • comment php-pgsql is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730011
        • AND
          • comment php-snmp is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337034
          • comment php-snmp is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730023
        • AND
          • comment php-xmlrpc is earlier than 0:4.3.9-3.22.15
            oval oval:com.redhat.rhsa:tst:20090337028
          • comment php-xmlrpc is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060730019
    rhsa
    id RHSA-2009:0337
    released 2009-04-06
    severity Moderate
    title RHSA-2009:0337: php security update (Moderate)
  • bugzilla
    id 480167
    title CVE-2008-5814 php: XSS via PHP error messages
    oval
    AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • OR
      • AND
        • comment php is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338002
        • comment php is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082003
      • AND
        • comment php-bcmath is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338024
        • comment php-bcmath is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082011
      • AND
        • comment php-cli is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338012
        • comment php-cli is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082019
      • AND
        • comment php-common is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338036
        • comment php-common is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082009
      • AND
        • comment php-dba is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338022
        • comment php-dba is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082007
      • AND
        • comment php-devel is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338008
        • comment php-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082021
      • AND
        • comment php-gd is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338014
        • comment php-gd is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082035
      • AND
        • comment php-imap is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338034
        • comment php-imap is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082031
      • AND
        • comment php-ldap is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338038
        • comment php-ldap is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082029
      • AND
        • comment php-mbstring is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338026
        • comment php-mbstring is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082033
      • AND
        • comment php-mysql is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338032
        • comment php-mysql is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082025
      • AND
        • comment php-ncurses is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338018
        • comment php-ncurses is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082013
      • AND
        • comment php-odbc is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338010
        • comment php-odbc is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082037
      • AND
        • comment php-pdo is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338030
        • comment php-pdo is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082027
      • AND
        • comment php-pgsql is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338020
        • comment php-pgsql is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082023
      • AND
        • comment php-snmp is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338006
        • comment php-snmp is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082017
      • AND
        • comment php-soap is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338016
        • comment php-soap is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082015
      • AND
        • comment php-xml is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338028
        • comment php-xml is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082039
      • AND
        • comment php-xmlrpc is earlier than 0:5.1.6-23.2.el5_3
          oval oval:com.redhat.rhsa:tst:20090338004
        • comment php-xmlrpc is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070082005
    rhsa
    id RHSA-2009:0338
    released 2009-04-06
    severity Moderate
    title RHSA-2009:0338: php security update (Moderate)
  • rhsa
    id RHSA-2009:0350
rpms
  • php-0:4.3.2-51.ent
  • php-devel-0:4.3.2-51.ent
  • php-imap-0:4.3.2-51.ent
  • php-ldap-0:4.3.2-51.ent
  • php-mysql-0:4.3.2-51.ent
  • php-odbc-0:4.3.2-51.ent
  • php-pgsql-0:4.3.2-51.ent
  • php-0:4.3.9-3.22.15
  • php-devel-0:4.3.9-3.22.15
  • php-domxml-0:4.3.9-3.22.15
  • php-gd-0:4.3.9-3.22.15
  • php-imap-0:4.3.9-3.22.15
  • php-ldap-0:4.3.9-3.22.15
  • php-mbstring-0:4.3.9-3.22.15
  • php-mysql-0:4.3.9-3.22.15
  • php-ncurses-0:4.3.9-3.22.15
  • php-odbc-0:4.3.9-3.22.15
  • php-pear-0:4.3.9-3.22.15
  • php-pgsql-0:4.3.9-3.22.15
  • php-snmp-0:4.3.9-3.22.15
  • php-xmlrpc-0:4.3.9-3.22.15
  • php-0:5.1.6-23.2.el5_3
  • php-bcmath-0:5.1.6-23.2.el5_3
  • php-cli-0:5.1.6-23.2.el5_3
  • php-common-0:5.1.6-23.2.el5_3
  • php-dba-0:5.1.6-23.2.el5_3
  • php-devel-0:5.1.6-23.2.el5_3
  • php-gd-0:5.1.6-23.2.el5_3
  • php-imap-0:5.1.6-23.2.el5_3
  • php-ldap-0:5.1.6-23.2.el5_3
  • php-mbstring-0:5.1.6-23.2.el5_3
  • php-mysql-0:5.1.6-23.2.el5_3
  • php-ncurses-0:5.1.6-23.2.el5_3
  • php-odbc-0:5.1.6-23.2.el5_3
  • php-pdo-0:5.1.6-23.2.el5_3
  • php-pgsql-0:5.1.6-23.2.el5_3
  • php-snmp-0:5.1.6-23.2.el5_3
  • php-soap-0:5.1.6-23.2.el5_3
  • php-xml-0:5.1.6-23.2.el5_3
  • php-xmlrpc-0:5.1.6-23.2.el5_3
refmap via4
confirm http://bugs.php.net/bug.php?id=27421
debian DSA-1789
fedora
  • FEDORA-2009-3768
  • FEDORA-2009-3848
mlist
  • [oss-security] 20090130 CVE Request - php (PHP BZ#27421)
  • [oss-security] 20090203 Re: CVE Request - php (PHP BZ#27421)
  • [oss-security] 20090225 Re: CVE Request - php (PHP BZ#27421)
sectrack 1021979
secunia
  • 34642
  • 34830
  • 35003
  • 35007
  • 35306
suse SUSE-SR:2009:008
ubuntu USN-761-1
Last major update 03-10-2018 - 21:58
Published 03-03-2009 - 16:30
Back to Top