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

Medium 4.8 Published Updated

Remote attackers can inject JavaScript into the admin login panel via the redirect parameter, potentially compromising administrator sessions.

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
Available

What is CVE-2021-27308?

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

Official description

A cross-site scripting (XSS) vulnerability in the admin login panel in 4images version 1.8 allows remote attackers to inject JavaScript via the "redirect" parameter.

Weakness: CWE-79

Which versions are affected by CVE-2021-27308?

1 open source package ship an affected version, including rum. It affects 1 product.

PackageAffectedFixed in
rum BitnamiFrom 1.8.01.8.1

Products include 4homepages 4images.

How do I fix CVE-2021-27308?

Upgrade rum to 1.8.1 or later.

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-27308 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as BIT-rum-2021-27308, GHSA-r57m-c9hr-x87c.

Is CVE-2021-27308 in your software?

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

Check your SBOMs for free