Description
The Toolbox for Asgaros Forum plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the replace_temp_pics function in all versions up to, and including, 1.2.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). This vulnerability is only reachable when the site administrator has enabled the Inline Image Upload feature (disabled by default).
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
qualmy91 Toolbox for Asgaros Forum
Default version status: unaffected
0 to ≤ 1.2.4affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e99c031e-6ecb-4025-8ba9-59e8e6cd1b3e?source=cve ↗
- https://plugins.trac.wordpress.org/browser/toolbox-for-asgaros-forum/tags/1.2.4/Inc/Base/ImageUploadController.php#L276 ↗
- https://plugins.trac.wordpress.org/browser/toolbox-for-asgaros-forum/tags/1.2.4/Inc/Base/ImageUploadController.php#L237 ↗
- https://plugins.trac.wordpress.org/browser/toolbox-for-asgaros-forum/tags/1.2.4/Inc/Base/ImageUploadController.php#L60 ↗