Feature #16960
closedKea Custom Configuration JSON privilege
100%
Description
Currently it is possible for anyone with privileges to access the Kea configuration to add or change custom configuration values via JSON fields provided on several areas of DHCPv4 and DHCPv6 pages when using the Kea backend.
There are some Kea directives which allow executing external commands, so allowing access to these fields effectively grants these users full admin/root access.
We had a similar concern with OpenVPN advanced options which we wrapped in an additional privilege check, see #9511
If this is too complex to address on a short timetable we can move it ahead to the next release and put out a patch when it's ready.
Files
CM Updated by Christian McDonald about 2 months ago
- Status changed from New to In Progress
CM Updated by Christian McDonald about 2 months ago
- Status changed from In Progress to Pull Request Review
CM Updated by Christian McDonald about 2 months ago
- Status changed from Pull Request Review to Feedback
JP Updated by Jim Pingle about 2 months ago
- File 16960.patch 16960.patch added
- % Done changed from 0 to 100
Implemented in commit adb5bb09ae96ccde8f54740f723fd255713486df
Patch is attached
JP Updated by Jim Pingle about 2 months ago
- File 16960-b.patch 16960-b.patch added
Plus 26.03.1 and CE 2.8.1 needed a slightly different patch since some nearby lines were different in those versions.
JP Updated by Jim Pingle about 1 month ago
- Status changed from Feedback to Resolved
JP Updated by Jim Pingle about 1 month ago
- Private changed from Yes to No