#VU45220 Resource management error in PHP - CVE-2011-1148


| Updated: 2020-08-11

Vulnerability identifier: #VU45220

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2011-1148

CWE-ID: CWE-399

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

PHP: 1.0, 2.0b10, 2.0, 3.0 - 3.0.18, 4.0 - 4.0.7, 4.1.0 - 4.1.2, 4.2.0 - 4.2.3, 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.3.0 - 5.3.5


External links
https://bugs.php.net/bug.php?id=54238
https://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
https://marc.info/?l=bugtraq&m=133469208622507&w=2
https://openwall.com/lists/oss-security/2011/03/13/2
https://openwall.com/lists/oss-security/2011/03/13/3
https://openwall.com/lists/oss-security/2011/03/13/9
https://support.apple.com/kb/HT5130
https://www.mandriva.com/security/advisories?name=MDVSA-2011:165
https://www.php.net/archive/2011.php#id2011-08-18-1
https://www.php.net/ChangeLog-5.php#5.3.7
https://www.redhat.com/support/errata/RHSA-2011-1423.html
https://www.securityfocus.com/bid/46843
https://www.securityfocus.com/bid/49241
https://exchange.xforce.ibmcloud.com/vulnerabilities/66080


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability