-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= pfSense-SA-26_34.webgui Security Advisory pfSense Topic: Authenticated Command Execution via IPv4 DHCP Client Hostname Category: pfSense Base System Module: webgui Announced: 2026-11-17 Affects: pfSense Plus software versions <= 26.07 pfSense CE software versions <= 2.9.0 Corrected: 2026-10-29 18:39:27 UTC 0. Revision History v1.0 2026-11-17 Initial SA draft I. Background pfSense® software is a free network firewall distribution based on the FreeBSD operating system. The pfSense software distribution includes third- party free software packages for additional functionality, and provides most of the functionality of common commercial firewalls. pfSense® Plus is the productized version of pfSense software from Netgate®, previously referred to as pfSense Factory Edition (FE). It is available to Netgate appliance and CSP customers. The majority of users of pfSense software have never installed or used a stock FreeBSD system. Unlike similar GNU/Linux-based firewall distributions, there is no need for any UNIX knowledge. The command line is never used, and there is no need to ever manually edit any rule sets. Instead, pfSense software includes a web interface for the configuration of all included components. Users familiar with commercial firewalls will quickly understand the web interface, while those unfamiliar with commercial-grade firewalls may encounter a short learning curve. II. Problem Description A potential authenticated command execution vulnerability was discovered in interfaces.php through the DHCP Client Configuration Hostname setting. The page at interfaces.php does not validate the contents of the Hostname setting in the DHCP Client Configuration section of the page ("dhcphostname"). The value is used later in certain contexts inside the DHCP client script III. Impact Due to the lack of validation, an attacker with access to interfaces.php could configure the interface "dhcphostname" value with a malicious payload, then trigger the execution of arbitrary shell commands during certain DHCP events such as lease renewal. The injected content may also be stored in the DHCP lease at /var/db/dhclient.leases. and used after being removed from the GUI. IV. Workaround To help mitigate the problem on older releases, use one or more of the following: * Limit access to the affected pages to trusted administrators only. V. Solution Users can upgrade to the next available version of pfSense software when available. This upgrade may be performed in the web interface or from the console. See https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html Users on currently supported versions of pfSense Plus software may apply the fix from the recommended patches list in the System Patches package after installing or updating the System Patches package. Users may also manually apply the relevant changes using the System Patches package on earlier versions, or by manually making similar changes to the affected files if the patches do not apply directly. See https://docs.netgate.com/pfsense/en/latest/development/system-patches.html VI. Correction details The following list contains the correction revision commit ID for each affected item. Revision - - ------------------------------------------------------------------------- 46978c0ed8952d1f38658d1e7945194bc1f1e226 - - ------------------------------------------------------------------------- VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE40XvjEU56XSUPIMdE7mH/ZIU+NoFAmr2KwwACgkQE7mH/ZIU +Nqc6xAAn7w4UPG0Tmu4fb+TuBWEYDM42mOAtS9AiM4BrC/WzkFlvBHuPL+qAA0P KnXelCnn+DhyxFIjAGjGPf2WHTgg6/P8elVQdrLN1Q/jC4EjSyLL7Gf86oTtXorc Jg3EOzv8DmQ1xSiCkbpcebfsYb/TUAdLzd/h558O4B3cbVCsrYqnmzn2ZreFHP+0 FzU5f8rpBh2e+it1y2oG9NQPXCfpjqNhx45hxc8c735S3q+6BtU6vJxm6ZSrKz++ M2JIrn6zffeqfM1I6AaZKcZ42doF5NWab/QPiX3loyOVaSVZfTlIrJXkW6/Mi6cI Ek3hDU9ZmlBFqQ91vKwjTtQygj8VbZln3IHKWIQLtk4LN9aN6adk25mjUL7/vfbr MTuUCrQSLhSFKpanI33G1+dHLH5GxffWGjdpY1D0Y38RR4Sgpgp7KqenusSx+B8W MFHjZi2tDw8qTLlw6ui5SHel8wUJzmlbotD4wDPz4Piq74rO1ZLQYE/9kGagtY1l JOiyKYWOoSz3yr22NwGqFOqkw8CoQIpfzF/SpWSrSBufDf0dtc5ouishr/fWGeej RsKCs54zkEr8vBYKclKKviE2ONri2aUhUFZpEqXWgOmccKclJRQoRTl9+jbDpfbv 1fyfzVVUfsOxGg9Vo/+Q8tBkjbxpuFM/TJxVE7vYvGko2IEcBmI= =oXRn -----END PGP SIGNATURE-----