Cross-site Request Forgery (CSRF) Affecting save-server package, versions <1.0.7


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.87% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SAVESERVER-597396
  • published5 Aug 2020
  • disclosed5 Aug 2020
  • creditUnknown

Introduced: 5 Aug 2020

CVE-2020-15135  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade save-server to version 1.0.7 or higher.

Overview

save-server is an A ShareX server built on Express, Bulma and SQLite with User support.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). The 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.

CVSS Scores

version 3.1