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-gw-ipv6-zone — pfSense CE 2.9.0-DEVELOPMENT - High - Remote - RCE - IPv6 zone into dpinger | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-gw-ipv6-zone
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRemote Access ToolLabs & Practice
GitHubabraxas/pfsense-gw-ipv6-zone

pfsense-gw-ipv6-zone

pfSense CE 2.9.0-DEVELOPMENT - High - Remote - RCE - IPv6 zone into dpinger

View Repository
4 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-gw-ipv6-zone

abraxaslabs.tech  ·  github.com/abraxas  ·  @abraxas_null  ·  [email protected]  ·  pfsense-gw-ipv6-zone

pfsense-gw-ipv6-zone

Class: RCE Reach: Remote

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

is_ipaddrv6() strips %zone for Net_IPv6::checkIPv6 and never charset-checks the zone. start_dpinger interpolates {$gateway['monitor']} into mwexec with no escapeshellarg. Empty monitor copies the gateway IP.

IDno CVE yet
ClassRCE
ReachRemote (authenticated WebGUI unless noted)
CWECWE-78
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-system-gateways-editgateway then apply
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:18930.

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

What an attacker can do

MethodSinkPrivilege
POST system_gateways_edit.php gateway/monitor IPv6%zonestart_dpinger mwexec {$gateway['monitor']}Integrity: Lab-proven: fe80::1%eth0;w still passed is_ipaddrv6; mwexec /bin/sh -c ran extra w.
same leftoversame sinkRecon: Inferred: root shell can read host files.
same leftoversame sinkAvailability: Inferred: kill or replace dpinger monitoring.

Requires: page-system-gateways-editgateway then apply. CSRF-magic on POST unless noted. WebGUI PHP-FPM is root.

Requires: page-system-gateways-editgateway then apply. 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

Gateway name is is_validaliasname. Unauth N/A.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:18930. Compose project pfsense-gw-ipv6-zone. Witness PFSENSE-GW-IPV6-ZONE-WITNESS. Loopback only: 127.0.0.1:18930. Compose project pfsense-gw-ipv6-zone. Witness PFSENSE-GW-IPV6-ZONE-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-GW-IPV6-ZONE control-no-extra=yes trigger-extra-exec=yes PFSENSE-GW-IPV6-ZONE-WITNESS

Fix

Charset-check the zone. escapeshellarg monitor before mwexec. Prefer argv arrays.

References

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