Threat reportVulnerabilityTL-2026-6341
LMS (Lan Management System) vulnerabilities: CVE-2026-127142, CVE-2026-127143, CVE-2026-129961 (file upload to RCE, lmsd library loading)
CERT Polska disclosed three vulnerabilities in LMS (LAN Management System). CVE-2026-127142 and CVE-2026-129961 are unrestricted file uploads (.htaccess plus PHP) leading to code execution with web server privileges; CVE-2026-129961 is exploitable by an unauthenticated remote attacker via e-mail Helpdesk ticket intake.
Key facts
| Identifiers | TL-2026-6341, CVE-2026-127142, CVE-2026-127143, CVE-2026-129961, CVE-2026-40455 |
|---|---|
| Severity | HIGH |
| First disclosed | |
| Affected products | LMS (chilek) LMS (LAN Management System) - client panel service tickets, lmsd, e-mail Helpdesk intake |
| Weaknesses (CWE) | CWE-434, CWE-829 |
| Malware | PHP, systemd |
| MITRE ATT&CK techniques | T1059 Command and Scripting Interpreter, T1078 Valid Accounts, T1190 Exploit Public-Facing Application, T1505.003 Server Software Component: Web Shell, T1574 Hijack Execution Flow |
| Motivation | UNKNOWN |
| Target sectors | telecoms, internet service providers |
| Target regions | poland, Europe |
| Detection rules | 9 (1 shown free) |
| Sources | 9 cited sources |
Detection coverage
As of 2026-11-18, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6341 across Splunk SPL, Microsoft KQL and Sigma, covering 8 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: LMS CVE-2026-129961 / CVE-2026-127142 - HTTP Request to PHP or .htaccess in Ticket Attachment Storage
TL-2026-6341: Detects web requests that fetch a PHP script (or .htaccess) from LMS helpdesk/ticket attachment storage. After the unrestricted upload in CVE-2026-129961 (unauthenticated e-mail Helpdesk intake) or CVE-2026-127142 (authenticated client panel ticket upload), the attacker triggers code execution with web server privileges by requesting the uploaded PHP file URL. Attachment storage should never be served as executable script, so any match is high-signal.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1190, T1505.003
- Data sources: apache access logs (index=web, sourcetype=access_combined / apache:access), WAF or reverse proxy CommonSecurityLog, webserver logsource
- Severity: high
- Confidence: high
Splunk SPL
index=web sourcetype IN ("access_combined","apache:access") earliest=-24h
| eval src_ip=coalesce(src, clientip), uri_path=coalesce(uri_path, uri), user_agent=coalesce(http_user_agent, useragent), dest=coalesce(dest, host)
| where match(uri_path, "(?i)/(helpdesk|tickets?|rtattach|attachments?|storage|documents?)/") AND match(uri_path, "(?i)(\.(php[0-9]?|phtml|phar|pht)|/\.htaccess)$")
| stats count AS requests min(_time) AS first_seen max(_time) AS last_seen values(status) AS http_status values(uri_path) AS uri_paths values(user_agent) AS user_agents BY src_ip, dest
| eval outcome=if(mvfind(http_status, "^2")>=0, "served_or_executed", "blocked_or_error")
| convert ctime(first_seen) ctime(last_seen)Microsoft KQL
CommonSecurityLog
| where TimeGenerated > ago(24h)
| where RequestURL matches regex @"(?i)/(helpdesk|tickets?|rtattach|attachments?|storage|documents?)/"
| where RequestURL matches regex @"(?i)(\.(php[0-9]?|phtml|phar|pht)|/\.htaccess)(\?|$)"
| summarize Requests=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), Urls=make_set(RequestURL, 20), Actions=make_set(DeviceAction, 5) by SourceIP, DestinationHostName, RequestMethod
| project FirstSeen, LastSeen, SourceIP, DestinationHostName, RequestMethod, Requests, Urls, ActionsSigma
title: LMS Ticket Attachment Storage Serving PHP or .htaccess (CVE-2026-129961, CVE-2026-127142)
id: 6f1d3a52-8c4b-4e7a-9b21-3d5e7a1c0f01
status: experimental
description: Detects HTTP requests for PHP scripts or .htaccess files inside LMS helpdesk/ticket attachment storage, the execution trigger after the unrestricted file upload flaws CVE-2026-129961 and CVE-2026-127142.
references:
- https://cert.pl/en/posts/2026/11/CVE-2026-127142/
author: Threadlinqs Team
date: 2026-11-18
tags:
- attack.initial-access
- attack.t1190
- attack.persistence
- attack.t1505.003
- cve.2026.127142
- cve.2026.129961
logsource:
category: webserver
detection:
selection_dir:
cs-uri-stem|contains:
- '/helpdesk/'
- '/ticket/'
- '/tickets/'
- '/rtattach/'
- '/attachment/'
- '/attachments/'
- '/storage/'
- '/documents/'
selection_ext:
cs-uri-stem|endswith:
- '.php'
- '.php5'
- '.phtml'
- '.phar'
- '.pht'
- '/.htaccess'
condition: selection_dir and selection_ext
falsepositives:
- Legitimate PHP application files stored under a directory named storage or documents
- Vulnerability scanners probing the attachment directory
level: high
Known false positives:
- Legitimate LMS PHP files that live under a path containing storage/ or documents/
- Authorised vulnerability scans or pentests probing the attachment directory
Tuning notes: Replace the directory regex with the real LMS attachment storage path of your deployment (check the LMS config for the helpdesk/ticket attachment dir; the keywords here are generic and unverified against your layout). Exclude scanner source IPs. Pivot on src_ip to the preceding e-mail intake or client panel ticket POST. A 2xx status means the file was served or executed; 403/404 means probing only.
- LMS CVE-2026-129961 / CVE-2026-127142 - PHP File Written to Ticket Attachment Storage · unlock with TL Creds
- LMS Web Server Process Running Download, Recon or Reverse-Shell Utilities · unlock with TL Creds
- lmsd Daemon Running as Root Spawning Shell or Utility (CVE-2026-127143) · unlock with TL Creds
- LMS CVE-2026-127142 - [indicator] Override Written to Ticket Attachment Storage · unlock with TL Creds
- LMS Web Server Process Writing PHP File Outside Cache Directories (Web Shell Drop) · unlock with TL Creds
- LMS Web Server Process Outbound Connection to Public IP on Non-Standard Port (C2 / Reverse Shell) · unlock with TL Creds
- LMS Web Server Process Spawning Shell (Post-Exploitation of Uploaded PHP) · unlock with TL Creds
- LMS Web Server Process Writing Shared Library (lmsd Library Hijack Staging, CVE-2026-127143) · unlock with TL Creds
Indicators of compromise
As of 2026-11-18, Threadlinqs Intelligence tracks 8 indicators of compromise for TL-2026-6341.
Technical analysis
CVE-2026-127143 lets the lmsd daemon load attacker-registered libraries, and lmsd can run as root under the example systemd unit.
On 18 November 2026 CERT Polska published a coordinated-disclosure advisory covering three vulnerabilities in LMS (LAN Management System), a PHP/Perl/C suite used by ISP-style network operators for customer records, network inventory, billing, helpdesk tickets and generation of network configuration. The issues were reported by Robert Jaroszuk of Nordasys. The advisory does not state CVSS scores, in-the-wild exploitation, IOCs or attribution, and does not give step-by-step exploitation details; the HIGH severity on this record is an analyst assessment based on the unauthenticated remote code execution impact of CVE-2026-129961.
CVE-2026-127142 (CWE-434, affects all versions before commit 89dd3f7): the service ticket feature of the client panel does not verify the type or name of attached files. An authenticated attacker uploads an .htaccess file that overrides the access restrictions on the upload storage directory, together with a PHP script. Requesting the PHP file's URL executes the attacker's code with the web server's privileges.
CVE-2026-129961 (CWE-434, affects all versions before commit d5059b1): the e-mail Helpdesk ticket intake does not reject Apache .htaccess files or PHP-executable files when saving ticket attachments. A remote, unauthenticated attacker sends an e-mail ticket with a malicious attachment; in the default configuration anyone can request the saved file's URL and run attacker code with web server privileges. No operator interaction or LMS client session is required, making this the most severe of the three.
CVE-2026-127143 (CWE-829, affects all versions before commit 89dd3f7): the lmsd daemon loads libraries listed in the LMS database without verifying they come from a trusted location. An attacker with access to the web server process, or with write access to the LMS database (for example after exploiting one of the upload flaws), can register a malicious library and trigger a configuration reload, causing lmsd to load and execute it. Because the example systemd unit does not set a separate user, lmsd runs as root, so the code runs with root privileges. Chaining this with the upload flaws is an analyst inference: it would give a path from remote unauthenticated e-mail to root. The fix removes the lmsd component; for existing installations that use lmsd, CERT Polska recommends disabling and removing it.
MITRE ATT&CK techniques by tactic:
Execution
T1059 Command and Scripting Interpreter
Initial Access
T1078 Valid Accounts; T1190 Exploit Public-Facing Application
Persistence
T1505.003 Server Software Component: Web Shell
stealth
Remediation
Patches
- Commit 89dd3f7 (CVE-2026-127142, CVE-2026-127143; lmsd removed)
- Commit d5059b1 (CVE-2026-129961)
Immediate actions
- Upgrade LMS to a version containing commits 89dd3f7 (CVE-2026-127142, CVE-2026-127143) and d5059b1 (CVE-2026-129961)
- Disable and remove lmsd on existing installations that use it
- Review Helpdesk/service ticket attachment storage for .htaccess and PHP files and remove any that are unexpected
Workarounds
- Disable and remove the lmsd component
Longer-term hardening
- Run the web server and lmsd as separate unprivileged users; never run lmsd as root
- Block script execution and .htaccess overrides in attachment storage directories
Affected and fixed versions
- LMS (chilek) — LMS (LAN Management System) - client panel service tickets, lmsd, e-mail Helpdesk intake
Vulnerable versions: All versions before commit 89dd3f7 (CVE-2026-127142, CVE-2026-127143); All versions before commit d5059b1 (CVE-2026-129961)
Fixed in: Commit 89dd3f7; Commit d5059b1
Timeline
- CERT Polska publishes an earlier advisory for three other LMS flaws (CVE-2026-40455, CVE-2026-40456, CVE-2026-40457), showing continued security scrutiny of the product
- Threadlinqs tracks the three LMS flaws as a single patched, HIGH-severity (analyst-assessed) vulnerability record; no in-the-wild exploitation, CVSS score or attribution is stated by the source
- CVE records for CVE-2026-127142, CVE-2026-127143 and CVE-2026-129961 published on cve.org with CWE-434 and CWE-829 classifications
- CERT Polska recommends that existing installations using lmsd disable and remove it, since the fix removes the component rather than hardening it
- CVE-2026-129961 (unauthenticated .htaccess/PHP upload via e-mail Helpdesk intake, CWE-434) disclosed; fixed in commit d5059b1
- CVE-2026-127143 (lmsd loads untrusted libraries, root via example systemd unit, CWE-829) disclosed; fixed in commit 89dd3f7 by removing lmsd
- CVE-2026-127142 (authenticated .htaccess/PHP upload via client panel service tickets, CWE-434) disclosed; fixed in commit 89dd3f7
- CERT Polska publishes the coordinated-disclosure advisory for three LMS vulnerabilities, credited to Robert Jaroszuk (Nordasys)
Sources cited
- CERT Polska: Vulnerabilities in LMS software cert.pl · Advisory · 2026-11-18
- CVE-2026-127142 record CVE Program · Advisory · 2026-11-18
- CVE-2026-127143 record CVE Program · Advisory · 2026-11-18
- CVE-2026-129961 record CVE Program · Advisory · 2026-11-18
- CERT Polska: earlier LMS advisory (CVE-2026-40455/40456/40457) cert.pl · Advisory · 2026-06-18
- CERT Polska coordinated vulnerability disclosure process cert.pl · Research · 2026-11-18
- CWE-434: Unrestricted Upload of File with Dangerous Type MITRE · Research · 2026-11-18
- CWE-829: Inclusion of Functionality from Untrusted Control Sphere MITRE · Research · 2026-11-18
- LMS source repository (chilek/lms) GitHub · Code repository · 2026-11-18
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 9 sources; published ; last updated —.