CVE-2021-32752 Files or Directories Accessible to External Parties in ether/logs
Authenticated admin users can access arbitrary files on the server via the Ether Logs plugin for Craft CMS.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-32752?
CVE-2021-32752 is a high-severity path traversal vulnerability in ethercreative logs, published on 9 Jul 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Ether Logs is a package that allows one to check one's logs in the Craft 3 utilities section. A vulnerability was found in versions prior to 3.0.4 that allowed authenticated admin users to access any file on the server. The vulnerability has been fixed in version 3.0.4. As a workaround, one may disable the plugin if untrustworthy sources have admin access.
Weakness: CWE-552
Which versions are affected by CVE-2021-32752?
2 open source packages ship an affected version, including ether/logs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ether/logs Packagist | All versions | 3.0.4 |
ether/logs Packagist | All versions | 3.0.4 |
Products include Ethercreative Logs.
How do I fix CVE-2021-32752?
Upgrade ether/logs to 3.0.4 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-32752 being exploited?
There is no known exploitation of CVE-2021-32752 in the wild and no public exploit code.
Other vulnerabilities in ethercreative logs
Sources
Also known as GHSA-fp63-499m-hq6m.