Cacti / plugin_monitor

Monitor Plugin for Cacti
GNU General Public License v2.0
36 stars 39 forks source link

WEBUI WARNING: Attempt to use GET method for POST operations #139

Closed jdcoats closed 2 years ago

jdcoats commented 3 years ago

Cacti 1.2.17 & Monitor 2.5

2021/01/21 14:12:43 - WEBUI WARNING: Attempt to use GET method for POST operations from IP x.x.x.x

Go to monitor tab and click save on the monitor filter

netniV commented 3 years ago

That happens if the action is a 'save', 'update_data' or 'changepassword' without a CSRF magic token.

netniV commented 3 years ago

https://github.com/Cacti/cacti/blob/ff317977212c94feeceff14b5dae698bbeb2bf5d/include/global.php#L554

TheWitness commented 2 years ago

I'm guessing that monitor needs to be updated to use post.

TheWitness commented 2 years ago

I've fixed this now.