CVE-2023-0599 Rapid7 Metasploit Pro Stored XSS

Medium 6.1 Published Updated

An authenticated attacker can execute arbitrary scripts in other users' browsers, potentially leading to privilege escalation due to high default user privileges.

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

What is CVE-2023-0599?

CVE-2023-0599 is a medium-severity cross-site scripting vulnerability in Rapid7 Metasploit Pro, published on 1 Feb 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Rapid7 Metasploit Pro versions 4.21.2 and lower suffer from a stored cross site scripting vulnerability, due to a lack of JavaScript request string sanitization.  Using this vulnerability, an authenticated attacker can execute arbitrary HTML and script code in the target browser against another Metasploit Pro user using a specially crafted request. Note that in most deployments, all Metasploit Pro users tend to enjoy privileges equivalent to local administrator.

Weakness: CWE-79

Which versions are affected by CVE-2023-0599?

It affects 1 product.

Products include Rapid7 Metasploit.

How do I fix CVE-2023-0599?

No fix has been published for CVE-2023-0599 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-2023-0599 being exploited?

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

Sources

Also known as GHSA-25pv-7q9q-qqjc.

Is CVE-2023-0599 in your software?

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

Check your SBOMs for free