Arbitrary file deletion in WordPress - CVE-2018-12895

 

Arbitrary file deletion in WordPress - CVE-2018-12895

Published: June 27, 2018 / Updated: November 25, 2021


Vulnerability identifier: #VU13497
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-12895
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: Public exploit is available

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

WordPress
Debian Linux
Fedora
wordpress

How to mitigate CVE-2018-12895

Update to version 4.9.7.

WordPress - update to 4.9.7
wordpress - addressed in versions 4.9.7-1.el6, 4.9.7-1.el7, 4.9.7-1.fc27, 4.9.7-1.fc28

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins