Project

General

Profile

Actions

Bug #12191

closed
JP JP

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

Bug #12191: File overwrite in ``services_ntpd_gps.php`` via ``gpsport`` parameter

Added by Jim Pingle about 5 years ago. Updated over 4 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.

JP Updated by Jim Pingle about 5 years ago Actions #2

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:bf21f67bbe2d1694ad1ad72728623dded9ace426.

JP Updated by Jim Pingle almost 5 years ago Actions #3

  • Plus Target Version changed from 21.09 to 22.01

JP Updated by Jim Pingle over 4 years ago Actions #4

  • Status changed from Feedback to Resolved

JP Updated by Jim Pingle over 4 years ago Actions #5

  • Private changed from Yes to No
Actions

Also available in: Atom