CVE-2021-40960 Path traversal in n/a
An attacker can exploit a directory traversal flaw in Galera WebTemplate to read sensitive system files like /etc/passwd and /etc/shadow.
- 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-40960?
CVE-2021-40960 is a critical path traversal vulnerability in n/a, published on 1 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Galera WebTemplate 1.0 is affected by a directory traversal vulnerability that could reveal information from /etc/passwd and /etc/shadow.
Weakness: CWE-22
Which versions are affected by CVE-2021-40960?
It affects 1 product.
Products include Galera Galera Webtemplate.
How do I fix CVE-2021-40960?
No fix has been published for CVE-2021-40960 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-40960 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-40960 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-ffc7-96x9-6x2g.