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-wireless-clone — pfSense CE 2.9.0-DEVELOPMENT - High - Remote - RCE - wireless clone ifconfig | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-wireless-clone
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlRemote Access Tool
GitHubabraxas/pfsense-wireless-clone

pfsense-wireless-clone

pfSense CE 2.9.0-DEVELOPMENT - High - Remote - RCE - wireless clone ifconfig

View Repository
1 day 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-wireless-clone

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

pfsense-wireless-clone

Class: RCE Reach: Remote

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

interfaces_wireless_edit.php stores $_POST['if'] with no allowlist. interface_wireless_clone interpolates interface_get_wireless_base($wlcfg['if']) into exec("/sbin/ifconfig wlan create wlandev {$baseif} {$mode} bssid 2>&1"). A _wlan suffix is stripped; a semicolon before that survives. Mode is a constant. Hidden cloneif is generated, not taken from POST.

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-interfaces-wireless-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:18910.

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

What an attacker can do

MethodSinkPrivilege
POST interfaces_wireless_edit.php ifinterfaces.inc interface_wireless_clone exec ifconfig wlan create wlandev {$baseif}Integrity: Lab-proven: POST if=ath0;w ran extra w via /bin/sh -c and wrote the witness. Root host commands from wireless-edit only.
same leftoversame sinkRecon: Inferred: same root shell can read config.xml and keys. This page does not print exec output.
same leftoversame sinkAvailability: Inferred: hostile ifconfig on wireless clones.

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

Requires: page-interfaces-wireless-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

Mode is not the injector. Hidden cloneif is not copied from POST. Unauth N/A. Diagnostics: Command not required and not granted.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:18910. Compose project pfsense-wireless-clone. Witness PFSENSE-WIRELESS-CLONE-WITNESS. Loopback only: 127.0.0.1:18910. Compose project pfsense-wireless-clone. Witness PFSENSE-WIRELESS-CLONE-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-WIRELESS-CLONE control-wlandev=yes trigger-exec=yes hidden-cloneif-copied=no PFSENSE-WIRELESS-CLONE-WITNESS

Fix

Allowlist POST if against live wireless parents. escapeshellarg $baseif before ifconfig.

References

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