Arbitrary File Read Affecting github.com/sensepost/gowitness/cmd package, versions <2.3.6


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.15% (51st percentile)
Expand this section
NVD
7.5 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.