CSRF in Neztore Save-Server
CVE-2020-15135
- CVSS v3
- 6.7 Medium
- Public exploits
- None known
- EPSS
- 0.007 · 54.9th percentile
- Published
- 2020-08-04
What to do
- Fixed in
1.0.5- Affected
- 2 affected products
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)
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- Low
PR:L - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.007, 54.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Neztore Save-Server — versions < 1.0.5
- Save-Server Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ossf-cve-benchmark/CVE-2020-15135). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/Neztore/save-server/security/advisories/GHSA-wwrj-35w6-77ff (Third Party Advisory)
- medium.com/cross-site-request-forgery-csrf/double-submit-cookie-pattern-65bb71d… (Exploit, Third Party Advisory)
- www.npmjs.com/package/save-server (Product, Third Party Advisory)