CVE-2021-33359 Path traversal in n/a
An unauthenticated attacker can read arbitrary files on the system by exploiting a file:// scheme vulnerability in the gowitness screenshot tool.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-33359?
CVE-2021-33359 is a high-severity path traversal vulnerability in n/a, published on 9 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability exists in gowitness < 2.3.6 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.
Weakness: CWE-552
Which versions are affected by CVE-2021-33359?
It affects 1 product.
Products include Sensepost Gowitness.
How do I fix CVE-2021-33359?
No fix has been published for CVE-2021-33359 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-33359 being exploited?
There is no known exploitation of CVE-2021-33359 in the wild and no public exploit code.
Sources
Also known as GHSA-h52q-725p-338m.