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-cp-maxprocperip — pfSense CE 2.9.0-DEVELOPMENT - High - Remote - Config injection - CP maxprocperip nginx | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-cp-maxprocperip
Vulnerability AnalysisExploitationWeb Application ExploitationConfiguration AuditingWeb SecurityPenetration TestingLabs & Practice
GitHubabraxas/pfsense-cp-maxprocperip

pfsense-cp-maxprocperip

pfSense CE 2.9.0-DEVELOPMENT - High - Remote - Config injection - CP maxprocperip nginx

View Repository
2 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-cp-maxprocperip

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

pfsense-cp-maxprocperip

Class: Config injection Reach: Remote

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

Integer check is on unused POST maxproc. maxprocperip is stored raw and emitted as limit_conn addr $maxprocperip; inside server{}. Extra location/alias is accepted.

IDno CVE yet
ClassConfig injection
ReachRemote (authenticated WebGUI unless noted)
CWECWE-94
CVSSHigh: 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
ProductpfSense CE
Affected2.9.0-DEVELOPMENT (9363ac5b8651a1c7a333180425ce7719070f95f9)
AuthWebGUI session with plant with page-services-captiveportal; then unauth on the portal listener
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:19120.

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

What an attacker can do

MethodSinkPrivilege
POST services_captiveportal.php maxprocperip, then unauth GET portal vhostsystem_generate_nginx_config limit_conn addr $maxprocperip;Integrity: Lab-proven: extra location /p { alias /oracle/; } inside CP server{}. nginx -t passed.
same leftoversame sinkRecon: Lab-proven: unauth GET of that location returned the planted file on the portal vhost, not the GUI. Host RCE not shown.
same leftoversame sinkAvailability: Inferred: invalid nginx fails to start that zone.

Requires: plant with page-services-captiveportal; then unauth on the portal listener. CSRF-magic on POST unless noted. WebGUI PHP-FPM is root.

Requires: plant with page-services-captiveportal; then unauth on the portal listener. 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

GUI nginx (captive_portal=false). Unauth plant. Host RCE.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:19120. Compose project pfsense-cp-maxprocperip. Witness PFSENSE-CP-MAXPROCPERIP-WITNESS. Loopback only: 127.0.0.1:19120. Compose project pfsense-cp-maxprocperip. Witness PFSENSE-CP-MAXPROCPERIP-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-CP-MAXPROCPERIP control-limit-conn=yes nginx-t-control=yes trigger-inject=yes nginx-t-trigger=yes host-read=yes fail-to-start=no PFSENSE-CP-MAXPROCPERIP-WITNESS

Fix

is_numericint maxprocperip. Reject braces/semicolons.

References

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