CVE-2021-31783 Path traversal in n/a
An attacker can exploit a Local File Inclusion vulnerability in the LocalFilesEditor extension to read arbitrary files or execute code.
- 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-31783?
CVE-2021-31783 is a high-severity path traversal vulnerability in n/a, published on 26 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
show_default.php in the LocalFilesEditor extension before 11.4.0.1 for Piwigo allows Local File Inclusion because the file parameter is not validated with a proper regular-expression check.
Weakness: CWE-345
Which versions are affected by CVE-2021-31783?
It affects 1 product.
Products include Piwigo Localfiles Editor.
How do I fix CVE-2021-31783?
No fix has been published for CVE-2021-31783 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-31783 being exploited?
There is no known exploitation of CVE-2021-31783 in the wild and no public exploit code.
Sources
Also known as GHSA-35gm-xggq-mjxq.