Project

General

Profile

Actions

Bug #16900

closed
JP JP

Daemon configuration manipulation via CR/LF in ISC DHCP settings

Bug #16900: Daemon configuration manipulation via CR/LF in ISC DHCP settings

Added by Jim Pingle 3 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP (IPv4)
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
26.07
Release Notes:
Default
Affected Version:
Affected Architecture:

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

16900.patch (3.82 KB) 16900.patch Jim Pingle, 06/18/2026 06:33 PM
Actions

Also available in: Atom