{"id":"CVE-2007-4652","aliases":["EUVD-2007-4634","GHSA-j7jp-rgph-7546"],"status":"published","title":"The session extension in PHP before 5.2.4 might allow local users to bypass open_basedir...","description":"The session extension in PHP before 5.2.4 might allow local users to bypass open_basedir restrictions via a session file that is a symlink.","severity":{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00607,"percentile":0.49326,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-59"],"published":"2007-09-04T19:00:00Z","modified":"2026-06-16T22:44:30Z","exploits":[{"source":"exploitdb","id":"EDB-10557","title":"PHP 5.2.12/5.3.1 - 'symlink()' open_basedir Bypass","type":"local","platform":"php","date":"2009-12-19","verified":true,"url":"https://www.exploit-db.com/exploits/10557"}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://secunia.com/advisories/26822","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36387","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.php.net/ChangeLog-5.php#5.2.4","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.trustix.org/errata/2007/0026/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred"]},{"url":"https://issues.rpath.com/browse/RPL-1693","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://issues.rpath.com/browse/RPL-1702","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/26838","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/27377","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/27102","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/3023","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://www.php.net/releases/5_2_4.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/26642","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4652"},{"url":"http://www.trustix.org/errata/2007/0026"},{"url":"https://github.com/advisories/GHSA-j7jp-rgph-7546"}],"sources":{"cve":[{"id":"CVE-2007-4652","description":"The session extension in PHP before 5.2.4 might allow local users to bypass open_basedir restrictions via a session file that is a symlink.","status":"published","published":"2007-09-04T19:00:00Z","modified":"2024-08-07T15:01:09.909Z","updated_at":"2026-11-02T13:33:30.262137Z"}],"euvd":[{"id":"EUVD-2007-4634","description":"The session extension in PHP before 5.2.4 might allow local users to bypass open_basedir restrictions via a session file that is a symlink.","status":"published","published":"2007-09-04T19:00:00Z","modified":"2024-08-07T15:01:09Z","updated_at":"2026-11-03T01:16:20.592518Z"}],"ghsa":[{"id":"GHSA-j7jp-rgph-7546","title":"The session extension in PHP before 5.2.4 might allow local users to bypass open_basedir...","description":"The session extension in PHP before 5.2.4 might allow local users to bypass open_basedir restrictions via a session file that is a symlink.","status":"published","published":"2022-05-01T18:25:45Z","modified":"2025-04-09T03:45:49Z","cwes":["CWE-59"],"updated_at":"2026-11-02T15:00:55.004058Z"}],"nvd":[{"id":"CVE-2007-4652","description":"The session extension in PHP before 5.2.4 might allow local users to bypass open_basedir restrictions via a session file that is a symlink.","status":"published","published":"2007-09-04T19:17:00Z","modified":"2026-06-16T22:44:30.633Z","cvss":[{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:01:19.102336Z"}]}}
