{"id":"CVE-2007-5307","aliases":["EUVD-2007-5287","GHSA-3hp9-895x-43v5"],"status":"published","title":"ELSEIF CMS Beta 0.6 does not properly unset variables when the input data includes a numeric...","description":"ELSEIF CMS Beta 0.6 does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to execute arbitrary PHP code by uploading a .php file via externe/swfupload/upload.php.  NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in ELSEIF CMS.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02385,"percentile":0.84035,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-94"],"published":"2007-10-09T18:00:00Z","modified":"2026-06-16T22:45:51Z","exploits":[{"source":"exploitdb","id":"EDB-4490","title":"Else If CMS 0.6 - Multiple Vulnerabilities","type":"webapps","platform":"php","date":"2007-10-06","verified":true,"url":"https://www.exploit-db.com/exploits/4490"}],"products":[{"vendor":"yannick_tanguy","product":"else_if_cms"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/37009","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/bid/25951","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit"]},{"url":"http://www.securityfocus.com/archive/1/481683/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://securityreason.com/securityalert/3204","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5307"},{"url":"https://github.com/advisories/GHSA-3hp9-895x-43v5"}],"sources":{"cve":[{"id":"CVE-2007-5307","description":"ELSEIF CMS Beta 0.6 does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to execute arbitrary PHP code by uploading a .php file via externe/swfupload/upload.php.  NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in ELSEIF CMS.","status":"published","published":"2007-10-09T18:00:00Z","modified":"2024-08-07T15:24:42.423Z","updated_at":"2026-11-02T13:32:00.617893Z"}],"euvd":[{"id":"EUVD-2007-5287","description":"ELSEIF CMS Beta 0.6 does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to execute arbitrary PHP code by uploading a .php file via externe/swfupload/upload.php.  NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in ELSEIF CMS.","status":"published","published":"2007-10-09T18:00:00Z","modified":"2024-08-07T15:24:42Z","updated_at":"2026-11-03T01:16:17.784694Z"}],"ghsa":[{"id":"GHSA-3hp9-895x-43v5","title":"ELSEIF CMS Beta 0.6 does not properly unset variables when the input data includes a numeric...","description":"ELSEIF CMS Beta 0.6 does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to execute arbitrary PHP code by uploading a .php file via externe/swfupload/upload.php.  NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in ELSEIF CMS.","status":"published","published":"2022-05-01T18:32:01Z","modified":"2023-01-31T05:04:42Z","cwes":["CWE-94"],"updated_at":"2026-11-02T14:48:43.49737Z"}],"nvd":[{"id":"CVE-2007-5307","description":"ELSEIF CMS Beta 0.6 does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to execute arbitrary PHP code by uploading a .php file via externe/swfupload/upload.php.  NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in ELSEIF CMS.","status":"published","published":"2007-10-09T18:17:00Z","modified":"2026-06-16T22:45:51.553Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:01:21.141213Z"}]}}
