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-wizard-uid0 — pfSense CE 2.9.0-DEVELOPMENT - High - Remote - Privilege leftover - wizard uid 0 | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-wizard-uid0
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingLabs & Practice
GitHubabraxas/pfsense-wizard-uid0

pfsense-wizard-uid0

pfSense CE 2.9.0-DEVELOPMENT - High - Remote - Privilege leftover - wizard uid 0

View Repository
14 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Abraxas Labs - pfsense-wizard-uid0

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

pfsense-wizard-uid0

Class: Privilege leftover Reach: Remote

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

wizard.php?xml=setup_wizard.xml step 7 getUserEntryByUID(0) plus local_user_set_password(). Privilege MATCH wizard.php* has no warn-root. xml= is realpath-prefixed under /usr/local/www/wizards.

IDno CVE yet
ClassPrivilege leftover
ReachRemote (authenticated WebGUI unless noted)
CWECWE-269
CVSSHigh: 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ProductpfSense CE
Affected2.9.0-DEVELOPMENT (9363ac5b8651a1c7a333180425ce7719070f95f9)
AuthWebGUI session with page-pfsensewizardsubsystem
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:19020.

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

What an attacker can do

MethodSinkPrivilege
POST wizard.php?xml=setup_wizard.xml step 7getUserEntryByUID(0) local_user_set_passwordIntegrity: Lab-proven: step 7 rewrote the uid 0 bcrypt hash. xml= LFI closed (../etc/passwd and absolute path rejected).
same leftoversame sinkRecon: Inferred: same wizard rewrites WAN/LAN/DHCP/hostname.
same leftoversame sinkAvailability: Inferred: lock the operator out of the LAN.

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

Requires: page-pfsensewizardsubsystem. 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

xml= realpath prefix LFI. page-system-usermanager is warn-root for the same class.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:19020. Compose project pfsense-wizard-uid0. Witness PFSENSE-WIZARD-UID0-WITNESS. Loopback only: 127.0.0.1:19020. Compose project pfsense-wizard-uid0. Witness PFSENSE-WIZARD-UID0-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-WIZARD-UID0 lfi-closed=yes control-no-hash-change=yes trigger-uid0-hash-change=yes wizard-no-warn-root=yes usermanager-warn-root=yes PFSENSE-WIZARD-UID0-WITNESS

Fix

Mark wizard.php standard-warning-root, or drop uid 0 password from the setup wizard after first boot.

References

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