CVE Professor
/
All CVEs
CVE-2026-136360

CVE-2026-136360 — CWE-497

HIGH CVSS 8.2 NVD

Joomla Extension - joomboost.com - Exposure of secret code and API keys in JoomMedia extension 1.0.0-6.1.5 - A {media} content tag that could not be rendered printed the component settings, including the cron secret code and third-party API keys, into the page.

Joomla Extension - joomboost.com - Exposure of secret code and API keys in JoomMedia extension 1.0.0-6.1.5 - A {media} content tag that could not be rendered printed the component settings, including the cron secret code and third-party API keys, into the page.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/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. Present AT:P
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. Low SC:L
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 Sensitive Information Exposure flaw (CWE-497) in the JoomMedia extension for Joomla, specifically affecting versions 1.0.0 through 6.1.5.

The core technical defect lies in the error handling and output sanitization logic of the {media} content tag. When the JoomMedia component attempts to render a {media} tag and fails (due to invalid parameters, missing files, or configuration errors), the component does not gracefully degrade or return a generic error message. Instead, it triggers an exception or debug state that inadvertently dumps the entire component configuration array into the HTML response body.

This configuration array contains highly sensitive data, including:
1. Cron Secret Code: A unique token used to authenticate scheduled tasks (cron jobs) via the web interface.
2. Third-Party API Keys: Credentials for external services (e.g., video hosting, image processing, or CDN services) integrated with the extension.

