CVE-2026-54420 Google Chronicle · YARA-L

Detect LiteSpeed cPanel Plugin UNIX Symbolic Link (Symlink) Following Vulnerability in Google Chronicle

Detects exploitation of CVE-2026-54420, a UNIX symbolic link (symlink) following vulnerability in the LiteSpeed cPanel Plugin. Attackers with local access can create malicious symlinks to read or overwrite files outside the intended directory, potentially leading to privilege escalation or unauthorized file access on cPanel-managed hosting servers. This vulnerability is actively exploited in the wild (CISA KEV).

MITRE ATT&CK

Tactic
Privilege Escalation Defense Evasion Credential Access

YARA-L Detection Query

Google Chronicle (YARA-L)
yaral
rule litespeed_cpanel_symlink_following_cve_2026_54420 {
  meta:
    author = "df00tech Detection Engineering"
    description = "Detects CVE-2026-54420 LiteSpeed cPanel Plugin symlink following exploitation"
    severity = "HIGH"
    priority = "HIGH"
    cve = "CVE-2026-54420"
    mitre_attack = "T1574, T1548, T1083"
    yara_version = "YL2.0"
    rule_version = "1.0"
    false_positives = "LiteSpeed upgrades, cPanel maintenance scripts"

  events:
    (
      $e.metadata.event_type = "FILE_CREATION" or
      $e.metadata.event_type = "FILE_MODIFICATION"
    )
    and (
      re.regex($e.target.file.full_path, `(?i)/usr/local/lsws|/var/lsws|/etc/lsws|/opt/cpanel`) or
      re.regex($e.principal.process.file.full_path, `(?i)lsphp|lshttpd|litespeed|lsup\.sh`)
    )
    and $e.target.file.symlink = true
    and re.regex($e.target.file.symlink_target_path, `(?i)/etc/passwd|/etc/shadow|/root|/etc/ssh|/etc/sudoers|/proc/`)
    
  condition:
    $e
}
high severity medium confidence

Chronicle YARA-L 2.0 rule detecting file creation or modification events where LiteSpeed processes or LiteSpeed directories are involved in creating symlinks targeting sensitive system paths, consistent with CVE-2026-54420 exploitation.

Data Sources

Chronicle SIEMGoogle Cloud Chronicle UDMEndpoint telemetry via Chronicle agents

Required Tables

UDM Events (FILE_CREATION, FILE_MODIFICATION)

False Positives & Tuning

  • LiteSpeed plugin upgrade scripts creating internal symlinks during version transitions
  • cPanel provisioning workflows that symlink LiteSpeed configuration files to shared directories
  • Cloud hosting automation agents that manage LiteSpeed PHP pools via symlinks
  • Security baseline enforcement tools that normalize symlink structures in web server directories

Other platforms for CVE-2026-54420


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Create Malicious Symlink in LiteSpeed Plugin Directory Targeting /etc/shadow

    Expected signal: auditd SYSCALL=symlink with a1 pointing to /etc/shadow; FileOpenInfo event on /etc/shadow via the symlink path; process creating the symlink is a non-root user

  2. Test 2Symlink Traversal via LiteSpeed Binary Process Simulation

    Expected signal: SYSCALL=symlink event for the ln -sv command; stat and readlink syscalls on the symlink; auditd logs should capture the effective UID and process name

  3. Test 3Enumerate LiteSpeed Plugin Directory and Create Targeted Symlink Chain

    Expected signal: Multiple syscall events: find spawning openat calls on LiteSpeed paths; SYSCALL=symlink for the ln command; readdir on /root/.ssh via the symlink (if permitted); auditd AVC denials if SELinux/AppArmor active

Unlock Pro Content

Get the full detection package for CVE-2026-54420 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections