vendor:
WordPress
by:
samguy
8.8
CVSS
HIGH
Arbitrary File Deletion
22
CWE
Product Name: WordPress
Affected Version From: 4.9.2006
Affected Version To: 4.9.2006
Patch Exists: YES
Related CWE: CVE-2018-12895
CPE: a:wordpress:wordpress:4.9.6
Platforms Tested: Linux - Debian Buster (PHP 7.3)
2018
WordPress 4.9.6 – Arbitrary File Deletion (Authenticated) (2)
An authenticated user with privileges of an author can delete arbitrary files on the server by exploiting a vulnerability in the WordPress 4.9.6 version. The user can navigate to Media > Add New > Select Files > Open/Upload and click Edit > Open Developer Console > Paste this exploit script and execute the function, eg: unlink_thumb('../../../../wp-config.php').
Mitigation:
Upgrade to the latest version of WordPress and apply the latest security patches.