Actions
Bug #8296
closedstatus_services.php: AJAX requests via GET can control services without CSRF validation
Start date:
01/24/2018
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.x
Affected Architecture:
Description
Using a GET request to status_services.php with a sepcially-crafted URL, services can be controlled by visiting a URL without confirmation. For example:
https://x.x.x.x/status_services.php?ajax=true&service=ntpd&mode=stopservice
Only matters against 2.4.3, since the GET/POST conversion work was only on the 2.4.x line.
Updated by Anonymous almost 7 years ago
- Status changed from New to Feedback
- Assignee changed from Anonymous to Jim Pingle
Updated by Anonymous almost 7 years ago
- % Done changed from 0 to 100
Applied in changeset c7027903d4ba68cf33d7d601c9a9d2efd476f79f.
Updated by Jim Pingle almost 7 years ago
- Status changed from Feedback to Resolved
This looks OK now. It only works via POST and trying to POST without CSRF results in a failure.
Actions