OSVDB ID: 32781

Title: PHP shmop Function Arbitrary Memory Manipulation

Info

Disclosure

Mar 08, 2007

Discovery

Unknown

Dates

Exploit

Mar 08, 2007

Solution

Unknown

Description

PHP contains a flaw that may allow a malicious user to access arbitrary memory addresses. The issue is due to the shared memory (shmop) function failing to verify if the type of resource supplied is a shmop resource. By using other types of resources it is possible to read and write to shared memory addresses resulting in a loss of integrity and/or availability.

Classification

Location: Local Access Required
Attack Type: Input Manipulation
Impact: Loss of Integrity, Loss of Availability
Exploit: Exploit Public

Solution

Upgrade to PHP version 4.4.5, PHP version 5.1.2 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Products

The PHP Group

PHP

5.2.1
4.4.5
5.2.0
5.1.x
5.0.x
4.x
4.1.x
4.2.x
4.3.x
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.4.0
4.4.1
4.4.2
4.4.3
4.4.4

References

Credit

  • Stefan Esser - sesserhardened-php.net - www.hardened-php.net


Direct URL: http://osvdb.org/32781