CVE-2025-47813 Microsoft Sentinel · KQL

Detect Wing FTP Server Information Disclosure via Error Messages (CVE-2025-47813) in Microsoft Sentinel

Detects potential exploitation of CVE-2025-47813, an information disclosure vulnerability in Wing FTP Server (CWE-209) where detailed error messages expose sensitive server-side information. This vulnerability is actively exploited in the wild (CISA KEV). Attackers may probe the FTP server with malformed or unexpected requests to trigger verbose error responses revealing internal paths, software versions, configuration details, or stack traces.

MITRE ATT&CK

Tactic
Discovery Reconnaissance

KQL Detection Query

Microsoft Sentinel (KQL)
kusto
union isfuzzy=true
(
    W3CIISLog
    | where csUriStem contains "wftpserver" or csHost contains "wftpserver"
    | where scStatus in (500, 400, 401, 403, 530)
    | where scBytes > 500
    | project TimeGenerated, cIP, csHost, csUriStem, scStatus, scBytes, csUserAgent, csMethod
),
(
    CommonSecurityLog
    | where DeviceVendor contains "Wing" or DeviceProduct contains "WingFTP" or DeviceProduct contains "Wing FTP"
    | where Activity contains "error" or Activity contains "disclosure" or Message contains "stack" or Message contains "exception"
    | project TimeGenerated, SourceIP, DestinationIP, DestinationPort, Activity, Message, DeviceVendor, DeviceProduct
),
(
    Syslog
    | where ProcessName contains "wftpd" or SyslogMessage contains "Wing FTP"
    | where SyslogMessage contains "error" or SyslogMessage contains "exception" or SyslogMessage contains "traceback" or SyslogMessage contains "stack trace"
    | project TimeGenerated, HostName, HostIP, ProcessName, SyslogMessage, SeverityLevel
)
| extend AlertDetails = bag_pack("CVE", "CVE-2025-47813", "Severity", "high", "TacticId", "TA0007")
| order by TimeGenerated desc
high severity medium confidence

Detects Wing FTP Server error responses and log entries indicative of information disclosure exploitation. Looks for high-volume error responses, verbose server messages containing exception details, and anomalous FTP error patterns.

Data Sources

W3CIISLogCommonSecurityLogSyslogWindowsEvent

Required Tables

W3CIISLogCommonSecurityLogSyslog

False Positives & Tuning

  • Legitimate administrative troubleshooting generating verbose error logs
  • Automated vulnerability scanners performing routine assessments against the FTP server
  • Misconfigured FTP clients causing repeated authentication failures with verbose server responses
  • Internal monitoring tools polling server health endpoints generating error telemetry

Other platforms for CVE-2025-47813


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 1Trigger Wing FTP Server Verbose Error via Invalid Command

    Expected signal: Wing FTP Server access logs show connection from test host with invalid command responses. Network capture shows FTP control channel responses with error codes 500/502 and potentially verbose message bodies.

  2. Test 2Enumerate Wing FTP Server Version via Banner Grabbing and Error Probing

    Expected signal: Network logs show sequential FTP connections from test host. Wing FTP Server logs record failed auth attempts and invalid CWD commands with server-generated error responses.

  3. Test 3Simulate Automated Scanner Probing Wing FTP Server Error Responses

    Expected signal: Wing FTP Server logs show burst of varied FTP commands from single source IP including SYST, STAT, FEAT commands that reveal version/feature information, plus error responses to invalid path and command inputs.

Unlock Pro Content

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

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections