CVE-2017-8917
Critical · 9.8CVSS
9.8
EPSS
99.8%
Published
May 17, 2017
CISA due date
—
Cloudanix analysis
A web application bug lets attackers run hidden commands on the database behind the site, risking theft or damage to stored information.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Trivial
- Impact
- Data Exposure
- Component
- Web Framework
- Class
- SQL Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits unauthenticated remote attackers to inject and execute arbitrary SQL statements via crafted input vectors, resulting in direct database manipulation including data exfiltration, modification, or deletion.
Why it matters to the business
Potential for complete compromise of application data integrity and confidentiality, leading to regulatory penalties, operational disruption, and loss of customer trust. High exploitation likelihood persists years after disclosure due to weaponized public exploits and near-certain EPSS score.
How an attack unfolds
An attacker identifies an exposed Joomla 3.7.x instance, crafts HTTP requests embedding malicious SQL payloads in vulnerable parameters, and submits them without authentication to execute arbitrary database commands, enabling data theft or further system access.
How to fix it
Upgrade Joomla installations to version 3.7.1 or newer. For gitlab-rails-ee-fips-17.0 (Chainguard) update to the fixed version 17.0.5-r0. Apply virtual patching via WAF rules and restrict database account privileges as temporary measures.
How to confirm the fix worked
Verify installed Joomla version is at least 3.7.1, retest previously vulnerable endpoints with benign SQL payloads to confirm rejection, and review application logs for absence of injection attempts post-upgrade.
Typical attack path
- Scan for publicly reachable instances running Joomla 3.7.0
- Identify injectable parameters through automated or manual testing
- Inject SQL payloads to bypass filters and extract schema or data
- Escalate via database privileges to achieve code execution or persistence
- Exfiltrate sensitive information or deploy additional payloads
How to detect it
Inspect web server and database logs for requests containing SQL syntax such as UNION SELECT, error messages exposing database structure, or sudden spikes in query volume from single IP addresses; correlate with application error logs showing SQL syntax failures.
- UNION SELECT in HTTP request parameters
- SQL syntax error strings in application responses
- Unexpected database queries containing 1=1 or sleep() functions
What your security team should do
- Prioritize immediate upgrade of all affected Joomla instances given weaponized exploit maturity and high EPSS
- Deploy web application firewall rules blocking common SQL injection patterns until patches are applied
- Audit database access logs for anomalous queries and restrict application database privileges
- Monitor threat intelligence feeds for continued targeting of this long-disclosed issue
The record
SQL injection vulnerability in Joomla! 3.7.x before 3.7.1 allows attackers to execute arbitrary SQL commands via unspecified vectors.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-121731 RosarioSIS before 12.9 contains a sql injection vulnerability that allows authenticated… CWE-89
- CVE-2026-121524 A flaw has been found in sumiie24 School-Management-System up to… CWE-89
- CVE-2026-121502 A vulnerability was identified in mathurvishal CloudClassroom-PHP-Project. CWE-89
- CVE-2026-45146 Chamilo LMS is an open-source learning management system. CWE-89
- CVE-2026-44265 Elo is a purely functional expression language for no-code tools. CWE-89
- CVE-2026-109594 Post-authentication Improper Neutralization of Special Elements used in an SQL Command… CWE-89
- CVE-2026-65139 NVIDIA Slurm contains an attacker-controlled SQL injection attack in certain SlurmDBD… CWE-89
- CVE-2026-110265 A specially crafted malformed search query could return results from outside a user's… CWE-89