Vulnerability Description
save-server (npm package) before version 1.05 is affected by a CSRF vulnerability, as there is no CSRF mitigation (Tokens etc.). The fix introduced in version version 1.05 unintentionally breaks uploading so version v1.0.7 is the fixed version. This is patched by implementing Double submit. The CSRF attack would require you to navigate to a malicious site while you have an active session with Save-Server (Session key stored in cookies). The malicious user would then be able to perform some actions, including uploading/deleting files and adding redirects. If you are logged in as root, this attack is significantly more severe. They can in addition create, delete and update users. If they updated the password of a user, that user's files would then be available. If the root password is updated, all files would be visible if they logged in with the new password. Note that due to the same origin policy malicious actors cannot view the gallery or the response of any of the methods, nor be sure they succeeded. This issue has been patched in version 1.0.7.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Save-Server Project | Save-Server | < 1.0.5 |
Related Weaknesses (CWE)
References
- https://github.com/Neztore/save-server/security/advisories/GHSA-wwrj-35w6-77ffThird Party Advisory
- https://medium.com/cross-site-request-forgery-csrf/double-submit-cookie-pattern-ExploitThird Party Advisory
- https://www.npmjs.com/package/save-serverProductThird Party Advisory
- https://github.com/Neztore/save-server/security/advisories/GHSA-wwrj-35w6-77ffThird Party Advisory
- https://medium.com/cross-site-request-forgery-csrf/double-submit-cookie-pattern-ExploitThird Party Advisory
- https://www.npmjs.com/package/save-serverProductThird Party Advisory
FAQ
What is CVE-2020-15135?
CVE-2020-15135 is a vulnerability with a CVSS score of 6.7 (MEDIUM). save-server (npm package) before version 1.05 is affected by a CSRF vulnerability, as there is no CSRF mitigation (Tokens etc.). The fix introduced in version version 1.05 unintentionally breaks uploa...
How severe is CVE-2020-15135?
CVE-2020-15135 has been rated MEDIUM with a CVSS base score of 6.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-15135?
Check the references section above for vendor advisories and patch information. Affected products include: Save-Server Project Save-Server.