---
title: "CVE-2006-7243\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2006-7243?format=md
keywords: index, follow
---

# CVE-2006-7243

Publication date 18 January 2011

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

PHP before 5.3.4 accepts the \0 character in a pathname, which might allow
context-dependent attackers to bypass intended access restrictions by
placing a safe file extension after this character, as demonstrated by
.php\0.jpg at the end of the argument to the file\_exists function.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2006-7243?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.10 maverick | Fixed 5.3.3-1ubuntu9.4 |
| 10.04 LTS lucid | Fixed 5.3.2-1ubuntu4.8 |
| 9.10 karmic | Fixed 5.2.10.dfsg.1-2ubuntu6.9 |
| 8.04 LTS hardy | Ignored end of life |
| 6.06 LTS dapper | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2006-7243?format=md#patch-details)

## Notes

---

### [sbeattie](https://launchpad.net/~sbeattie)

upstream only prepared a fix for the 5.3 tree. Backporting
the fix to 5.2.x requires modifying php APIs.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| php5 | * Upstream:   <http://svn.php.net/viewvc?view=revision&revision=305507> * Upstream:   <http://svn.php.net/viewvc?view=revision&revision=305412> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-7243)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2006-7243)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2006-7243)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2006-7243)

### Related Ubuntu Security Notices (USN)

+ [USN-1126-1](https://usn.ubuntu.com/USN-1126-1)
+ PHP vulnerabilities
+ 29 April 2011

### Other references

* <http://openwall.com/lists/oss-security/2010/11/18/4>
* <https://www.cve.org/CVERecord?id=CVE-2006-7243>
