Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend request priming session sort defaults
-
DeliveryCraft field/direction param with decoy -- xselect comment
-
ExploitBypass protectInjectionWithoutQuote blacklist
-
ExecutionInject into unquoted ORDER BY clause
-
ImpactExtract or modify Joomla database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the OrdaSoft Book Library (Free) extension for Joomla at a version below 6.4.6 to be installed and reachable. Exploitation is remote and unauthenticated (PR:N/UI:N) against default configurations, but has two concrete prerequisites drawn from the description: (1) an initial request must be sent first to prime the session-stored sort defaults so the vulnerable books() sort code path is reached, and (2) the injected |
| Impact | All primary severity signals align on high risk: the vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, fully unauthenticated flaw with high confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H), consistent with classic CWE-89 SQL injection that can read, modify, or destroy the backing database. No EPSS score, no CISA KEV listing, and no public POC are present in the input, so exploitation is currently theoretical-but-straightforward rather than observed in the wild - the absence of these signals is a data gap, not evidence of low risk. The one factor that tempers real-world urgency is prevalence: this is a third-party OrdaSoft extension for Joomla, not Joomla core, so the affected population is small. Net: technically a genuine unauthenticated pre-auth database-compromise bug (real priority for any site running the extension), but the limited install base keeps aggregate/internet-wide risk moderate. Note the description's two-step trigger (session priming plus a decoy comment) is a mild practical hurdle the AC:L rating does not reflect, though it is deterministic rather than a race. |
| Exploit ScenarioDerived | A remote unauthenticated attacker first sends a request to the Book Library component to prime the session-stored sort defaults, then sends a follow-up request setting the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 28, 2026
Unauthenticated SQL injection in the OrdaSoft Book Library (Free) extension for Joomla, affecting all versions below 6.4.6, allows remote attackers to inject arbitrary SQL into an ORDER BY clause via the field and direction request parameters handled by the books() function in site/booklibrary.php. Because the injection lands in an unquoted ORDER BY position, the extension's keyword-blacklist filter (protectInjectionWithoutQuote()) can be defeated with a trailing decoy comment such as '-- xselect' that makes the filter merely quote the value instead of rejecting it, and exploitation requires only a prior request to prime session-stored sort defaults before the vulnerable code path is reached. Both the vendor's CVSS 4.0 vector (9.3, AV:N/AC:L/AT:N/PR:N/UI:N, high C/I/A) and the independent CVSS 3.1 assessment (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) indicate a fully unauthenticated, low-complexity, network-reachable flaw with high confidentiality, integrity, and availability impact; no public exploit code and no CISA KEV entry were identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade the OrdaSoft Book Library (Free) extension for Joomla to version 6.4.6 or later, which removes the vulnerable ORDER BY concatenation path; consult the OrdaSoft product site at https://www.ordasoft.com/ for the current release package and any accompanying vendor guidance, and verify the installed version after updating. If an immediate upgrade is not possible, disable or unpublish the Book Library component so that site/booklibrary.php is no longer reachable, understanding that this removes all library functionality for legitimate users. As an interim compensating control, deploy a WAF or reverse-proxy rule that rejects requests to site/booklibrary.php where the field or direction parameters contain SQL comment sequences (such as '--' or '#'), ORDER BY keywords, or the literal substring 'select' used as a decoy, at the cost of potentially blocking some legitimate sort values and requiring careful tuning to avoid false positives. Because the exploit needs a priming request to establish session-stored sort defaults, session-affinity or rate-based anomaly detection on booklibrary.php requests can also provide detection coverage, though it is not a substitute for patching. Review database logs for anomalous ORDER BY or UNION-style queries against the Joomla backend as part of incident verification.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a classic CWE-89 SQL injection in the OrdaSoft Book Library (Free) component for the Joomla content management system, identified by CPE cpe:2.3:a:ordasoft.com:book_library_(free)_extension_for_joomla. The vulnerable code lives in site/booklibrary.php inside the books() function, which accepts client-supplied 'field' and 'direction' parameters used to build the SQL ORDER BY clause. Each parameter is passed through protectInjectionWithoutQuote(), a function whose only defense is a keyword blacklist that, upon detecting the literal substring 'select', wraps the value in $db->quote(). This is fundamentally broken for two reasons: first, blacklist-based filtering is trivially bypassable, and second, the value is then concatenated directly into an unquoted ORDER BY clause, where identifier quoting provides no protection against injection because ORDER BY does not accept string literals in that position. The attacker reaches the sink by first sending a request that primes session-stored sort defaults, then submits a payload containing the trailing decoy comment '-- xselect' so the blacklist sees 'select' and quotes the value, while the trailing comment neutralizes the added quote characters and leaves the injected SQL intact. The root cause class is improper neutralization of special elements used in an SQL command, and the ordering of the vulnerability in a SELECT/OORDER context means successful exploitation can read, modify, or delete database contents depending on the DBMS privileges of the Joomla database user.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remote unauthenticated SQLi (AV:N/PR:N/UI:N); the deterministic two-step trigger is trivial so AC:L; full database read/write/destroy yields C:H/I:H/A:H with no scope change.
Primary rating from Vendor (Joomla).
CVSS VectorVendor: Joomla
DescriptionCVE.org
Joomla Extension - ordasoft.com - Unauthenticated SQL Injection in Book Library (Free) < 6.4.6 - site/booklibrary.php’s books() function reads the field and direction request parameters and passes each through a function called protectInjectionWithoutQuote(), whose only real protection is a keyword blacklist that, on detecting the literal substring select, wraps the value in $db->quote() instead of rejecting it. The value is then concatenated directly into an unquoted ORDER BY clause, a position where quoting provides no protection at all. Reaching the vulnerable code path requires two conditions: a first request to prime session-stored sort defaults, and a trailing decoy comment (-- xselect) that satisfies the blacklist’s substring check without altering the payload’s effect.
Articles & Coverage 1
Executive ViewAI
A critical, unauthenticated SQL injection vulnerability affects the OrdaSoft Book Library (Free) extension for Joomla in all versions below 6.4.6, with no vendor-released patch identified at time of analysis. Organizations using this extension face potential unauthorized database access, data tampering, and service disruption, which can lead to data breaches, compliance exposure, and operational downtime. Leadership should prioritize immediate inventory and mitigation because exploitation requires no authentication and no public exploit identified at time of analysis.
No vendor-released patch identified at time of analysis; interim mitigations include disabling or removing the OrdaSoft Book Library (Free) extension, restricting access to site/booklibrary.php via WAF or web server ACLs, deploying virtual patching rules to block ORDER BY SQL injection patterns in the field and direction parameters, enforcing least-privilege database accounts, and monitoring web/database logs for exploitation attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-88436
GHSA-hv58-qqxr-w5r2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB