CVE-2021-4038 NSM vulnerable to XSS

Medium 4.8 Published Updated

Remote authenticated administrators can inject malicious scripts into the McAfee NSM interface via unsanitized custom rules, potentially compromising the management console.

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-2021-4038?

CVE-2021-4038 is a medium-severity cross-site scripting vulnerability in McAfee,LLC McAfee Network Security Manager (NSM), published on 9 Dec 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Cross Site Scripting (XSS) vulnerability in McAfee Network Security Manager (NSM) prior to 10.1 Minor 7 allows a remote authenticated administrator to embed a XSS in the administrator interface via specially crafted custom rules containing HTML. NSM did not correctly sanitize custom rule content in all scenarios.

Weakness: CWE-79

Which versions are affected by CVE-2021-4038?

It affects 1 product.

Products include Mcafee Network Security Manager.

How do I fix CVE-2021-4038?

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

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

Sources

Also known as GHSA-jrmj-jm9w-qhxm.

Is CVE-2021-4038 in your software?

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

Check your SBOMs for free