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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.15% (52nd 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 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.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
6.8 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

7.5 high