CVE-2021-31830 Cross site Scripting (XSS) vulnerability in McAfee DBSec
An administrator can inject JavaScript into database names, leading to XSS when other users view the configuration page.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-31830?
CVE-2021-31830 is a medium-severity cross-site scripting vulnerability in McAfee,LLC McAfee Database Security (DBSec), published on 3 Jun 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in McAfee Database Security (DBSec) prior to 4.8.2 allows an administrator to embed JavaScript code when configuring the name of a database to be monitored. This would be triggered when any authorized user logs into the DBSec interface and opens the properties configuration page for this database.
Weakness: CWE-79
Which versions are affected by CVE-2021-31830?
It affects 1 product.
Products include Mcafee Database Security.
How do I fix CVE-2021-31830?
No fix has been published for CVE-2021-31830 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-31830 being exploited?
There is no known exploitation of CVE-2021-31830 in the wild and no public exploit code.
Other vulnerabilities in McAfee,LLC McAfee Database Security (DBSec)
- CVE-2021-23894 Unauthorized deserialization of untrusted data in McAfee DBSec
- CVE-2021-23895 Authorized deserialization of untrusted data in McAfee DBSec
- CVE-2020-7339 Database Security(DBS)-Use of a Broken or Risky Cryptographic Algorithm
- CVE-2021-31850 Denial of Service in Database Security on Windows
- CVE-2019-3615 Data Leakage Vulnerability in McAfee Database Security web interface
Sources
Also known as GHSA-xr2m-8rhq-x323.