CVE-2021-31589 Cross-site scripting in n/a
Unauthenticated attackers can inject malicious scripts via crafted web requests in BeyondTrust Secure Remote Access, potentially leading to session hijacking or code execution.
- 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
- None listed
What is CVE-2021-31589?
CVE-2021-31589 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Jan 2022. 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
A cross-site scripting (XSS) vulnerability has been reported and confirmed for BeyondTrust Secure Remote Access Base Software version 6.0.1 and older, which allows the injection of unauthenticated, specially-crafted web requests without proper sanitization.
Weakness: CWE-79
Which versions are affected by CVE-2021-31589?
It affects 1 product.
Products include Beyondtrust Appliance Base Software.
How do I fix CVE-2021-31589?
No fix has been published for CVE-2021-31589 yet. Limit exposure of the affected software until one is available.
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-2021-31589 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-31589 exists.
Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.
Sources
Also known as GHSA-fw8v-3m7h-4jwg.