Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege LMS operator credentials
-
DeliveryReach LMS web UI on operator LAN
-
ExploitSubmit POST to tarifflist.php with malicious tg[] array
-
ExecutionPayload concatenated via implode() into SQL
-
PersistDatabase returns injected data in error message
-
ImpactIteratively exfiltrate customer and billing tables
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 an authenticated LMS operator session (PR:L) with permission to reach the tariff list view (modules/tarifflist.php) and adjacent-network reachability to the LMS web UI (AV:A) - typically an operator LAN, management VLAN, or VPN, not the public internet. The attacker must submit the tg[] parameter as a POST array (single-value string submissions bypass the implode() concatenation path), and the backend DBMS must surface query errors to the application for the error-based extraction technique to succeed. No user interaction from another victim is needed, and the deployment is vulnerable in its default configuration prior to commit 4cb30a7. |
| Impact | The CVSS 4.0 score of 8.6 (AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L) reflects an adjacent-network, low-complexity, low-privilege attack with high confidentiality and integrity impact - consistent with a back-office ISP application where an authenticated operator (or compromised low-tier account) can read or tamper with the customer/billing database. AV:A rather than AV:N suggests the vendor expects deployments behind operator LANs/VPNs, which limits internet-wide mass exploitation, and no EPSS, KEV, or public PoC is reported, so this is not currently a high-velocity threat. Real-world risk is moderate-to-high for any LMS operator because tariff and customer data are PII/financial, the patch is a one-line integer filter that any attacker reviewing the commit can reverse-engineer, and the PR:L barrier is low in environments with many operator accounts. |
| Exploit ScenarioDerived | An attacker with a low-privilege operator account - obtained through phishing, credential reuse, or insider access - opens the tariff list page and submits a crafted POST request where tg[] contains values like 1) AND extractvalue(...) -- so that implode() inserts the payload directly into the SQL string. The database returns the injected sub-query result inside an error message, letting the attacker iteratively dump customer records, billing data, and operator password hashes; no public PoC is identified, but the fix commit makes the vulnerable parameter trivial to locate. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
Error-based SQL injection in LMS (LAN Management System) before commit 4cb30a7 allows authenticated attackers to extract sensitive database contents via the tarifflist.php module. The flaw stems from unsanitized concatenation of the POST tg[] array into a SQL query through implode(), and a CERT-PL-coordinated fix is upstream. No public exploit identified at time of analysis.
RemediationAI
Upstream fix available (commit 4cb30a7); released patched version not independently confirmed - operators should pull commit 4cb30a70e7e3d8a0ea53afa2dbef19d5243d449b from https://github.com/chilek/lms or any subsequently tagged release that contains it, which adds Utils::filterIntegers($tags) to coerce tg[] entries to integers in modules/tarifflist.php. As a workaround until deployment, restrict access to the tarifflist.php endpoint via web-server ACLs or remove tariff-list privileges from non-administrative operator roles (trade-off: legitimate operators lose the tariff browse view), and place a WAF/reverse-proxy rule that rejects tg[] values not matching ^[0-9]+$ on POST requests (trade-off: bypassable if request format changes between LMS versions). Review database logs for prior anomalous queries from operator sessions and rotate any credentials, API keys, or customer secrets stored in the LMS database that an attacker could have exfiltrated.
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
LMS (LAN Management System, lms.org.pl) is an open-source PHP-based ISP/network management platform used by operators to manage customers, tariffs, and billing. The vulnerable code in modules/tarifflist.php inside GetTariffList() passed the user-controlled tg[] array directly to implode() and concatenated the result into a SQL WHERE/IN clause, an archetypal CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) pattern. Because tariff group IDs are expected to be integers but were never cast or whitelisted, attackers could break out of the integer list context and append arbitrary SQL fragments that the DBMS surfaces through error messages, enabling error-based extraction.
Know when Lms 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:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
Adjacent operator LAN access (AV:A), authenticated low-priv operator (PR:L), no user interaction; error-based SQLi yields full read/write of app DB (C:H/I:H) with limited availability impact (A:L).
Primary rating from Vendor (CERT-PL).
CVSS VectorVendor: CERT-PL
DescriptionCVE.org
An SQL Injection vulnerability exists in LMS (LAN Management System) before commit 4cb30a7 within the "tarifflist.php" module due to insufficient sanitization of the POST "tg[]" parameter. The application directly concatenates user-supplied array values into an SQL query using "implode()", allowing authenticated attackers to perform Error-Based SQL injection and extract sensitive database information.
Executive ViewAI
LMS (LAN Management System) contains a SQL injection vulnerability (CVE-2026-40455, CVSS 8.6) that allows authenticated users to extract sensitive database contents. The vulnerability poses insider threat and account compromise risks; no public exploit has been identified at time of analysis, but a patch is available. Immediate deployment of the fix across all affected instances is required to minimize exposure.
Apply vendor patch.
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.
lms version <= LMS_011123 contains a Local File Disclosure vulnerability in File reading functionality in LMS module tha
Path traversal in Frappe Learning Management System (LMS) versions 2.50.0 and below allows authenticated users with cour
OS command injection in LMS (LAN Management System) before commit 9fcb4de allows authenticated adjacent attackers to exe
Payment validation bypass in Frappe LMS 2.51.0 and earlier lets an authenticated user enroll in paid courses for free by
Reflected Cross-Site Scripting in the designthemes LMS WordPress theme (versions 9.7 and earlier) allows unauthenticated
Unauthenticated reflected cross-site scripting in the Designthemes LMS WordPress theme versions 8.3 and earlier allows r
Stored cross-site scripting (XSS) in Frappe Learning Management System versions 2.27.0 through 2.47.x allows unauthentic
SQL injection in Forma LMS up to and including version 4.1.43 allows an attacker with an authenticated session on the ad
Frappe Learning Management System versions prior to 2.46.0 allow authenticated students to modify their own quiz scores
Frappe Learning Management System (LMS) prior to 2.54.2 lets authenticated low-privileged users retrieve and view certif
Missing server-side authorization on quiz submission records in Frappe Learning Management System (LMS) lets an authenti
Authenticated users of Frappe LMS can complete a paid course or certificate purchase for an arbitrary amount in versions
EUVD-2026-37874
GHSA-qrw9-xj5g-qxw8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB