CVE-2020-15135
CVSS V2 Medium 6.8
CVSS V3 High 7.6
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.
Overview
- CVE ID
- CVE-2020-15135
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2020-08-04T21:15:14
- Last Modified Date
- 2020-08-10T19:18:39
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:save-server_project:save-server:*:*:*:*:*:node.js:*:* | 1 | OR | 1.0.5 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- LOW
- Base Score
- 7.6
- Base Severity
- HIGH
- Exploitability Score
- 2.1
- Impact Score
- 5.5
References
Reference URL | Reference Tags |
---|---|
https://github.com/Neztore/save-server/security/advisories/GHSA-wwrj-35w6-77ff | Third Party Advisory |
https://medium.com/cross-site-request-forgery-csrf/double-submit-cookie-pattern-65bb71d80d9f | Exploit Third Party Advisory |
https://www.npmjs.com/package/save-server | Product Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-15135 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15135 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 17:24:12 | Added to TrackCVE | |||
2022-12-04 20:35:40 | 2020-08-04T21:15Z | 2020-08-04T21:15:14 | CVE Published Date | updated |
2022-12-04 20:35:40 | 2020-08-10T19:18:39 | CVE Modified Date | updated | |
2022-12-04 20:35:40 | Analyzed | Vulnerability Status | updated |