Server-side Request Forgery (SSRF) Affecting github.com/gophish/gophish/controllers package, versions <0.6.0


Severity

Recommended
0.0
medium
0
10

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

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 IDSNYK-GOLANG-GITHUBCOMGOPHISHGOPHISHCONTROLLERS-597668
  • published10 Aug 2020
  • disclosed26 Mar 2018
  • creditUnknown

Introduced: 26 Mar 2018

CVE NOT AVAILABLE CWE-918  (opens in a new tab)

How to fix?

Upgrade github.com/gophish/gophish/controllers to version 0.6.0 or higher.

Overview

github.com/gophish/gophish/controllers is a package middleware is responsible for the definition/​implementation of middleware functionality.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF). It is possible to access the Import Site endpoint of the Create Landing Page area without cookie/API key authentication. Unauthenticated users who can access the admin portal can use it to perform server side request forgery attacks.

Note: this is only really an issue if the admin interface is listening on anything other than 127.0.0.1, or if it is running on 127.0.0.1 on a multiuser machine accessed by non gophish admins.

CVSS Scores

version 3.1