Lucene search

K
wpvulndbWpvulndbWPVDB-ID:132B70E5-4368-43B4-81F6-2D01BC09DC8F
HistoryApr 03, 2023 - 12:00 a.m.

WPCode Lite < 2.0.9 - Arbitrary Log File Deletion via CSRF

2023-04-0300:00:00
wpscan.com
23
arbitrary log deletion
csrf
security vulnerability
wordpress
plugin

0.001 Low

EPSS

Percentile

25.2%

The plugin has a flawed CSRF when deleting log, and does not ensure that the file to be deleted is inside the expected folder. This could allow attackers to make users with the wpcode_activate_snippets capability delete arbitrary log files on the server, including outside of the blog folders

PoC

Make a logged in user with the wpcode_activate_snippets capability open the URL below https://example.com/wp-admin/admin.php?page=wpcode-tools&amp;view;=logs&amp;wpcode;_action=delete_log&amp;log;=../../delete-me.log This will make them delete the ~/wp-content/delete-me.log

CPENameOperatorVersion
insert-headers-and-footerslt2.0.9

0.001 Low

EPSS

Percentile

25.2%

Related for WPVDB-ID:132B70E5-4368-43B4-81F6-2D01BC09DC8F