{"id":"EDB-29801","name":"PHP 5.2.1 - 'Session.Save_Path()' TMPDIR open_basedir Restriction Bypass","description":"PHP 5.2.1 - 'Session.Save_Path()' TMPDIR open_basedir Restriction Bypass","cves":["CVE-2007-1835"],"author":"Stefan Esser","published":"2007-03-28","platform":"php","type":"local","language":"PHP","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/29801","path":"exploits/php/local/29801.php","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-29801.php","vulnerabilities":[{"id":"CVE-2007-1835","state":"PUBLISHED","title":null,"titleSource":null,"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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2007-1835","cvss":{"version":"2.0","baseScore":4.6,"severity":"medium","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2007-1835"},"updatedAt":"2024-08-07T13:13:40.598Z","retrievedAt":"2026-11-27T07:11:34.516Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-29801.png?v=2","url":"https://exploitbin.com/exploits/EDB-29801","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-29801/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-29801/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"}