Description
The Avatar plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in a function in all versions up to, and including, 0.1.4. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version
Timeline
| 2025-04-17: | Disclosed |
Credits
Youcef Hamdani
References
www.wordfence.com/...-5bfe-4352-bc5b-141f078c0b6d?source=cve
plugins.trac.wordpress.org/browser/avatar/trunk/avatar.php