CVE-2025-2749 Elastic Security · Elastic

Detect Kentico Xperience Path Traversal and Arbitrary File Upload (CVE-2025-2749) in Elastic Security

Detects exploitation of CVE-2025-2749, a path traversal and unrestricted file upload vulnerability in Kentico Xperience CMS. Attackers can traverse directory boundaries to write arbitrary files — including web shells — to locations outside the intended upload path, enabling remote code execution on the hosting server. This CVE is listed in the CISA Known Exploited Vulnerabilities catalog.

MITRE ATT&CK

Tactic
Initial Access Execution Persistence

Elastic Detection Query

Elastic Security (Elastic)
eql
sequence by host.name with maxspan=5m
  [network where event.category == "network" and http.request.method in ("POST", "PUT")
   and (
     url.path like "*/kentico/*" or
     url.path like "*/cmspages/*" or
     url.path like "*/cmsformcontrols/*" or
     url.path like "*/uploadfile/*"
   )
   and (
     url.path like "*../*" or
     url.path like "*%2e%2e*" or
     url.path like "*%252e*" or
     url.path like "*..%2f*"
   )
  ]
  [file where event.type in ("creation", "change")
   and file.extension in ("aspx", "asp", "ashx", "asmx", "php", "jsp", "exe", "dll", "config")
   and not file.path like "*\\Temp\\*"
  ]
critical severity medium confidence

Correlates suspicious POST/PUT requests to Kentico upload paths containing path traversal sequences with subsequent creation of executable or script files on the server, indicating successful exploitation.

Data Sources

Elastic Agent Network EventsElastic Agent File EventsFilebeat IIS Module

Required Tables

logs-endpoint.events.network-*logs-endpoint.events.file-*

False Positives & Tuning

  • Legitimate CMS upgrades or hotfix installations that write .aspx files to new paths
  • Authorized penetration tests against Kentico environments
  • CMS maintenance scripts that temporarily write configuration files outside normal paths

Other platforms for CVE-2025-2749


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 1Kentico Path Traversal Upload Simulation

    Expected signal: IIS access log records a POST to /kentico/cmsformcontrols/uploader.ashx with a filename parameter containing '../..' sequences; file creation event may appear in Windows Security log under w3wp.exe

  2. Test 2Encoded Path Traversal Bypass Attempt

    Expected signal: IIS log shows double-encoded percent sequences in the request URL; WAF logs may show allowed request if only basic traversal patterns are blocked

  3. Test 3Web Shell Execution Post-Exploit Simulation

    Expected signal: Windows Security Event ID 4663 fires for file creation under w3wp.exe; DeviceFileEvents in Defender shows .aspx file written by w3wp.exe; subsequent HTTP GET to the shell path appears in IIS logs

Last updated: 2026-06-19 Research depth: standard
References (2)

Unlock Pro Content

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

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections