Bug #8485
pkg_mgr_install.php: Arbitrary files can be read by an authenticated user via logfilename sent in POST
100%
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.
Associated revisions
Fixed #8485 by POSTing fixed string and looking up the required file name
(cherry picked from commit c29a1fe90f89c1ae392df2ef2092207e282ddc37)
Fixed #8485 by POSTing fixed string and looking up the required file name
(cherry picked from commit c29a1fe90f89c1ae392df2ef2092207e282ddc37)
Fixed #8485 by POSTing fixed string and looking up the required file name
(cherry picked from commit c29a1fe90f89c1ae392df2ef2092207e282ddc37)
History
#1
Updated by Steve Beaver almost 3 years ago
- Assignee changed from Renato Botelho to Steve Beaver
#2
Updated by Steve Beaver almost 3 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset c29a1fe90f89c1ae392df2ef2092207e282ddc37.
#3
Updated by Jim Pingle almost 3 years ago
- Status changed from Feedback to Resolved
Unable to reproduce with the fix applied. Looks good to me.
#4
Updated by Jim Pingle almost 3 years ago
- Target version changed from 2.4.4 to 2.4.3-p1
#5
Updated by Jim Pingle almost 3 years ago
- Private changed from Yes to No
Fixed #8485 by POSTing fixed string and looking up the required file name