Vulnerability record · CVE-2020-25205 · published 20 July 2021
CVE-2020-25205: Mimosa b5 firmware cross-site scripting vulnerability
Mimosa · B5 Firmware
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://labs.f-secure.com/advisories/ | Third Party Advisory |
| https://labs.f-secure.com/advisories/mimosa-ptp-devices-multiple-vulnerabilities/ | ExploitThird Party Advisory |
| https://labs.f-secure.com/advisories/ | Third Party Advisory |
| https://labs.f-secure.com/advisories/mimosa-ptp-devices-multiple-vulnerabilities/ | ExploitThird Party Advisory |
Track CVE-2020-25205 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-25205), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.