Lucene search

K
huntrLeoracC91364DD-9EAD-4BF3-96E6-663A017E08FA
HistoryDec 31, 2022 - 7:06 a.m.

Get based CSRF on Reset OP Cache functionality

2022-12-3107:06:27
leorac
www.huntr.dev
26
csrf
opcache
get request
post request
bug bounty

0.001 Low

EPSS

Percentile

29.0%

Description

The functionality to reset the OPCache is vulnerable to CSRF. In fact, it would be a good practice to implement a CSRF token in URL if the GET functionality is meant to trigger an action, instead of only retrieving data. Alternatively, it can be turned in a POST request, which I can see already has the CSRF protection implemented.

Proof of Concept

You will see the 302 status code and then, the page redirects to the overview page, as intended.

0.001 Low

EPSS

Percentile

29.0%

Related for C91364DD-9EAD-4BF3-96E6-663A017E08FA