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-config-readonly-restore — pfSense CE 2.9.0-DEVELOPMENT - High - Remote - Privilege leftover - readonly config_install | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-config-readonly-restore
Privilege EscalationVulnerability AnalysisExploitationSecurity VirtualizationPenetration TestingPapers & ResearchMisconfigurationRed TeamingLabs & Practice

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
GitHubabraxas/pfsense-config-readonly-restore

pfsense-config-readonly-restore

pfSense CE 2.9.0-DEVELOPMENT - High - Remote - Privilege leftover - readonly config_install

View Repository
94 days agoNot yet reviewed

Abraxas Labs - pfsense-config-readonly-restore

abraxaslabs.tech  ·  github.com/abraxas  ·  @abraxas_null  ·  [email protected]  ·  pfsense-config-readonly-restore

pfsense-config-readonly-restore

Class: Privilege leftover Reach: Remote

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

write_config honors user-config-readonly. config_install and config_restore replace config.xml without that check.

IDno CVE yet
ClassPrivilege leftover
ReachRemote (authenticated WebGUI unless noted)
CWECWE-863
CVSSHigh: 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
ProductpfSense CE
Affected2.9.0-DEVELOPMENT (9363ac5b8651a1c7a333180425ce7719070f95f9)
AuthWebGUI session with a page that can call config_install / config_restore while Deny Config Write is set
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:19200.

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

What an attacker can do

MethodSinkPrivilege
config_install / config_restore as a Deny Config Write userconfig_install copies onto config.xmlIntegrity: Lab-proven: write_config denied; config_install and config_restore still replaced config.xml.
same leftoversame sinkRecon: None shown.
same leftoversame sinkAvailability: Inferred: planted config can reboot / lock out.

Requires: a page that can call config_install / config_restore while Deny Config Write is set. CSRF-magic on POST unless noted. WebGUI PHP-FPM is root.

Requires: a page that can call config_install / config_restore while Deny Config Write is set. 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

Normal config writes stay denied.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:19200. Compose project pfsense-config-readonly-restore. Witness PFSENSE-CONFIG-READONLY-RESTORE-WITNESS. Loopback only: 127.0.0.1:19200. Compose project pfsense-config-readonly-restore. Witness PFSENSE-CONFIG-READONLY-RESTORE-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-CONFIG-READONLY-RESTORE write-denied=yes install-replace=yes restore-replace=yes PFSENSE-CONFIG-READONLY-RESTORE-WITNESS

Fix

Honor user-config-readonly in config_install and config_restore.

References

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