Cloudanix VulnDB

CVE-2017-8917

Critical · 9.8

CVSS

9.8

EPSS

99.8%

Published

May 17, 2017

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Attend

A web application bug lets attackers run hidden commands on the database behind the site, risking theft or damage to stored information.

Weaponized
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

  1. Scan for publicly reachable instances running Joomla 3.7.0
  2. Identify injectable parameters through automated or manual testing
  3. Inject SQL payloads to bypass filters and extract schema or data
  4. Escalate via database privileges to achieve code execution or persistence
  5. 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