Skip to main content

LMS CVE-2026-40455

| EUVDEUVD-2026-37874 HIGH
SQL Injection (CWE-89)
2026-06-18 CERT-PL GHSA-qrw9-xj5g-qxw8
8.6
CVSS 4.0 · Vendor: CERT-PL
Share

Severity by source

Vendor (CERT-PL) PRIMARY
8.6 HIGH
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/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
vuln.today AI
7.6 HIGH

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).

3.1 AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
4.0 AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (CERT-PL).

CVSS VectorVendor: CERT-PL

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

2
Source Code Evidence Fetched
Jun 18, 2026 - 12:30 vuln.today
Analysis Generated
Jun 18, 2026 - 12:30 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-40455 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy