CVE-2007-3007
MEDIUM 5.0CVSS 2.0PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases, which allows context-dependent attackers to determine the existence of arbitrary files by checking if the readfile function returns a string. NOTE: this issue might also involve the realpath function.
- Published
- 4 Jun 2007
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-264
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.2.3 | 5.2.3 |
References
- http://bugs.php.net/bug.php?id=41492 · Vendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html · Mailing List, Third Party Advisory
- http://osvdb.org/36084 · Broken Link
- http://secunia.com/advisories/25456 · Vendor Advisory
- http://secunia.com/advisories/26048 · Vendor Advisory
- http://secunia.com/advisories/26231 · Vendor Advisory
- http://secunia.com/advisories/27102 · Vendor Advisory
- http://secunia.com/advisories/27110 · Vendor Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml · Third Party Advisory
- http://www.php.net/releases/5_2_3.php · Vendor Advisory
- http://www.securityfocus.com/bid/24259 · Third Party Advisory, VDB Entry
- http://www.trustix.org/errata/2007/0023/ · Broken Link
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html · Third Party Advisory
History
- 25 Nov 2026 20:13 UTC · NVD: first stored (published 4 Jun 2007)