SonicALERT
Search

Sonicwall Signatures

 

Go to All Categories list.


  WordPress post.php Arbitrary File Deletion

Category: WEB-ATTACKS      

WordPress through 4.9.6 allows Author users to execute arbitrary code by leveraging directory traversal in the wp-admin/post.php thumb parameter, which is passed to the PHP unlink function and can delete the wp-config.php file. This is related to missing filename validation in the wp-includes/post.php wp_delete_attachment function.


Relevant Information