VORANT. Threat Intelligence Research Create a free account

LMS Lan Management System hit by RCE flaws

Published Vorant ratingroutine vulnerability Telecommunications

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.

Sourcecert.pl — open the original

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-127142CVE-2026-127143CVE-2026-129961

Detection guidance

Web Server Process Spawning Shell on Linux

ATT&CK T1190 · status experimental · needs linux process_creation logs · generated from the report, not run against telemetry

A behavioural hunt for the technique in general, not a signature for the CVEs this report names.

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.

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 · status experimental · needs linux process_creation logs · generated from the report, not run against telemetry

A behavioural hunt for the technique in general, not a signature for the CVEs this report names.

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.

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 · status experimental · needs linux file_event logs · generated from the report, not run against telemetry

A behavioural hunt for the technique in general, not a signature for the CVEs this report names.

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.

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

Free public brief. The Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and KQL where they apply) are in the app with a free account, no card. Slack alerts on the vendors you run come with the paid plans, and a new account gets five days of them.

What this brief leaves out

This page is the free tier: the write-up, the severity, the names. 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.

It sits in a corpus of 17,321 reports from 146 sources, 698 of them written in the last seven days, and it grows through the day.

A new account starts with five days of all of it, no card, then keeps the last 30 days of reporting free, the research and news included. Slack alerts are a paid-plan feature: name the vendors you run and Slack hears about the reports that touch them, not the rest of the week's. Nothing is charged unless you subscribe.

Create a free account   What it costs