{"id":"CVE-2007-1835","aliases":["EDB-29801"],"kind":"cve","tier":"cold","status":"published","title":"PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR d…","description":"PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR default after checking the restrictions, which allows local users to bypass open_basedir restrictions.","ai_summary":null,"severity":"medium","cvss":{"score":4.6,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","source":"NVD"},"scores":[{"score":4.6,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":[],"remote":false,"remote_unauth":false,"epss":{"score":0.00717,"percentile":0.55047,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[29801]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506","kind":"vendor"},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137","kind":"vendor"},{"url":"https://www.exploit-db.com/exploits/29801","kind":"exploit"},{"url":"http://www.vupen.com/english/advisories/2007/1991","kind":"other"},{"url":"http://www.php-security.org/MOPB/MOPB-36-2007.html","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2007/2374","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33550","kind":"other"},{"url":"http://secunia.com/advisories/25423","kind":"other"},{"url":"http://secunia.com/advisories/25850","kind":"other"},{"url":"http://www.securityfocus.com/bid/23183","kind":"other"}],"workarounds":null,"vendors":["php"],"products":["php"],"cpes":["cpe:2.3:a:php:php:4.0.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.4:patch1:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:beta1:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:beta2:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:beta3:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:beta4:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:beta_4_patch1:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:rc1:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:rc2:*:*:*:*:*:*","cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.2:*:dev:*:*:*:*:*","cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.5:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.6:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.0:rc3:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:*","cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:*","cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*"],"published_at":"2007-03-28T00:00:00.000Z","modified_at":"2026-06-16T22:38:23.330Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1835"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/29801"}],"links":{"html":"https://flawdb.com/CVE-2007-1835","markdown":"https://flawdb.com/CVE-2007-1835.md","json":"https://flawdb.com/api/v1/entries/CVE-2007-1835"}}