CVE-2026-111222: Netgate pfSense CE through 2.9.0 and Plus through 26.07 contains a php.ini injection vulnerability that allows authenticated users with General Setup privilege…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
- Affects:
- php
https://nvd.nist.gov/vuln/detail/CVE-2026-111222 ↗
Netgate pfSense CE through 2.9.0 and Plus through 26.07 contains a php.ini injection vulnerability that allows authenticated users with General Setup privileges to inject directives by submitting an unvalidated timezone value. Attackers can embed a quote and newline to add auto_prepend_file pointing at /var/db/zoneinfo, executing PHP as root after php.ini is regenerated at boot or php-fpm restart. References: https://abraxaslabs.tech/research/pfsense-ce-leftovers https://docs.netgate.com/downloads/pfSense-SA-26_29.webgui.asc https://docs.netgate.com/pfsense/en/latest/releases/26-07-1_2-9-1.html https://github.com/abraxas/pfsense-timezone-phpini https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/system.inc#L2377-L2380 https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/rc.php_ini_setup#L163-L166 https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/rc.php_ini_setup#L220 https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/usr/local/www/system.php#L288 https://redmine.pfsense.org/issues/17198 https://www.vulncheck.com/advisories/netgate-pfsense-ce-through-2.9.0-php-ini-injection-via-timezone-setting