CVE-2017-20254: Joomla User Bench SQL Injection Vulnerability (CVSS 8.2)
Joomla! Component User Bench version 1.0 has a critical flaw that allows attackers to read sensitive database information without logging in. By crafting a specially formed web request, an attacker can inject malicious SQL commands into the userid parameter, potentially exposing usernames, passwords, and system configuration data stored in the application's database. No authentication or user interaction is required to attempt this attack.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.2 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- Weaknesses (CWE)
- CWE-89
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-19 / 2026-06-22
NVD description (verbatim)
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.
4 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The User Bench component for Joomla! 1.0 fails to properly sanitize user input in the userid parameter of the detail view. The vulnerability exists in the request path index.php?option=com_userbench&view=detail&userid=[payload]. An unauthenticated attacker can inject SQL syntax through this parameter, leading to arbitrary SQL query execution. The vulnerable code does not use parameterized queries or input validation, allowing direct manipulation of the SQL WHERE clause or subsequent query logic. This enables information disclosure attacks targeting the component's database schema and contents.
Business impact
A successful exploitation could result in unauthorized disclosure of sensitive data including user credentials, email addresses, and application configuration details. If the Joomla! database contains personally identifiable information (PII) or payment card data, this vulnerability poses regulatory compliance risks under GDPR, PCI-DSS, and similar frameworks. Additionally, extracted credentials could enable lateral movement into other systems or escalate to administrative compromise. Websites running this component should be considered at immediate risk of data exfiltration.
Affected systems
Only Joomla! installations with the User Bench component version 1.0 are affected. The vulnerability is unauthenticated and network-accessible, meaning any publicly exposed instance running this component can be attacked without prior system access. Organizations running other versions of User Bench or alternative Joomla! user management components are not directly impacted by this specific flaw.
Exploitability
This vulnerability has a high exploitability profile. It requires no authentication, no special privileges, and no user interaction. An attacker can craft a simple HTTP GET request and test the injection via automated scanning tools. The network attack vector means remote exploitation is trivial. No complex exploit development is necessary; basic SQL injection payloads (UNION SELECT, time-based blind techniques) will function. Given the age of this component and the simplicity of the attack, exploitation is considered straightforward.
Remediation
The immediate action is to disable or uninstall the User Bench component if it is not actively required. If the component is essential, the vendor should be contacted for a patched release. In the interim, apply web application firewall (WAF) rules to block SQL injection patterns in the userid parameter, and restrict access to the affected index.php endpoint to trusted IP ranges if possible. Review database access logs and consider resetting credentials for users who may have been exposed. For defense-in-depth, ensure database credentials used by Joomla! follow least-privilege principles and enable database query logging.
Patch guidance
Check the official User Bench component repository and Joomla! Extensions Directory for any available security updates. The vendor's release notes and security announcements should be consulted for patched versions. Apply any available patch immediately upon release. If the vendor has ceased support for this component, strongly consider migrating to an actively maintained Joomla! user management solution. Verify patch application by confirming the component version number in the component manifest and re-testing the injection parameter to ensure sanitization is in place.
Detection guidance
Monitor access logs for requests to index.php containing the option=com_userbench&view=detail&userid parameters with unusual or encoded characters, single quotes, SQL keywords (SELECT, UNION, OR, AND), or comment syntax (-- or /**/). Web application firewalls should alert on common SQL injection payloads. Database query logs should be reviewed for unexpected queries originating from the web application process. Security Information and Event Management (SIEM) systems can correlate HTTP 200 responses with suspicious query patterns. Conduct a filesystem scan to identify installations of the User Bench component and cross-reference with vulnerability scanning to confirm version 1.0 installations.
Why prioritize this
This vulnerability merits urgent attention due to its HIGH CVSS score (8.2), unauthenticated attack vector, and confidentiality impact. The ability to extract credentials and configuration data without authentication creates a direct pathway to further system compromise. Any organization running User Bench 1.0 on internet-facing Joomla! sites should treat this as a critical priority, as exploitation is trivial and the attacker gain is substantial. The lack of authentication or complexity makes this suitable for opportunistic automated attacks.
Risk score, explained
The CVSS 3.1 score of 8.2 reflects the following factors: Network-accessible attack vector (AV:N) with low attack complexity (AC:L) and no authentication required (PR:N) yield maximum exploitability. The confidentiality impact is high (C:H) because attackers can extract sensitive database information. Integrity impact is low (I:L), as the attack primarily enables reading rather than modification. Availability is not impacted (A:N). User interaction is not required (UI:N), and the scope is unchanged (S:U). This combination produces a HIGH severity classification. The score would be higher if the component allowed data modification or denial of service.
Frequently asked questions
Is my Joomla! site automatically affected if I have Joomla! installed?
No. Only sites running the User Bench component version 1.0 are vulnerable. If you do not have this specific component installed, you are not affected by this vulnerability. Use the Joomla! administrator panel to review installed extensions and confirm whether User Bench is present.
Can this vulnerability be exploited if my Joomla! site is behind a login wall or on an internal network?
Yes. Because the attack is unauthenticated and network-based, it can be exploited as long as the web server is reachable. If your site is on an internal network with no external access, the attack surface is reduced. However, internal threats (malicious employees, compromised internal machines) can still exploit the flaw.
What types of information can an attacker extract?
Attackers can extract any data stored in the User Bench component's database tables, typically including usernames, password hashes, email addresses, user IDs, registration dates, and potentially custom user profile fields. They can also pivot to extract data from other Joomla! tables if they understand the database schema. Sensitivity depends on what data your organization stores.
What should I do immediately if I cannot patch right away?
First, confirm you are running User Bench 1.0. Then: (1) disable the component via Joomla! administrator panel if not actively used, (2) implement firewall rules or WAF rules to block requests to index.php?option=com_userbench, (3) review recent database and web access logs for exploitation attempts, (4) reset database credentials, and (5) plan for urgent patching or migration to an alternative component.
This analysis is provided for educational and risk management purposes. The information reflects the vulnerability description and CVSS metrics as of the publication date. Organizations should verify patch availability and compatibility with their specific Joomla! version before applying updates. No guarantee is made regarding the completeness or accuracy of detection signatures or remediation steps, as implementation varies by environment. Consult official Joomla! and User Bench vendor documentation for authoritative guidance. SEC.co and this analysis bear no liability for damages arising from the use or misuse of this information. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2016-20062HIGHSQL Injection in Simply Poll 1.4.1 WordPress Plugin - Unauthenticated Data Theft
- CVE-2016-20063HIGHSQL Injection in Single Personal Message 1.0.3 – Credential & Data Theft Risk
- CVE-2016-20065HIGHUnauthenticated SQL Injection in Product Catalog 8 WordPress Plugin
- CVE-2016-20068HIGHUnauthenticated SQL Injection in WordPress Booking Calendar Contact Form 1.0.23
- CVE-2016-20069HIGHUnauthenticated SQL Injection in WordPress Booking Calendar Contact Form 1.0.23
- CVE-2016-20071HIGHCritical SQL Injection in WordPress 404 Redirection Manager Plugin v1.0
- CVE-2016-20072HIGHBBS e-Franchise WordPress Plugin SQL Injection – Remote Data Exfiltration Risk
- CVE-2016-20073HIGHSQL Injection in Answer My Question 1.3 WordPress Plugin