CVE-2025-54236 CrowdStrike LogScale · LogScale

Detect Adobe Commerce / Magento Improper Input Validation (CVE-2025-54236) in CrowdStrike LogScale

Detects exploitation of CVE-2025-54236, an improper input validation vulnerability in Adobe Commerce and Magento. This KEV-listed vulnerability allows attackers to submit maliciously crafted input to Commerce/Magento endpoints, potentially leading to remote code execution, unauthorized data access, or store compromise. Detection focuses on anomalous HTTP request patterns to Magento/Commerce endpoints, unexpected PHP execution, and indicators of post-exploitation activity.

MITRE ATT&CK

Tactic
Initial Access Execution Persistence Impact

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
#event_simpleName=NetworkReceiveAcceptIP4
| ProcessImageFileName = /(?i)(httpd|nginx|php|php-fpm|w3wp)\.exe?$/
| RemoteAddressIP4 = *
| LocalPort in (80, 443, 8080, 8443)
| join {
    #event_simpleName=ProcessRollup2
    | ImageFileName = /(?i)(httpd|nginx|php|php-fpm|w3wp)\.exe?$/
    | ChildImageFileName = /(?i)(sh|bash|cmd\.exe|powershell\.exe|wget|curl|python)\.?\d*$/
    | groupby([ComputerName, ParentProcessId, ChildProcessId, ChildImageFileName, CommandLine], function=count())
  } [ComputerName, ProcessId=ParentProcessId]
| eval risk=if(match(CommandLine, /(?i)(curl|wget|base64|python|nc |ncat|bash -i|powershell -enc)/), "critical", "high")
| sort -_count
| select ComputerName, ImageFileName, ChildImageFileName, CommandLine, RemoteAddressIP4, LocalPort, risk
critical severity high confidence

CrowdStrike CQL detecting web server processes (Apache, nginx, PHP, IIS) spawning suspicious child processes such as shells, wget, curl, or interpreters — a strong post-exploitation signal following CVE-2025-54236 exploitation.

Data Sources

CrowdStrike Falcon SensorProcess TelemetryNetwork Telemetry

Required Tables

ProcessRollup2NetworkReceiveAcceptIP4

False Positives & Tuning

  • Magento cron jobs legitimately invoking bash scripts for maintenance tasks
  • Composer package manager running curl for extension downloads during deployments
  • Custom Magento modules that use PHP exec() for legitimate image processing or PDF generation
  • DevOps automation scripts that run under the web server user context during deployments

Other platforms for CVE-2025-54236


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 1Magento REST API Malformed Input Fuzzing

    Expected signal: Web server access logs should show POST requests to /rest/V1/products and /rest/V1/customers with large Content-Length values and HTTP 400/500 response codes

  2. Test 2PHP Web Shell Upload via Compromised Magento Admin

    Expected signal: IIS/Apache logs showing POST to admin CMS endpoint; filesystem monitoring alerts on new .php file creation in pub/media/; process execution logs if PHP is evaluated

  3. Test 3Rapid Sequential API Endpoint Reconnaissance

    Expected signal: Web server access logs showing rapid sequential POST requests to multiple /rest/V1/ endpoints from a single source IP within a short timeframe

Unlock Pro Content

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

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections