CVE-2020-25205 Cross-site scripting in n/a
An unauthenticated attacker can inject JavaScript into the web console banner, potentially stealing credentials or executing code on victim browsers.
- 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-2020-25205?
CVE-2020-25205 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 Jul 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
The web console for Mimosa B5, B5c, and C5x firmware through 2.8.0.2 is vulnerable to stored XSS in the set_banner() function of /var/www/core/controller/index.php. An unauthenticated attacker may set the contents of the /mnt/jffs2/banner.txt file, stored on the device's filesystem, to contain arbitrary JavaScript. The file contents are then used as part of a welcome/banner message presented to unauthenticated users who visit the login page for the web console. This vulnerability does not occur in the older 1.5.x firmware versions.
Weakness: CWE-79
Which versions are affected by CVE-2020-25205?
It affects 3 products.
Products include Mimosa B5 Firmware, Mimosa B5c Firmware, Mimosa C5c Firmware.
How do I fix CVE-2020-25205?
No fix has been published for CVE-2020-25205 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-2020-25205 being exploited?
There is no known exploitation of CVE-2020-25205 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-w338-c5qq-hv3p.