Project

General

Profile

Actions

Bug #8296

closed

status_services.php: AJAX requests via GET can control services without CSRF validation

Added by Jim Pingle about 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
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.

Actions #1

Updated by Anonymous about 6 years ago

  • Status changed from New to Feedback
  • Assignee changed from Anonymous to Jim Pingle
Actions #2

Updated by Anonymous about 6 years ago

  • % Done changed from 0 to 100
Actions #3

Updated by Jim Pingle about 6 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 #4

Updated by Jim Pingle almost 6 years ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF