CVE-2021-31851 Cross-Site Scripting vulnerability in Policy Auditor

Medium 6.1 Published Updated

Remote attackers can inject scripts into Policy Auditor to steal session tokens or credentials, potentially compromising user accounts and security applications.

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-31851?

CVE-2021-31851 is a medium-severity cross-site scripting vulnerability in McAfee,LLC McAfee Policy Auditor, published on 23 Nov 2021. 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 Reflected Cross-Site Scripting vulnerability in McAfee Policy Auditor prior to 6.5.2 allows a remote unauthenticated attacker to inject arbitrary web script or HTML via the profileNodeID request parameters. The malicious script is reflected unmodified into the Policy Auditor web-based interface which could lead to the extraction of end user session token or login credentials. These may be used to access additional security-critical applications or conduct arbitrary cross-domain requests.

Weakness: CWE-79

Which versions are affected by CVE-2021-31851?

It affects 1 product.

Products include Mcafee Policy Auditor.

How do I fix CVE-2021-31851?

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

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

Sources

Also known as GHSA-jq47-gg3r-hq6r.

Is CVE-2021-31851 in your software?

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

Check your SBOMs for free