# LMS Lan Management System hit by RCE flaws

Published: 2026-11-18 · Severity: routine · Sectors: Telecommunications
Canonical: https://vorant.io/reports/c5d6ed35-2cb8-5ae1-847e-b051c8bf937a/lms-lan-management-system-hit-by-rce-flaws
Vorant's rating weighs the evidence in the report: confirmed exploitation, victims claimed, CVSS and EPSS, and how many sources agree. It rates the report, not your assets.

> Three CVEs in LMS software allow file-upload RCE, including one unauthenticated via email, plus root privilege escalation in lmsd.

Source: cert.pl — https://cert.pl/en/posts/2026/11/CVE-2026-127142

## What to check

- Applies to: The 3 CVEs named below. Whether you run an affected version is not assessed: check the versions the source lists.
- Exploitation: No exploitation in the wild and no public exploit is recorded for the CVEs named.

CERT Polska coordinated disclosure of three vulnerabilities in LMS (Lan Management System), an open-source ISP/network management platform. CVE-2026-127142 allows an authenticated client-panel user to upload a malicious .htaccess file alongside a PHP payload through the service ticket feature, bypassing storage directory restrictions and achieving remote code execution as the web server user. CVE-2026-127143 affects the lmsd daemon, which loads libraries referenced in the LMS database without validating their source; an attacker with web server or database write access can register a malicious library and trigger a config reload, and because the example systemd unit runs lmsd as root, this results in root-level code execution. CVE-2026-129961 is the most severe: the e-mail-based Helpdesk ticket intake does not filter out .htaccess or PHP-executable attachments, allowing a remote, unauthenticated attacker to send a crafted e-mail ticket and achieve code execution as the web server process simply by having the resulting URL requested, with no login or interaction required.

All three issues were fixed in commits 89dd3f7 (CVE-2026-127142, CVE-2026-127143) and d5059b1 (CVE-2026-129961). The lmsd component has been removed entirely from the codebase; administrators running existing installations that use lmsd are advised to disable and remove it rather than rely on a patch. Defenders operating LMS deployments should update to the fixed commits immediately, audit service ticket and Helpdesk attachment directories for unexpected .htaccess or PHP files, and review systemd unit configurations to ensure daemons do not run as root. There is no indication of in-the-wild exploitation; this was a responsibly reported and coordinated disclosure.

## Mentioned in this report

- Vulnerabilities: CVE-2026-127142, CVE-2026-127143, CVE-2026-129961

## Detection guidance (public sample)

### Web Server Process Spawning Shell on Linux

ATT&CK: T1190

A behavioural hunt for the technique in general, not a signature for the CVEs this report names. Needs linux process_creation logs. Status: experimental. Generated from the report; not run against telemetry.

Apache, nginx or PHP-FPM worker spawning an interactive shell or scripting interpreter, as seen after .htaccess/PHP upload RCE such as the LMS flaws. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

```yaml
title: Web Server Process Spawning Shell on Linux
description: Detects a web server or PHP handler process spawning a shell or scripting
  interpreter. This is the post-exploitation pattern after uploading a PHP payload
  with a malicious .htaccess, as in the LMS ticket and Helpdesk RCE flaws.
tags:
- attack.initial-access
- attack.t1190
- attack.execution
- attack.t1059.004
logsource:
  category: process_creation
  product: linux
detection:
  selection:
    ParentImage|endswith:
    - /apache2
    - /httpd
    - /nginx
    - /php-fpm
    - /php-fpm7
    - /php-fpm8
    Image|endswith:
    - /bash
    - /dash
    - /sh
    - /python
    - /python3
    - /perl
    - /nc
    - /ncat
  filter_mail:
    CommandLine|contains: sendmail
  condition: selection and not filter_mail
falsepositives:
- PHP applications invoking shell helper scripts through exec or system by design
- Web-based admin panels that run maintenance scripts
level: high
id: aa5ea07f-ecc8-5307-9a85-e07e659a0cb7
status: experimental
author: Vorant
references:
- https://cert.pl/en/posts/2026/11/CVE-2026-127142
```

### lmsd Daemon Spawning Shell or Interpreter

ATT&CK: T1059.004

A behavioural hunt for the technique in general, not a signature for the CVEs this report names. Needs linux process_creation logs. Status: experimental. Generated from the report; not run against telemetry.

The LMS lmsd daemon, which commonly runs as root, spawning a shell or interpreter. This indicates a malicious library loaded after a config reload. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

```yaml
title: lmsd Daemon Spawning Shell or Interpreter
description: Detects the LMS lmsd daemon spawning a shell or scripting interpreter.
  lmsd loads libraries referenced in the LMS database without validating them and
  often runs as root, so a malicious registered library yields root code execution
  (CVE-2026-127143).
tags:
- attack.execution
- attack.t1059.004
- attack.privilege-escalation
- attack.t1068
logsource:
  category: process_creation
  product: linux
detection:
  selection:
    ParentImage|endswith: /lmsd
    Image|endswith:
    - /bash
    - /dash
    - /sh
    - /python
    - /python3
    - /perl
    - /nc
    - /ncat
    - /curl
    - /wget
  condition: selection
falsepositives:
- Custom lmsd modules that deliberately shell out to helper scripts
level: high
id: 304b9713-7f71-5c7f-ae6e-33842bc3b29d
status: experimental
author: Vorant
references:
- https://cert.pl/en/posts/2026/11/CVE-2026-127142
```

### htaccess File Created in LMS Web Directory

ATT&CK: T1505.003

A behavioural hunt for the technique in general, not a signature for the CVEs this report names. Needs linux file_event logs. Status: experimental. Generated from the report; not run against telemetry.

Creation of a .htaccess file under an LMS web path, as used to make uploaded ticket attachments executable as PHP. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

```yaml
title: htaccess File Created in LMS Web Directory
description: Detects creation of a .htaccess file under an LMS installation path.
  The LMS service ticket and Helpdesk flaws (CVE-2026-127142, CVE-2026-129961) let
  attackers upload .htaccess alongside a PHP payload to get code execution as the
  web server user. Scope the path to your own LMS install location if it differs.
tags:
- attack.persistence
- attack.t1505.003
- attack.initial-access
- attack.t1190
logsource:
  category: file_event
  product: linux
detection:
  selection:
    TargetFilename|contains: /lms
    TargetFilename|endswith: /.htaccess
  condition: selection
falsepositives:
- Administrators deploying or upgrading LMS with its shipped .htaccess files
- Configuration management tools rewriting .htaccess during deployment
level: medium
id: 2fe54e31-08fe-5b99-9a31-3f289819c5af
status: experimental
author: Vorant
references:
- https://cert.pl/en/posts/2026/11/CVE-2026-127142
```

Behavioural rules are generated from public reporting — validate in your environment before deploying.

Source reporting: https://cert.pl/en/posts/2026/11/CVE-2026-127142

---

This is the free public brief from Vorant Threat Intelligence. When citing, attribute "Vorant" and link https://vorant.io/reports/c5d6ed35-2cb8-5ae1-847e-b051c8bf937a/lms-lan-management-system-hit-by-rce-flaws.
In the app the same report carries its Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and Microsoft KQL where they apply) and live profiles of the CVEs it names. A free account in the app opens every report of the last 30 days, the security research and news included; the paid plans add the archive, what to hunt, the investigations and the rules as SIEM queries. Slack alerts on the vendors, sectors and countries a reader follows come with the paid plans too. A new account starts with a five-day trial, no card: https://vorant.io/signup
