CVE-2025-14847 CrowdStrike LogScale · LogScale

Detect MongoDB Improper Handling of Length Parameter Inconsistency (CVE-2025-14847) in CrowdStrike LogScale

Detects exploitation attempts targeting CVE-2025-14847, an improper handling of length parameter inconsistency vulnerability (CWE-130) in MongoDB and MongoDB Server. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog, indicating active exploitation in the wild. Attackers may craft malformed requests with inconsistent length parameters to cause unexpected server behavior, potentially leading to denial of service, data corruption, or unauthorized access.

MITRE ATT&CK

Tactic
Initial Access Impact

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
#event_simpleName IN ("ProcessRollup2", "SyntheticProcessRollup2", "NetworkConnectIP4", "DnsRequest")
| ImageFileName CONTAINS "mongod" OR ImageFileName CONTAINS "mongos"
  OR (RemotePort IN ["27017", "27018", "27019"] AND (CommandLine CONTAINS "mongo" OR ParentBaseFileName CONTAINS "mongod"))
| eval threat_indicator=if(
    CommandLine MATCHES "(?i).*(--eval|--shell|javascript).*",
    "suspicious_mongo_cli",
    if(RemotePort IN ["27017", "27018", "27019"], "mongo_port_access", "mongo_process")
  )
| stats count() AS event_count, values(RemoteIP) AS remote_ips, values(CommandLine) AS commands BY ComputerName, ImageFileName, threat_indicator
| where event_count > 0
| sort - event_count
high severity medium confidence

CrowdStrike Falcon CQL detection targeting MongoDB process and network telemetry to identify exploitation activity associated with CVE-2025-14847. Looks for mongod/mongos processes and connections to MongoDB ports with suspicious command-line patterns.

Data Sources

CrowdStrike Falcon EndpointCrowdStrike Network DetectionProcess Telemetry

Required Tables

ProcessRollup2SyntheticProcessRollup2NetworkConnectIP4

False Positives & Tuning

  • Legitimate MongoDB DBA tools and administrative scripts connecting to MongoDB ports
  • MongoDB client libraries used by application processes appearing as network connections
  • Automated backup agents (mongodump, mongorestore) running on MongoDB hosts
  • MongoDB Ops Manager or Cloud Manager agents performing routine health checks

Other platforms for CVE-2025-14847


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 1Send Malformed BSON Message with Inconsistent Length to MongoDB

    Expected signal: MongoDB diagnostic log should record a parse error, assertion failure, or connection reset. Network capture should show malformed wire protocol frame followed by TCP RST or server-side close.

  2. Test 2Fuzzing MongoDB Port with Length Boundary Payloads

    Expected signal: Multiple connection events on port 27017 in rapid succession, followed by MongoDB log entries for parser errors or assertion failures for each boundary value tested.

  3. Test 3Verify MongoDB Version and Patch Status

    Expected signal: MongoDB audit log (if enabled) records a connection and command execution from localhost. Authentication log shows anonymous or credential-less connection attempt.

Unlock Pro Content

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

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections