7870 : PHP memory_limit Function Arbitrary Code Execution
Printer | http://osvdb.org/7870 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
4 1347 almost 10 years ago over 3 years ago 4 times 90%

Timeline

Disclosure Date
2004-07-14
Time to Exploit
152 days

Description

The PHP memory_limit function contains a flaw that may allow a malicious user to remotely execute arbitrary code. The issue is triggered when an attacker is able to trigger the memory_limit abort within the zend_hash_init() function. It is possible that the flaw may allow the attacker to control the heap, resulting in a loss of confidentiality, integrity, and/or availability.

Classification

Location: Remote / Network Access
Attack Type: Other
Impact: Loss of Integrity
Exploit: Exploit Public, Exploit Commercial
OSVDB: Web Related

Solution

Upgrade to version 4.3.8 or 5.0.0 or higher, as it has been reported to fix this vulnerability.

Products

The PHP Group
PHP
4.0.0
3.0.x
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.1.0
4.1.1
4.1.2
4.2.0
4.2.1
4.2.3
4.3.0
4.3.1
4.3.2
4.3.3
4.3.4
4.3.5
4.3.6
4.3.7
4.2.2
5.0.0 Beta.x
5.0.0 RC1
5.0.0 RC2
5.0.0 RC3

References

Tools & Filters

13650 13652 13653 13748 13749 13837 14167 14546 15368 16251 16343 18773 19143

Snort

16078
2555

php_limit

Credit

  • Stefan Esser - sefreebsd.org -

CVSSv2 Score

CVSSv2 Base Score = 5.1
Source: nvd.nist.gov | Generated: 2003-12-31 | Disagree?

Access_vector_2 Access_complexity_0 Authentication_2 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_1

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2002 - 2014 Open Sourced Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use