Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
pfsense-dhcpd-conf — pfSense CE 2.9.0-DEVELOPMENT - Medium - Remote - Config injection - ISC dhcpd filename | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-dhcpd-conf
Vulnerability AnalysisExploitationWeb Application ExploitationSecurity VirtualizationWeb SecurityPenetration TestingLabs & Practice
GitHubabraxas/pfsense-dhcpd-conf

pfsense-dhcpd-conf

pfSense CE 2.9.0-DEVELOPMENT - Medium - Remote - Config injection - ISC dhcpd filename

View Repository
151 month agoNot yet reviewed
Share

Abraxas Labs - pfsense-dhcpd-conf

abraxaslabs.tech  ·  github.com/abraxas  ·  @abraxas_null  ·  [email protected]  ·  pfsense-dhcpd-conf

pfsense-dhcpd-conf

Class: Config injection Reach: Remote

pfSense CE 2.9.0-DEVELOPMENT (9363ac5) - pfsense.org

services_dhcpdv4_configure interpolates filename "{$sm['filename']}"; with no addslashes. GUI stores $_POST['filename'] with no quote/newline gate. Kea JSON is SA-26_20 skip.

IDno CVE yet
ClassConfig injection
ReachRemote (authenticated WebGUI unless noted)
CWECWE-74
CVSSMedium: 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
ProductpfSense CE
Affected2.9.0-DEVELOPMENT (9363ac5b8651a1c7a333180425ce7719070f95f9)
AuthWebGUI session with page-services-dhcpserver-editstaticmapping
LicenseGNU Affero GPL v3.0
Lab127.0.0.1 only

I pinned public master 9363ac5. The lab is a PHP gadget of the pinned sink, loopback HTTP on 127.0.0.1:19250.

Series write-up: https://abraxaslabs.tech/research/pfsense-ce-leftovers

What an attacker can do

MethodSinkPrivilege
POST services_dhcp_edit.php filenamefilename "{$sm['filename']}";Integrity: Lab-proven: extra option tftp-server-name in chroot conf. Filename never reached argv.
same leftoversame sinkRecon: None shown.
same leftoversame sinkAvailability: Inferred: parse-fail dhcpd or extra PXE option.

Requires: page-services-dhcpserver-editstaticmapping. CSRF-magic on POST unless noted. WebGUI PHP-FPM is root.

Requires: page-services-dhcpserver-editstaticmapping. CSRF-magic on POST unless noted. WebGUI PHP-FPM is root. CSRF-magic on POST unless noted. WebGUI PHP-FPM is root.

Adjacent surface that stays closed

Host shell. Files outside the chroot. Kea JSON. hostname charset. numberoptions text quotes.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:19250. Compose project pfsense-dhcpd-conf. Witness PFSENSE-DHCPD-CONF-WITNESS. Loopback only: 127.0.0.1:19250. Compose project pfsense-dhcpd-conf. Witness PFSENSE-DHCPD-CONF-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-DHCPD-CONF control-one-filename=yes trigger-extra-statement=yes PFSENSE-DHCPD-CONF-WITNESS

Fix

addslashes / reject quote and newline in filename/rootpath/ldap/DUID.

References

  • github.com/pfsense/pfsense 9363ac5b8651a1c7a333180425ce7719070f95f9
  • CWE-74
  • Series: https://abraxaslabs.tech/research/pfsense-ce-leftovers
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    717
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    504
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    402
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    342
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    260
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    259

Explore all tools

Browse our collection of tools

View all tools →