CSRF in Neztore Save-Server
CVE-2020-15135
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
EPSS: 0.007 (50.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L.
Affected products
- Neztore Save-server — versions < 1.0.5
- Save-server_project Save-server
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Exploit, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Product, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2020-15135?
- CVE-2020-15135 is a medium-severity vulnerability in Neztore Save-Server, classified under Cross-Site Request Forgery (CSRF). CVSS score: 6.7/10. Published 2020-08-04.
- How severe is CVE-2020-15135?
- Medium severity. CVSS v3 base score is 6.7 out of 10.
- Is CVE-2020-15135 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.