{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-70372", "assignerOrgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c", "state": "PUBLISHED", "assignerShortName": "TuranSec", "dateReserved": "2026-08-04T07:13:07.992Z", "datePublished": "2026-08-04T13:00:12.836Z", "dateUpdated": "2026-08-05T12:53:09.599Z" }, "containers": { "cna": { "title": "Koha: SQL Injection in reports/bor_issues_top.pl", "descriptions": [ { "lang": "en", "value": "Koha's reports/bor_issues_top.pl builds dynamic SQL in sub calculate by concatenating several user-controlled request parameters directly into the query string. The Criteria parameter is only normalized by a table-name prefix and is never whitelisted, landing verbatim in identifier positions (SELECT DISTINCTROW, GROUP BY, ORDER BY); Filter values are concatenated raw into single-quoted LIKE, BETWEEN, and comparison fragments, and the Limit parameter is appended raw to a LIMIT clause. An authenticated staff user holding the reports module permission can inject arbitrary SQL and read any table reachable by the Koha database user, including borrowers (password hashes, two-factor secrets, personal data), api_keys, and sessions." } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "CWE-89 SQL Injection", "cweId": "CWE-89", "type": "CWE" } ] } ], "affected": [ { "vendor": "Koha Community", "product": "Koha", "collectionURL": "https://koha-community.org/", "repo": "https://gitlab.com/koha-community/Koha", "programFiles": [ "reports/bor_issues_top.pl" ], "versions": [ { "version": "0", "lessThan": "24.11.17", "versionType": "semver", "status": "affected" }, { "version": "25.05.00", "lessThan": "25.05.12", "versionType": "semver", "status": "affected" }, { "version": "25.11.00", "lessThan": "25.11.06", "versionType": "semver", "status": "affected" }, { "version": "26.05.00", "lessThan": "26.05.01", "versionType": "semver", "status": "affected" } ], "defaultStatus": "unaffected" } ], "references": [ { "url": "https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42369" }, { "url": "https://koha-community.org/koha-25-05-12-released/" }, { "url": "https://download.koha-community.org/koha-25.05.12.tar.gz" } ], "credits": [ { "lang": "en", "value": "Sanjar Tulkinov Anvar o'g'li", "type": "finder" } ], "metrics": [ { "cvssV3_1": { "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" } } ], "providerMetadata": { "orgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c", "shortName": "TuranSec", "dateUpdated": "2026-08-05T12:53:09.599Z" } }, "adp": [ { "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 6.5, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "LOW", "confidentialityImpact": "HIGH" } }, { "other": { "type": "ssvc", "content": { "timestamp": "2026-08-04T17:22:31.575799Z", "id": "CVE-2026-70372", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-08-04T17:23:04.169Z" } } ] } }