CVE-2022-27665 Cross-site scripting in n/a

Medium 6.1 Published Updated

Reflected XSS in WS_FTP Server allows attackers to execute malicious client-side code via crafted input in search or folder fields.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-27665?

CVE-2022-27665 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Reflected XSS (via AngularJS sandbox escape expressions) exists in Progress Ipswitch WS_FTP Server 8.6.0. This can lead to execution of malicious code and commands on the client due to improper handling of user-provided input. By inputting malicious payloads in the subdirectory searchbar or Add folder filename boxes, it is possible to execute client-side commands. For example, there is Client-Side Template Injection via subFolderPath to the ThinClient/WtmApiService.asmx/GetFileSubTree URI.

Weakness: CWE-79

Which versions are affected by CVE-2022-27665?

It affects 1 product.

Linux distribution packages (1)
dex-oidc openSUSE:TumbleweedAll versions2.35.3-1.1

Products include Progress Ws Ftp Server.

How do I fix CVE-2022-27665?

Apply the vendor's patch.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-27665 being exploited?

There is no known exploitation of CVE-2022-27665 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-prxf-5xrr-96cp, openSUSE-SU-2024:12410-1.

Is CVE-2022-27665 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free