CVE-2021-25021 OMGF < 4.5.12 - Admin+ Arbitrary Folder Deletion via Path Traversal
High-privilege users can delete arbitrary folders via path traversal in the OMGF WordPress plugin during uninstallation.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-25021?
CVE-2021-25021 is a medium-severity path traversal vulnerability in Unknown OMGF | Host Google Fonts Locally, published on 3 Jan 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The OMGF | Host Google Fonts Locally WordPress plugin before 4.5.12 does not validate the cache directory setting, allowing high privilege users to use a path traversal vector and delete arbitrary folders when uninstalling the plugin
Weakness: CWE-22
Which versions are affected by CVE-2021-25021?
It affects 1 product.
Products include Ffw Optimize My Google Fonts.
How do I fix CVE-2021-25021?
No fix has been published for CVE-2021-25021 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-25021 being exploited?
There is no known exploitation of CVE-2021-25021 in the wild and no public exploit code.
Sources
Also known as GHSA-w8vh-gv77-c8pw.