The CVSS vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N indicates:

  • AV:N / PR:N: The vulnerability is exploitable over the network without any authentication.

  • AT:P: Attack complexity is low, but it requires a specific condition (the failure to render the media tag) to be triggered.

  • VC:H: High impact on Confidentiality due to the exposure of secrets.

  • SC:L: Low impact on Confidentiality for subsequent systems (the exposed API keys may grant access to third-party services).
  • ⚡ Attack Chain

    1. Discovery & Reconnaissance

    An attacker identifies a target running Joomla with the JoomMedia extension. This can be achieved via:
  • Fingerprinting: Checking the X-Powered-By header or source code for joommedia references.
  • Version Enumeration: Inspecting the extension's manifest file (e.g., /media/com_joommedia/joommedia.xml or similar paths, depending on Joomla version) or checking the "About" section if accessible.
  • Content Tag Injection: If the attacker has any ability to submit content (e.g., via a public comment form, guestbook, or if they have low-privilege user access), they can inject a malformed {media} tag. If no write access is available, the attacker may look for existing content that already contains a broken {media} tag (e.g., a deleted video file referenced in an old article).
  • 2. Exploitation

    The attacker triggers the rendering failure of the {media} tag. The exact URI depends on where the content is published.

    Scenario A: Public Content with Broken Tag
    If an article or page already contains a {media} tag referencing a non-existent or invalid resource, the attacker simply requests that page.

    # Illustrative Example: Requesting a page with a broken media tag
    curl -s "https://target-joomla-site.com/index.php?option=com_content&view=article&id=123"

    Scenario B: Content Injection (If Write Access Exists)
    If the attacker can create or edit content (e.g., as a registered user with edit rights), they inject a malformed tag.

    # Illustrative Example: Submitting a comment or article with a malformed media tag
    # The payload forces a rendering error
    curl -X POST "https://target-joomla-site.com/index.php?option=com_content&task=edit&id=0" \
      -H "Content-Type: application/x-www-form-urlencoded" \
      -d "title=Test&alias=test&introtext={media}invalid_source_xyz{/media}&task=save"

    Resulting Response:
    The HTTP response body will contain the raw PHP array or JSON dump of the component settings. The attacker parses this output to extract:

  • cron_secret: e.g., a1b2c3d4e5f6...

  • api_keys: e.g., {"youtube": "AIzaSy...", "cloudinary": "abc123..."}
  • 3. Post-Exploitation

    Once the secrets are extracted, the attacker can perform several high-impact actions:

    1. Cron Job Hijacking:
    Using the exposed cron_secret, the attacker can invoke the JoomMedia cron endpoint directly. This endpoint typically performs maintenance tasks, but if it executes arbitrary code or allows parameter manipulation, it could lead to further compromise.

    # Illustrative Example: Triggering the cron job with the stolen secret
        curl "https://target-joomla-site.com/index.php?option=com_joommedia&task=cron&secret=a1b2c3d4e5f6..."

    2. Third-Party Service Abuse:
    Using the exposed API keys, the attacker can:
    * Upload malicious content to the victim's video hosting or CDN account.
    * Exfiltrate data from connected services.
    * Incur financial costs by consuming API quotas (e.g., transcoding videos).

    3. Lateral Movement:
    If the API keys grant access to other systems (e.g., a cloud storage bucket), the attacker can pivot to those environments.

    🌍 Real World Impact

  • Confidentiality (High): Direct exposure of cryptographic secrets (cron token) and API credentials. This is a critical breach of trust.
  • Integrity (None): The vulnerability itself does not allow modification of data, but the exposed cron secret could potentially be used to trigger unintended actions if the cron endpoint is not strictly validated.
  • Availability (None): No direct denial-of-service impact from the vulnerability itself.
  • Subsequent Confidentiality (Low): The exposed API keys may grant access to third-party services, leading to data leakage from those services.
  • Practical Consequences:

  • Financial Loss: Unauthorized usage of paid API services (e.g., video transcoding, image optimization).

  • Reputational Damage: Malicious content uploaded to the victim's third-party accounts.

  • Security Compromise: If the cron secret is used to trigger a vulnerable cron task, it could lead to Remote Code Execution (RCE) or further data exfiltration.
  • 🛡️ Remediation & Mitigation

    Exact Affected Versions & Upgrade

  • Affected: JoomMedia 1.0.0 - 6.1.5
  • Remediation: Upgrade to JoomMedia 6.1.6 or later, where the error handling has been fixed to suppress sensitive configuration data from the output.
  • Actionable Workarounds

    1. Disable the Extension: If an immediate upgrade is not possible, disable the JoomMedia extension via the Joomla Extension Manager. 2. WAF/ModSecurity Rule: Block responses that contain known sensitive patterns from the JoomMedia configuration.
    # ModSecurity Rule Example
        SecRule RESPONSE "@selective_replace \b(cron_secret|api_key|youtube_api_key)\b" \
            "id:100001,phase:4,log,drop,msg:'JoomMedia Sensitive Info Exposure Detected'"

    3. Access Restriction: If the {media} tag is only used in admin-only content, ensure that such content is not publicly accessible.

    Detection: IoCs & Log Patterns

  • Web Server Logs: Look for HTTP 200 responses to pages containing {media} tags where the response body size is unusually large (indicating a config dump).
  • Application Logs: Check Joomla error logs for exceptions related to com_joommedia rendering failures.
  • Network Traffic: Monitor for outbound requests from the server to third-party API endpoints using the exposed keys.
  • File System: Check for unexpected cron job executions or modifications to JoomMedia configuration files.
  • ⚠️ Urgency

  • CVSS Score: 8.2 (HIGH)
  • CISA KEV: No
  • Exploit Complexity: Low (requires only a broken media tag or content injection)
  • Patching Priority: HIGH
Recommendation: 1. Immediate: Upgrade JoomMedia to version 6.1.6 or later. 2. Short-term: Audit all public content for broken {media} tags and remove or fix them to prevent accidental exposure. 3. Medium-term: Rotate all exposed API keys and cron secrets, as they should be considered compromised. 4. Long-term: Implement a WAF rule to detect and block sensitive information exposure in HTTP responses.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Joomla!"
CVSS Score
8.2 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-497
References & Advisories (2)
Related CVEs
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner
9.2
CVE-2026-144579
curl_cffi 0.15.0 through 0.17.0 contains a server-side request forgery protection bypass in allow_redirects='s
9.2
CVE-2026-144598
Homebox 0.22.0-rc.2 through 0.27.1 contains an authentication bypass vulnerability in UserService.LoginOIDC th
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
9.1
CVE-2026-144956
Hoverfly before 1.12.17 contains an improper certificate validation vulnerability in GetHttpClient in core/htt
8.8
CVE-2026-77417
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac
8.8
CVE-2026-77418
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac