CVE-2021-21494 Cross-site scripting in n/a

Medium 4.8 Published Updated

Cross-site scripting in MK-AUTH allows attackers to steal session tokens, potentially leading to account takeover.

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

CVE-2021-21494 is a medium-severity cross-site scripting vulnerability in n/a, published on 4 Jan 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

MK-AUTH through 19.01 K4.9 allows XSS via the admin/logs_ajax.php tipo parameter. An attacker can leverage this to read the centralmka2 (session token) cookie, which is not set to HTTPOnly.

Weakness: CWE-732

Which versions are affected by CVE-2021-21494?

It affects 1 product.

Products include Mk-Auth Mk-Auth.

How do I fix CVE-2021-21494?

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

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

Sources

Also known as GHSA-w46m-mpvw-cv2h.

Is CVE-2021-21494 in your software?

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

Check your SBOMs for free