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-vlan-parent-ioctl — pfSense CE 2.9.0-DEVELOPMENT - Low - Remote - ioctl leftover - VLAN parent not in portlist | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-vlan-parent-ioctl
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingLabs & Practice
GitHubabraxas/pfsense-vlan-parent-ioctl

pfsense-vlan-parent-ioctl

pfSense CE 2.9.0-DEVELOPMENT - Low - Remote - ioctl leftover - VLAN parent not in portlist

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-vlan-parent-ioctl

abraxaslabs.tech  ·  github.com/abraxas  ·  @abraxas_null  ·  [email protected]  ·  pfsense-vlan-parent-ioctl

pfsense-vlan-parent-ioctl

Class: ioctl leftover Reach: Remote

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

interfaces_vlan_edit.php builds $portlist for Form_Select only. Save checks does_interface_exist($_POST['if']) and calls interface_vlan_configure. No $portlist membership. ifconfig vlan create uses escapeshellarg, so this is not shell.

IDno CVE yet
Classioctl leftover
ReachRemote (authenticated WebGUI unless noted)
CWECWE-863
CVSSMedium: 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
ProductpfSense CE
Affected2.9.0-DEVELOPMENT (9363ac5b8651a1c7a333180425ce7719070f95f9)
AuthWebGUI session with page-interfaces-vlan-edit
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:19290.

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

What an attacker can do

MethodSinkPrivilege
POST interfaces_vlan_edit.php if= hidden parentinterface_vlan_configure / pfSense_vlan_createIntegrity: Lab-proven: live lagg member hidden from the UI still got vlan create vlandev. Missing parent and shell metachar rejected.
same leftoversame sinkRecon: None shown.
same leftoversame sinkAvailability: Inferred: vlan on a kernel iface the UI hid.

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

Requires: page-interfaces-vlan-edit. 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

Not shell. Missing parent rejected. Shell metachar rejected.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:19290. Compose project pfsense-vlan-parent-ioctl. Witness PFSENSE-VLAN-PARENT-IOCTL-WITNESS. Loopback only: 127.0.0.1:19290. Compose project pfsense-vlan-parent-ioctl. Witness PFSENSE-VLAN-PARENT-IOCTL-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-VLAN-PARENT-IOCTL control-portlist=yes reject-missing=yes no-shell=yes trigger-hidden-ioctl=yes PFSENSE-VLAN-PARENT-IOCTL-WITNESS

Fix

Require POST if in $portlist, not only does_interface_exist.

References

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