23535 : PHP imap_open() Function open_basedir/safe_mode Bypass
Printer | http://osvdb.org/23535 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
5 797 over 5 years ago over 3 years ago 0 times 90%

Timeline

Disclosure Date
2006-02-28

Description

PHP contains a flaw that may allow a malicious local user to view arbitrary files and create or modify existing files with the same level of privelege as the web server. The issue is triggered when a script misuses the imap_open() function. It is possible that the flaw may allow reading arbitrary files or creating, renaming, or deleting existing files resulting in a loss of confidentiality or integrity.

Classification

Location: Local Access Required
Attack Type: Information Disclosure, Input Manipulation
Impact: Loss of Confidentiality, Loss of Integrity
Exploit: Exploit Public
Disclosure: Vendor Verified
OSVDB: Web Related

Technical

The imap_open() function itself only provides the ability to view arbitrary files, resulting in a loss of confidentiality. However, it can be leveraged by other functions, such as imap_createmailbox, to obtain write access to any part of the filesystem the web server has priveleges, resulting in a loss of integrity.

Solution

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

Products

PHP Group
Watch-list
PHP
Watch-list
4.4.2
The PHP Group
Watch-list
PHP
Watch-list
5.1.0

References

Tools & Filters

22053

Credit

  • - ced.clergetfree.fr -

CVSSv2 Score

CVSSv2 Base Score = 9.3
Source: nvd.nist.gov | Generated: 2006-03-07 | Disagree? | There are 1 more: View All

Access_vector_2 Access_complexity_1 Authentication_2 Confidentiality_impact_2 Integrity_impact_2 Availability_impact_2

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

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 2012 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use