Arbitrary file deletion in WordPress - CVE-2018-12895
Published: June 27, 2018 / Updated: November 25, 2021
Vulnerability details
The vulnerability allows a remote authenticated user to delete arbitrary file on the system.
The vulnerability exists due to improper check for user permissions when deleting files. A remote authenticated user with ability to manage media files can send a specially crafted HTTP request and delete arbitrary file on the server.
Affected software
Debian Linux
Fedora
wordpress
How to mitigate CVE-2018-12895
wordpress - addressed in versions 4.9.7-1.el6, 4.9.7-1.el7, 4.9.7-1.fc27, 4.9.7-1.fc28