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

Also available in: Atom PDF