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 over 6 years ago. Updated over 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 #1

Updated by Anonymous over 6 years ago

  • Assignee changed from Renato Botelho to Anonymous
Actions #2

Updated by Anonymous over 6 years ago

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

Updated by Jim Pingle over 6 years ago

  • Status changed from Feedback to Resolved

Unable to reproduce with the fix applied. Looks good to me.

Actions #4

Updated by Jim Pingle over 6 years ago

  • Target version changed from 2.4.4 to 2.4.3-p1
Actions #5

Updated by Jim Pingle over 6 years ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF