Project

General

Profile

Actions

Bug #12191

closed

File overwrite in ``services_ntpd_gps.php`` via ``gpsport`` parameter

Added by Jim Pingle over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
NTPD
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

The gpsport parameter is not validated properly when set in services_ntpd_gps.php or during NTP setup in services.inc. A relative path in the parameter can be leveraged to overwrite an existing file on the firewall with the contents of the gpsinitcmd configuration parameter.

Actions #2

Updated by Jim Pingle over 3 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Jim Pingle about 3 years ago

  • Plus Target Version changed from 21.09 to 22.01
Actions #4

Updated by Jim Pingle almost 3 years ago

  • Status changed from Feedback to Resolved
Actions #5

Updated by Jim Pingle almost 3 years ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF