Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:6856
HistoryJun 27, 2018 - 5:49 a.m.

Arbitrary File Deletion

2018-06-2705:49:00
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
10

0.535 Medium

EPSS

Percentile

97.6%

WordPress is vulnerable to arbitrary file deletion. The vulnerability can be triggered because the application does not check the filename inside the wp_delete_attachment function in wp-includes/post.php, allowing an attacker to input a malicious filename string via thumb parameter to cause arbitrary file deletion. This only works if the attacker has access permission for files and posts that are normally available only to the Author, Editor, and Administrator roles.