CVE-2018-17254

9.8 CRITICAL

📋 TL;DR

CVE-2018-17254 is a SQL injection vulnerability in the JCK Editor component for Joomla! CMS. Attackers can exploit this by injecting malicious SQL code through the 'parent' parameter in jtreelink/dialogs/links.php, potentially allowing unauthorized database access. This affects Joomla! websites using the vulnerable JCK Editor component.

💻 Affected Systems

Products:
  • Joomla! JCK Editor
Versions: 6.4.4
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects Joomla! installations with JCK Editor component installed and enabled.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, privilege escalation, or full system takeover via SQL injection to RCE chaining.

🟠

Likely Case

Unauthorized database access allowing extraction of sensitive information like user credentials, personal data, or administrative access.

🟢

If Mitigated

Limited impact with proper input validation and database permissions, potentially only allowing data viewing without modification.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: CONFIRMED
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Public exploit code available, requires no authentication, and has simple exploitation steps.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 6.4.5 or later

Vendor Advisory: https://extensions.joomla.org/extension/jck-editor/

Restart Required: No

Instructions:

1. Log into Joomla! admin panel. 2. Navigate to Extensions > Manage > Update. 3. Update JCK Editor to version 6.4.5 or later. 4. Alternatively, download latest version from official repository and manually update.

🔧 Temporary Workarounds

Disable JCK Editor Component

all

Temporarily disable the vulnerable component until patching is possible.

Navigate to Joomla! admin > Extensions > Manage > Manage, find JCK Editor and disable

Input Validation Filter

all

Implement server-side input validation for the 'parent' parameter.

Modify jtreelink/dialogs/links.php to sanitize 'parent' parameter input

🧯 If You Can't Patch

  • Implement WAF rules to block SQL injection patterns targeting the vulnerable endpoint
  • Restrict access to the vulnerable component using IP whitelisting or authentication requirements

🔍 How to Verify

Check if Vulnerable:

Check JCK Editor version in Joomla! admin panel under Extensions > Manage > Manage, look for version 6.4.4.

Check Version:

Check Joomla! admin panel or examine component XML file for version number.

Verify Fix Applied:

Confirm JCK Editor version is 6.4.5 or later in Extensions > Manage > Manage.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple requests to jtreelink/dialogs/links.php with SQL-like parameters

Network Indicators:

  • HTTP requests containing SQL injection patterns in 'parent' parameter
  • Unusual traffic to vulnerable endpoint

SIEM Query:

source="web_logs" AND uri="/jtreelink/dialogs/links.php" AND (query="*SELECT*" OR query="*UNION*" OR query="*OR*1=1*")

🔗 References

📤 Share & Export