Disclosed vulnerabilities
Fixed: May 20, 2021
CVE-2021-33359 Published: Jun 21, 2021

Arbitrary File Read Vulnerability Discovered in GoWitness

9.8 Critical Severity Arbitrary File Read
Omri Inbar Reported by Checkmarx Zero

Summary

GoWItness prior to version 2.3.6 is vulnerable to Arbitrary File Read

Product

GoWItness prior to 2.3.6

Impact

An unauthenticated attacker can perform an arbitrary file read using the file:// scheme in the url parameter to get an image of any file.

Steps to reproduce

  1. Navigate to: http://gowitnessIP/?url=file:///etc/passwd

You will get an image of the file /etc/passwd. Only HTTP and HTTPS schemes should be allowed.

Remediation

This issue was fixed in version 2.3.6 through the commit.

Credit

This issue was discovered and reported by Checkmarx Security Researcher
Omri Inbar.

Resources

  1. (cae2031)

Stay connected and never miss a research update!