XSS in Bolt
CVE-2020-4041
In Bolt CMS before version 3.7.1, the filename of uploaded files was vulnerable to stored XSS. It is not possible to inject javascript code in the file name when creating/uploading the file. But, once created/uploaded, it can be renamed to inject the payload in it. Additionally, the measures to prevent renaming the file to disallowed filename extensions could be circumvented. This is fixed in Bolt 3.7.1.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.021, 81.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Bolt — versions < 3.7.1
- Boltcms Bolt
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2020-4041). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/bolt/bolt/pull/7853 (Patch, Third Party Advisory)
- github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f (Patch, Third Party Advisory)
- github.com/bolt/bolt/security/advisories/GHSA-68q3-7wjp-7q3j (Patch, Third Party Advisory)
- packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html (Exploit, VDB Entry, Third Party Advisory)
- 20200703 Bolt CMS <= 3.7.0 Multiple Vulnerabilities - CSRF to RCE (mailing-list, Exploit, Mailing List, Third Party Advisory)