Arbitrary File Read Affecting github.com/sensepost/gowitness/cmd Open this link in a new tab package, versions <2.3.6


0.0
medium
  • Attack Complexity

    Low

  • Confidentiality

    High

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-id

    SNYK-GOLANG-GITHUBCOMSENSEPOSTGOWITNESSCMD-1303094

  • published

    10 Jun 2021

  • disclosed

    10 Jun 2021

  • credit

    Unknown

How to fix?

Upgrade github.com/sensepost/gowitness/cmd to version 2.3.6 or higher.

Overview

github.com/sensepost/gowitness/cmd is an A golang, web screenshot utility using Chrome Headless.

Affected versions of this package are vulnerable to Arbitrary File Read. A vulnerability exists in gowitness that allows an unauthenticated attacker to perform an arbitrary file read using the file:// scheme in the url parameter to get an image of any file.