CVE-2017-20259: Joomla OSDownloads SQL Injection Vulnerability (CVSS 8.2)
Joomla's OSDownloads extension version 1.7.4 contains an SQL injection flaw that allows attackers to run arbitrary database commands without authentication. By crafting malicious requests to the item view, attackers can read sensitive data like database credentials and configuration settings directly from the backend.
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-23
NVD description (verbatim)
Joomla OSDownloads 1.7.4 contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code through the id parameter. Attackers can send GET requests to index.php with option=com_osdownloads&view=item&id=[SQL] 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
CVE-2017-20259 is an unauthenticated SQL injection vulnerability in OSDownloads 1.7.4, a Joomla component for managing downloadable files. The vulnerability exists in the item view handler, where the 'id' parameter is not properly sanitized before being incorporated into SQL queries. An attacker can inject arbitrary SQL syntax via GET requests to index.php using the URI pattern option=com_osdownloads&view=item&id=[malicious SQL]. The lack of input validation and parameterized query use allows full query manipulation, enabling data exfiltration from the Joomla database.
Business impact
This vulnerability poses a direct threat to data confidentiality. Organizations running OSDownloads 1.7.4 expose their entire Joomla database to unauthorized access, including user credentials, email addresses, configuration secrets, and potentially sensitive file metadata. Attackers can enumerate database structure and extract information needed for lateral movement or privilege escalation within the broader application environment. No authentication is required, meaning the attack surface includes any internet-facing Joomla installation with this component enabled.
Affected systems
Joomla installations with the OSDownloads component version 1.7.4 are vulnerable. The vulnerability does not require any special configuration; any deployment of the affected version is at risk if the component is active. Organizations should check their extension management console and file system for OSDownloads presence and version number. Note that vendor product data is not available in current advisories; confirm version details directly via Joomla's extension marketplace or your installation's manifest files.
Exploitability
This vulnerability is highly exploitable. It requires no authentication, no user interaction, and can be triggered via simple HTTP GET requests over the network. An attacker needs only a web browser or basic scripting capability to craft and send malicious requests. The attack vector is network-based with low complexity, making it accessible to a broad range of threat actors. Automated scanning tools can easily detect vulnerable installations by probing the affected endpoint.
Remediation
Update OSDownloads to a patched version immediately. Verify the latest stable release available through the Joomla extensions directory or the component vendor's official repository. As an interim measure, consider disabling or removing the OSDownloads component entirely if it is not actively used. Organizations should review database access logs for any suspicious SQL queries executed against the installation and reset credentials for database accounts associated with the Joomla application.
Patch guidance
Check your Joomla extension manager for available updates to OSDownloads. The vendor's official release notes should specify which version addresses CVE-2017-20259; verify this against the component's changelog or security advisories. Apply the patch in a test environment first to ensure compatibility with other extensions and custom configurations. After updating, clear Joomla's cache and verify that the item view continues to function correctly with legitimate download requests.
Detection guidance
Monitor web server logs for unusual patterns in requests to index.php containing 'option=com_osdownloads&view=item&id=' with special characters or SQL syntax (OR, UNION, --, #, etc.). Database query logs may show unexpected SELECT, UNION, or subquery patterns originating from the application. Web application firewalls can be configured to block requests containing SQL keywords in URL parameters. Additionally, intrusion detection signatures should flag attempts to exfiltrate data through this endpoint.
Why prioritize this
This vulnerability merits immediate attention due to its combination of high impact (confidentiality breach of database contents) and trivial exploitability (unauthenticated, network-accessible, low complexity). The lack of any authentication requirement and the potential exposure of credentials and configuration data make it attractive to automated scanning and mass exploitation. Organizations running internet-facing Joomla sites with OSDownloads are at significant risk.
Risk score, explained
The CVSS 3.1 score of 8.2 (HIGH) reflects a network-accessible vulnerability with no authentication or user interaction required, resulting in high confidentiality impact and limited integrity impact. The attack complexity is low, and the vulnerable scope is unchanged. This score appropriately prioritizes the threat; while data destruction is not a direct outcome, the exfiltration of credentials and configuration secrets can enable follow-on attacks.
Frequently asked questions
How can I check if my Joomla site uses OSDownloads 1.7.4?
Log in to your Joomla administrator panel, navigate to Extensions > Manage Extensions, and search for 'OSDownloads.' The installed version is displayed in the list. Alternatively, check the component's manifest file at /components/com_osdownloads/osdownloads.xml and look for the version tag. If you find version 1.7.4, update immediately.
Can this vulnerability be exploited if OSDownloads is disabled?
If the component is disabled in Joomla's extension manager but still present in the file system, it may still be exploitable in certain configurations. The safest approach is to fully uninstall the component from the Joomla administrator panel rather than merely disabling it. Verify removal by checking that the /components/com_osdownloads/ directory no longer exists.
What data is most at risk from this vulnerability?
The Joomla database is fully exposed, including user accounts with password hashes, email addresses, session tokens, and any custom data stored by other extensions. Additionally, configuration data such as database credentials, API keys, and SMTP settings visible in the database schema may be accessible, creating cascading risks if those systems are not otherwise hardened.
Is there a workaround if I cannot patch immediately?
Implement a web application firewall (WAF) rule to block requests containing SQL keywords in the id parameter. Restrict access to index.php with option=com_osdownloads to trusted IP ranges if possible. However, these are temporary measures and should not replace patching. Review your database access logs to detect any exploitation attempts while you prepare to update.
This analysis is based on the vulnerability description provided and general security best practices. Version numbers, patch availability, and affected systems should be verified against official Joomla and OSDownloads vendor advisories. SEC.co does not guarantee the completeness or accuracy of third-party patch information. Organizations should conduct their own testing before deploying patches in production environments. If you suspect your site has been compromised, engage a professional incident response team and preserve forensic evidence. 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