CVE-2020-25205: Mimosa Firmware - Stored XSS
- Cve: CVE-2020-25205
- Name: Mimosa Firmware - Stored XSS
- 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.
- Impact: Unauthenticated attackers can execute arbitrary JavaScript in the web console, potentially leading to session hijacking or defacement.
- Remediation: Update to firmware version later than 2.8.0.2 or apply vendor-specific security patches.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00905
- Epss percentile: 0.6072
- Assignee: [email protected]
- Published at: 2021-07-20T19:15:09Z
- Age in days: 1953
- Modified at: 2026-06-17T03:06:34Z
- Public exploits total: 1
- References total: 2
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-25205
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://labs.f-secure.com/advisories/mimosa-ptp-devices-multiple-vulnerabilities/ | nvd | 2021-07-20 |
References
| Url | Source | Tags |
|---|---|---|
| https://labs.f-secure.com/advisories/mimosa-ptp-devices-multiple-vulnerabilities/ | nvd | Exploit, Third Party Advisory |
| https://labs.f-secure.com/advisories/ | nvd | Third Party Advisory |
Products
Same in every row:
- Affected: <= 2.8.0.3
- Platform bound: yes
- Sources: nvd
| Product | Url |
|---|---|
| mimosa:b5_firmware | /v1/products/mimosa/b5_firmware |
| mimosa:b5c_firmware | /v1/products/mimosa/b5c_firmware |
| mimosa:c5c_firmware | /v1/products/mimosa/c5c_firmware |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-07-20
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts