CVE-2026-6428
Essential information
- Published
- 13/06/2026 19:16
- Modified
- 13/06/2026 17:16
- Author
- The MITRE Corporation
- Creator
- The MITRE Corporation
- CVSS
- 7.5 (v2) 7.6 HIGH (v3.1) 6.1 MEDIUM (v4.0)
- CISA KEV
- No
- CWE
- CWE-89
- CVSS vector
-
AV:N/AC:L/Au:S/C:C/I:N/A:PCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:LCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
CVSS metrics
- Access vector
- Network
- Access complexity
- Low
- Authentication
- Single
- Confidentiality impact
- Complete
- Integrity impact
- None
- Availability impact
- Partial
- Exploitability
- —
- Remediation level
- —
- Report confidence
- —
- Temporal score
- —
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- Low
- Availability impact
- Low
- Exploit code maturity
- —
- Remediation level
- —
- Report confidence
- —
- Temporal score
- —
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Low
- User interaction
- None
- Confidentiality (V)
- High
- Confidentiality (S)
- None
- Integrity (V)
- Low
- Integrity (S)
- None
- Availability (V)
- Low
- Availability (S)
- None
- Exploit maturity
- PROOF_OF_CONCEPT
Description
SQL Injection in reports/catalogue_out.pl in Koha Community Koha through 22.11.37, 23.x, 24.x before 24.11.16, 25.05.x before 25.05.11, 25.11.x before 25.11.05, 26.05.x before 26.05.01, and 26.11.x before 26.11.00 allows an authenticated staff user with the Reports module flag to read arbitrary data from the Koha application database via the Filter URL parameter when the Criteria parameter matches /branchcode/.
The vulnerable sink in sub calculate concatenates the unmodified Filter request parameter directly into a LIKE clause of the auxiliary $strsth2 statement and executes it via DBI without bound parameters:
my $f = @$filters[0];
$f =~ s/\*/%/g;
$strsth2 .= " AND $column LIKE '$f' ";
This enables error-based SQL injection (e.g., via EXTRACTVALUE) and full read access to sensitive tables including borrowers (password hashes, 2FA secrets, PII), borrower_password_recovery, api_keys, and sessions.
Proof of concept (error-based, single request):
GET /cgi-bin/koha/reports/catalogue_out.pl?do_it=1&output=screen&Limit=10&Criteria=branchcode&Filter=x'+AND+EXTRACTVALUE(1,CONCAT(0x7e,VERSION(),0x7c,USER(),0x7c,DATABASE(),0x7e))--+-
Cookie: CGISESSID=<LIBRARIAN_SESSION>
The response body contains the DBI exception leaking the MariaDB version, database user, client IP, and database name, after which arbitrary data can be paged out using LIMIT n,1 / SUBSTRING(...).
The vulnerable sink was introduced in commit 6bb77ae3e4 (2008-07-09); CVE-2015-4633 patched the same class in sibling files but did not generalise the fix to reports/catalogue_out.pl. Fixed in Koha 22.11.38, 24.11.16, 25.05.11, 25.11.05, 26.05.01, and 26.11.00 by replacing the raw concatenation with a parameterised placeholder.
NVD status
- Status
- Received — CVE has been recently published to the CVE List and has been received by the NVD.
- Source
- 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- NVD
- View on NVD
Affected products (CPE)
| Product | CPE |
|---|---|
| koha / koha | cpe:2.3:a:koha:koha:*:*:*:*:*:*:*:* |
| koha / koha | cpe:2.3:a:koha:koha:22.11.0-22.11.37:*:*:*:*:*:*:* |
| koha / koha | cpe:2.3:a:koha:koha:23.*:*:*:*:*:*:*:* |
| koha / koha | cpe:2.3:a:koha:koha:24.*:<24.11.16:*:*:*:*:*:* |
| koha / koha | cpe:2.3:a:koha:koha:25.05.*:<25.05.11:*:*:*:*:*:* |
| koha / koha | cpe:2.3:a:koha:koha:25.11.*:<25.11.05:*:*:*:*:*:* |
| koha / koha | cpe:2.3:a:koha:koha:26.05.*:<26.05.01:*:*:*:*:*:* |
| koha / koha | cpe:2.3:a:koha:koha:26.11.*:<26.11.00:*:*:*:*:*:* |