CVE-2011-1148

Current Description

Use-after-free vulnerability in the substr_replace function in PHP 5.3.6 and earlier allows context-dependent attackers to cause a denial of service (memory corruption) or possibly have unspecified other impact by using the same variable for multiple arguments.

Basic Data

PublishedMarch 18, 2011
Last ModifiedOctober 30, 2018
Assignercve@mitre.org
Data TypeCVE
Data FormatMITRE
Data Version4.0
Problem TypeCWE-399
CVE Data Version4.0

Base Metric V2

CVSS 2 - Version2.0
CVSS 2 - Vector StringAV:N/AC:L/Au:N/C:P/I:P/A:P
CVSS 2 - Access VectorNETWORK
CVSS 2 - Access ComplexityLOW
CVSS 2 - AuthenticationNONE
CVSS 2 - Confidentiality ImpactPARTIAL
CVSS 2 - Availability ImpactPARTIAL
CVSS 2 - Base Score7.5
SeverityHIGH
Exploitability Score10.0
Impact Score6.4
Obtain All Privilegefalse
Obtain User Privilegefalse
Obtain Other Privilegefalse

Base Metric V3

No data provided.

Configurations

  • OR - Configuration 1
    Cpe VersionPartVendorProductVersionUpdateEditionLanguageSW EditionTarget SWTarget HWOtherVersion Start IncludingVersion End IncludingVersion Start ExcludingVersion End Excluding
    2.3ApplicationPhpPhp1.0*******
    2.3ApplicationPhpPhp2.0*******
    2.3ApplicationPhpPhp2.0b10*******
    2.3ApplicationPhpPhp3.0*******
    2.3ApplicationPhpPhp3.0.1*******
    2.3ApplicationPhpPhp3.0.2*******
    2.3ApplicationPhpPhp3.0.3*******
    2.3ApplicationPhpPhp3.0.4*******
    2.3ApplicationPhpPhp3.0.5*******
    2.3ApplicationPhpPhp3.0.6*******
    2.3ApplicationPhpPhp3.0.7*******
    2.3ApplicationPhpPhp3.0.8*******
    2.3ApplicationPhpPhp3.0.9*******
    2.3ApplicationPhpPhp3.0.10*******
    2.3ApplicationPhpPhp3.0.11*******
    2.3ApplicationPhpPhp3.0.12*******
    2.3ApplicationPhpPhp3.0.13*******
    2.3ApplicationPhpPhp3.0.14*******
    2.3ApplicationPhpPhp3.0.15*******
    2.3ApplicationPhpPhp3.0.16*******
    2.3ApplicationPhpPhp3.0.17*******
    2.3ApplicationPhpPhp3.0.18*******
    2.3ApplicationPhpPhp4.0*******
    2.3ApplicationPhpPhp4.0beta1******
    2.3ApplicationPhpPhp4.0beta2******
    2.3ApplicationPhpPhp4.0beta3******
    2.3ApplicationPhpPhp4.0beta4******
    2.3ApplicationPhpPhp4.0beta_4_patch1******
    2.3ApplicationPhpPhp4.0.0*******
    2.3ApplicationPhpPhp4.0.1*******
    2.3ApplicationPhpPhp4.0.2*******
    2.3ApplicationPhpPhp4.0.3*******
    2.3ApplicationPhpPhp4.0.4*******
    2.3ApplicationPhpPhp4.0.5*******
    2.3ApplicationPhpPhp4.0.6*******
    2.3ApplicationPhpPhp4.0.7*******
    2.3ApplicationPhpPhp4.1.0*******
    2.3ApplicationPhpPhp4.1.1*******
    2.3ApplicationPhpPhp4.1.2*******
    2.3ApplicationPhpPhp4.2.0*******
    2.3ApplicationPhpPhp4.2.1*******
    2.3ApplicationPhpPhp4.2.2*******
    2.3ApplicationPhpPhp4.2.3*******
    2.3ApplicationPhpPhp4.3.0*******
    2.3ApplicationPhpPhp4.3.1*******
    2.3ApplicationPhpPhp4.3.2*******
    2.3ApplicationPhpPhp4.3.3*******
    2.3ApplicationPhpPhp4.3.4*******
    2.3ApplicationPhpPhp4.3.5*******
    2.3ApplicationPhpPhp4.3.6*******
    2.3ApplicationPhpPhp4.3.7*******
    2.3ApplicationPhpPhp4.3.8*******
    2.3ApplicationPhpPhp4.3.9*******
    2.3ApplicationPhpPhp4.3.10*******
    2.3ApplicationPhpPhp4.3.11*******
    2.3ApplicationPhpPhp4.4.0*******
    2.3ApplicationPhpPhp4.4.1*******
    2.3ApplicationPhpPhp4.4.2*******
    2.3ApplicationPhpPhp4.4.3*******
    2.3ApplicationPhpPhp4.4.4*******
    2.3ApplicationPhpPhp4.4.5*******
    2.3ApplicationPhpPhp4.4.6*******
    2.3ApplicationPhpPhp4.4.7*******
    2.3ApplicationPhpPhp4.4.8*******
    2.3ApplicationPhpPhp4.4.9*******
    2.3ApplicationPhpPhp5.3.0*******
    2.3ApplicationPhpPhp5.3.1*******
    2.3ApplicationPhpPhp5.3.2*******
    2.3ApplicationPhpPhp5.3.3*******
    2.3ApplicationPhpPhp5.3.4*******
    2.3ApplicationPhpPhp5.3.5*******
    2.3ApplicationPhpPhp********5.3.6

Vulnerable Software List

VendorProductVersions
Php Php *, 1.0, 2.0, 2.0b10, 3.0, 3.0.1, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.15, 3.0.16, 3.0.17, 3.0.18, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 4.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.3.10, 4.3.11, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 4.3.8, 4.3.9, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 4.4.7, 4.4.8, 4.4.9, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.3.5

References

NameSourceURLTags
http://bugs.php.net/bug.php?id=54238http://bugs.php.net/bug.php?id=54238CONFIRM
APPLE-SA-2012-02-01-1http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.htmlAPPLE
SSRT100826http://marc.info/?l=bugtraq&m=133469208622507&w=2HP
[oss-security] 20110313 CVE request: PHP substr_replace() use-after-freehttp://openwall.com/lists/oss-security/2011/03/13/2MLIST
[oss-security] 20110313 Re: CVE request: PHP substr_replace() use-after-freehttp://openwall.com/lists/oss-security/2011/03/13/3MLIST
[oss-security] 20110313 Re: CVE request: PHP substr_replace() use-after-freehttp://openwall.com/lists/oss-security/2011/03/13/9MLIST
http://support.apple.com/kb/HT5130http://support.apple.com/kb/HT5130CONFIRM
MDVSA-2011:165http://www.mandriva.com/security/advisories?name=MDVSA-2011:165MANDRIVA
http://www.php.net/archive/2011.php#id2011-08-18-1http://www.php.net/archive/2011.php#id2011-08-18-1CONFIRM
http://www.php.net/ChangeLog-5.php#5.3.7http://www.php.net/ChangeLog-5.php#5.3.7CONFIRM
RHSA-2011:1423http://www.redhat.com/support/errata/RHSA-2011-1423.htmlREDHAT
46843http://www.securityfocus.com/bid/46843BID
49241http://www.securityfocus.com/bid/49241BID
php-substrreplace-code-exec(66080)https://exchange.xforce.ibmcloud.com/vulnerabilities/66080XF