Bug #16900
closedDaemon configuration manipulation via CR/LF in ISC DHCP settings
100%
Description
Multiple fields on services_dhcp.php and services_dhcp_edit.php accept CR/LF characters, and other characters which are not valid for their content (e.g. '"', ';', '{', '}'), which can allow a user to add arbitrary configuration directives.
Affected fields are, at a minimum, the following on both services_dhcp.php and services_dhcp_edit.php: filename, rootpath, filename32, filename64, filename32arm, filename64arm, and uefihttpboot
This appears to be limited to configuration manipulation. The ISC DHCP Daemon runs in a chroot environment and does not have access to a full system environment, so it is unable to execute any commands.
Files
JP Updated by Jim Pingle 3 months ago
- File 16900.patch 16900.patch added
- Status changed from New to Feedback
- % Done changed from 0 to 100
Fixed in commit e00c2db6706f9d723f06f283df1d1c2851003578
Added validation for all DHCPv4 network booting fields.
Patch is attached.
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