Actions
Bug #7497
closedstatus_dhcp_leases.php: DHCP Lease status does not encode hostname and some other data from leases file, leading to a potential XSS
Start date:
04/26/2017
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.x
Affected Architecture:
All
Description
A client can send a hostname containing <script> tags and the DHCP daemon will accept it and add it to the leases file. This hostname is then output as-is by the lease status view in the list and then again in action icons for the lease, leading to script execution on the client (for example).
Only affects IPv4 DHCP status, not IPv6
Confirmed on 2.4 and 2.3.x.
To me, I have a fix pending.
Updated by Jim Pingle over 7 years ago
- Status changed from Confirmed to Feedback
- % Done changed from 0 to 100
Applied in changeset 49a6769d99b4ea0306b0d619d14c3c0c841386e9.
Updated by Jim Pingle over 7 years ago
- Status changed from Feedback to Resolved
Seems to be solid now.
Actions