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/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
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
Lifecycle Timeline
2DescriptionCVE.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.
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
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-37874
GHSA-qrw9-xj5g-qxw8