CVE Professor
/
All CVEs
CVE-2026-133343

CVE-2026-133343 — Onlinecommunityhub.nl OchSubscriptions Extension — CWE-89

CRITICAL CVSS 9.3 NVD

Joomla Extension - onlinecommunityhub.nl - Unauthenticated SQL injection in products and categories views in ochSubscriptions extension 1.0.0-6.1.0 - Array request parameters used for product, category and tag filters in the products and categories views were concatenated into SQL queries without casting or quoting, allowing unauthenticated visitors to inject SQL.

Joomla Extension - onlinecommunityhub.nl - Unauthenticated SQL injection in products and categories views in ochSubscriptions extension 1.0.0-6.1.0 - Array request parameters used for product, category and tag filters in the products and categories views were concatenated into SQL queries without casting or quoting, allowing unauthenticated visitors to inject SQL.

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?

This vulnerability is a classic Unauthenticated SQL Injection (CWE-89) flaw within the ochSubscriptions extension for Joomla CMS. The technical root cause lies in the improper handling of user-supplied input in the products and categories views.

Specifically, the extension accepts array-based request parameters intended for filtering products, categories, and tags. Instead of using Joomla’s native database abstraction layer (JDatabase) with parameterized queries (? placeholders) or explicitly casting inputs to safe types (e.g., (int)), the code directly concatenates these array values into the SQL query string.

Because the vulnerability is unauthenticated (PR:N) and requires no user interaction (UI:N), any external actor can trigger the injection by sending a crafted HTTP request to the public-facing product or category listing pages. The lack of input sanitization allows an attacker to break out of the intended SQL context and execute arbitrary SQL commands against the underlying database (typically MySQL/MariaDB).

⚡ Attack Chain

1. Discovery & Reconnaissance

  • Fingerprinting: The attacker identifies the target as running Joomla. They then specifically look for the ochSubscriptions extension. This can be done by:
  • * Checking for the presence of ochSubscriptions in the page source (e.g., CSS/JS files, meta tags, or HTML comments). * Probing common Joomla extension URLs (e.g., /index.php?option=com_ochsubscriptions). * Using tools like whatweb or nmap with Joomla scripts to identify installed components.
  • Version Enumeration: The attacker attempts to determine the version. While version numbers are often not exposed in the UI, the CVE affects versions 1.0.0 through 6.1.0. If the site is running a recent version of the component, it is likely vulnerable.
  • Endpoint Identification: The attacker identifies the specific URLs for the "Products" and "Categories" lists. In Joomla, these are typically routed via index.php?option=com_ochsubscriptions&view=product or view=productlist (exact view names may differ, but the component is com_ochsubscriptions). The vulnerable parameters are array-based filters, commonly named filter[product], filter[category], or filter[tag] (exact parameter names are illustrative based on standard Joomla filter patterns; the CVE confirms "array request parameters").
  • 2. Exploitation

    The attacker sends a crafted HTTP GET request to the vulnerable view. The payload is injected into one of the array filter parameters.

    Illustrative PoC (curl):
    Note: The exact parameter name (e.g., filter[product]) is an illustrative example based on the CVE description of "array request parameters used for product, tag, and category filters." The attacker must fuzz for the correct key.

    # Example: Injecting a time-delayed blind injection to confirm vulnerability
    # The 'SLEEP(5)' function is used to verify the injection point.
    curl -v "https://victim.com/joomla/index.php?option=com_ochsubscriptions&view=productlist&Itemid=123&filters[product]=1' AND SLEEP(5)-- -"

    Alternative: UNION-Based Injection (for data exfiltration):
    If the query returns a list of products, the attacker can use UNION SELECT to extract data.

    # Example: Attempting to extract database user and version
    # The number of columns in the original query must be determined first (e.g., via ORDER BY).
    # Assuming 4 columns for illustration:
    curl -v "https://victim.com/joomla/index.php?option=com_ochsubscriptions&view=productlist&Itemid=123&filters[product]=1' UNION SELECT 1,2,3,4-- -"

    Blind SQL Injection (if UNION is blocked):
    The attacker can use boolean-based or time-based blind injection to extract data character by character.

    # Time-based blind injection example
    curl -v "https://victim.com/joomla/index.php?option=com_ochsubscriptions&view=productlist&Itemid=123&filters[product]=1' AND IF(1=1, SLEEP(5), 0)-- -"

    3. Post-Exploitation

    Once SQL injection is confirmed, the attacker can achieve full impact:
  • Data Exfiltration:
  • * Extract all user credentials from #__users (Joomla's user table). Extract private data from #__com_ochsubscriptions_ tables (subscription details, payment info if stored). * Extract configuration data from #__config or #__extensions (e.g., database credentials, API keys).
  • Privilege Escalation:
  • * If the MySQL user has FILE privileges, the attacker can use INTO OUTFILE to write a PHP webshell to the web root. Example:* UNION SELECT 1,2,3,4 INTO OUTFILE '/var/www/html/shell.php'-- - (requires secure_file_priv to be empty and write permissions).
  • Remote Code Execution (RCE):
  • * If a webshell is written, the attacker gains full RCE on the server. * Alternatively, if the database user has SUPER privileges, the attacker might be able to load malicious UDFs (User Defined Functions) for RCE (less common in modern MySQL).
  • Data Destruction:
  • * The attacker can issue DROP TABLE or DELETE commands to destroy data, leading to a Denial of Service (Availability impact).

    🌍 Real World Impact

    Based on the CVSS:4.0 vector 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:

  • Confidentiality (High): The attacker can read all data in the database, including user passwords (hashed), personal information, and business-sensitive data.
  • Integrity (High): The attacker can modify or delete data, corrupting the application's state and potentially altering financial records or user accounts.
  • Availability (High): The attacker can crash the database or delete critical tables, causing the website to go offline.
  • Scope (None): The impact is limited to the vulnerable component and its associated database. It does not directly compromise other systems on the network unless the attacker pivots using the compromised server.
  • Practical Consequences:

  • Data Breach: Full compromise of user data, leading to regulatory fines (GDPR, CCPA) and loss of customer trust.

  • Service Disruption: Downtime due to data destruction or database crashes.

  • Malware Infection: If RCE is achieved, the server can be used as a botnet node or for launching further attacks.
  • 🛡️ Remediation & Mitigation

    1. Patching

  • Upgrade: Immediately upgrade the ochSubscriptions extension to a version greater than 6.1.0. Check the vendor's website (onlinecommunityhub.nl) or the Joomla Extensions Directory (JED) for the latest patched release.
  • If no patch is available: Disable the extension entirely. In the Joomla Administrator panel, go to Extensions > Manage and disable ochSubscriptions. Alternatively, rename the extension folder in /plugins/ or /components/ (depending on installation type) to prevent loading.
  • 2. Workarounds (If immediate patching is not possible)

  • WAF Rules: Implement a Web Application Firewall rule to block SQL injection attempts in the filters parameter.
  • ModSecurity Example:*
    SecRule REQUEST_URI "@rx /index.php\?option=com_ochsubscriptions" \
                "id:100001,phase:1,deny,status:403,msg:'SQLi in ochSubscriptions',log"
            SecRule ARGS:filters "@rx (union|select|insert|update|delete|drop|sleep|benchmark)" \
                "id:100002,phase:2,deny,status:403,msg:'SQLi in filters parameter',log"
  • Access Restriction: If the product/category views are not critical for public access, restrict access to authenticated users only. This reduces the attack surface but does not eliminate the risk if authenticated users can also inject.
  • Database User Privileges: Ensure the MySQL user used by Joomla has minimal privileges. Remove FILE, SUPER, DROP, and ALTER privileges if not strictly necessary. This mitigates the risk of webshell writing and data destruction.
  • 3. Detection

  • Web Server Logs: Monitor access.log for requests to com_ochsubscriptions with suspicious parameters.
  • Pattern: GET /index.php?option=com_ochsubscriptions.filters.=.(%27|union|select|sleep|benchmark|drop)
  • Database Logs: Enable MySQL general query log (temporarily) or use a database audit tool to detect anomalous queries, such as UNION SELECT or SLEEP() in the context of the ochSubscriptions tables.
  • File Integrity Monitoring (FIM): Monitor the web root for new or modified PHP files, especially if the database user has FILE privileges.
  • ⚠️ Urgency

  • CVSS Score: 9.3 (Critical)
  • CISA KEV: No (Not currently listed in the Known Exploited Vulnerabilities catalog, but this does not mean it is not being exploited in the wild).
  • Exploit Complexity: Low. The vulnerability is unauthenticated and requires no special conditions.
  • Priority: CRITICAL. Patch immediately. If a patch is not available, disable the extension or implement strict WAF rules within 24 hours. This vulnerability allows for full database compromise with minimal effort, making it a high-priority target for automated scanners and malicious actors.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Joomla!"
CVSS Score
9.3 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
onlinecommunityhub.nl:ochSubscriptions extension for Joomla (1.0.0-6.1.0)
References & Advisories (1)
Related CVEs
7.1
CVE-2026-133344
Joomla Extension - onlinecommunityhub.nl - Payment bypass via free checkout processor in ochSubscriptions exte
7.1
CVE-2026-133345
Joomla Extension - onlinecommunityhub.nl - IDOR in subscription upgrade allows credit theft and cancellation o
6.3
CVE-2026-133346
Joomla Extension - onlinecommunityhub.nl - Missing ownership check and mass assignment in device save in ochSu
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