Multiple vulnerabilities in PHP



| Updated: 2020-08-11
Risk Medium
Patch available NO
Number of vulnerabilities 2
CVE-ID CVE-2011-1657
CVE-2011-1938
CWE-ID CWE-399
CWE-121
Exploitation vector Network
Public exploit Public exploit code for vulnerability #2 is available.
Vulnerable software
PHP
Universal components / Libraries / Scripting languages

Vendor PHP Group

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Resource management error

EUVDB-ID: #VU44784

Risk: Medium

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

CVE-ID: CVE-2011-1657

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

The (1) ZipArchive::addGlob and (2) ZipArchive::addPattern functions in ext/zip/php_zip.c in PHP 5.3.6 allow context-dependent attackers to cause a denial of service (application crash) via certain flags arguments, as demonstrated by (a) GLOB_ALTDIRFUNC and (b) GLOB_APPEND.

Mitigation

Install update from vendor's website.

Vulnerable software versions

PHP: 5.3.6

CPE2.3 External links

https://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
https://securityreason.com/achievement_securityalert/100
https://securityreason.com/securityalert/8342
https://support.apple.com/kb/HT5130
https://svn.php.net/viewvc/?view=revision&revision=310814
https://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/zip/php_zip.c?view=log
https://www.mandriva.com/security/advisories?name=MDVSA-2011:165
https://www.openwall.com/lists/oss-security/2011/07/01/6
https://www.openwall.com/lists/oss-security/2011/07/01/7
https://www.openwall.com/lists/oss-security/2011/07/01/8
https://www.securityfocus.com/archive/1/519385/100/0/threaded
https://www.securityfocus.com/bid/49252
https://bugs.php.net/bug.php?id=54681
https://exchange.xforce.ibmcloud.com/vulnerabilities/69320


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.

2) Stack-based buffer overflow

EUVDB-ID: #VU45008

Risk: Medium

CVSSv4.0: 5.5 [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:P/U:Green]

CVE-ID: CVE-2011-1938

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing a long pathname for a UNIX socket. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

PHP: 5.3.3 - 5.3.6

CPE2.3
External links

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/05/24/1
https://openwall.com/lists/oss-security/2011/05/24/9
https://osvdb.org/72644
https://securityreason.com/securityalert/8262
https://securityreason.com/securityalert/8294
https://support.apple.com/kb/HT5130
https://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369
https://svn.php.net/viewvc?view=revision&revision=311369
https://www.debian.org/security/2012/dsa-2399
https://www.exploit-db.com/exploits/17318/
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/49241
https://exchange.xforce.ibmcloud.com/vulnerabilities/67606


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. However, proof of concept for this vulnerability is available.



###SIDEBAR###