Project

General

Profile

Actions

Bug #8485

closed

pkg_mgr_install.php: Arbitrary files can be read by an authenticated user via logfilename sent in POST

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

Status:
Resolved
Priority:
Very High
Assignee:
-
Category:
Package System
Target version:
Start date:
04/26/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.x
Affected Architecture:
All

Description

logfilename is taken from POST and can be used to read arbitrary text files from the firewall.

The logfilename parameter will need some validation, such as a whitelist, basename & locked to one dir, or to use a keyword instead of a filename directly.

Actions

Also available in: Atom PDF