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
Tools/GitHubGitHub/abraxas/pfsense-carp-vhid
Vulnerability AnalysisExploitationWeb Application ExploitationPost-ExploitationPenetration TestingCommand and ControlRed TeamingLabs & Practice
GitHubabraxas/pfsense-carp-vhid

pfsense-carp-vhid

pfSense CE 2.9.0-DEVELOPMENT - High - Remote - RCE - CARP VHID leftover

1181 month agoNot yet reviewed
View Repository

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    1.3k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    988
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    749
  • 4

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    511
  • 5

    mcp-reverse

    1llu50ry/mcp-reverse

    MCP server exposing 180+ reverse-engineering tools that aggregate Ghidra, IDA, x64dbg, Frida and 56 other backends with native binary parsers and a 4,200-skill knowledge base.

    355
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    336

Explore all tools

Browse our collection of tools

View all tools →
Share

Abraxas Labs - pfsense-carp-vhid

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

Write-up: https://abraxaslabs.tech/research/pfsense-carp-vhid

pfsense-carp-vhid

Class: RCE Reach: Remote

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

Virtual IP edit stores CARP VHID from POST with no 1-255 check. Form_Select options are HTML only. CARP apply escapeshellargs the VHID. Stacked IP Alias apply interpolates vhid {$carpvip['vhid']} outside escapeshellarg. CARP status interpolates the same stored VHID into a double-quoted grep pipeline; semicolon stays quoted, command substitution still runs under /bin/sh -c. Privilege is VIP edit + apply, not Diagnostics: Command.

IDno CVE yet
ClassRCE
ReachRemote (authenticated WebGUI)
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) CARP VHID
AuthWebGUI session with VIP edit + apply (status/widget is a later trigger)
LicenseGNU Affero GPL v3.0
Lab127.0.0.1 only

I pinned public master 9363ac5. The lab is a PHP gadget of pinned interface_carp_configure, stacked ipalias mwexec, and status exec. Loopback 127.0.0.1:18830.

What an attacker can do

MethodSinkPrivilege
POST carp VIP with a non-integer VHID, then apply a stacked IP Alias on that _vip{uniqid} parentmwexec ifconfig ... alias {$gateway} {$vhid} (interfaces.inc:3238)Integrity (lab-proven): root shell. Lab: ipalias-unescaped wrote the witness. CARP apply of the same VHID wrote none (carp-escaped=yes).
Same stored VHID, then GET status_carp.php or render carp_status.widget.phpexec grep pipeline (pfsense-utils.inc:794)Integrity (lab-proven): command substitution inside the double quotes ran and wrote the witness (status-sink=yes, status-subst=yes). Semicolon stayed quoted. Widget trigger can be another GUI session.
Same root shellhost filesystemRecon (inferred): config.xml, keys.
Root shell or broken ifconfigCARP / alias devicesAvailability (inferred): interface / CARP / filter disruption.

Lab-proven vs inferred: carp-escaped, ipalias-unescaped witness, and status command-substitution witness are lab-proven. Filesystem recon and filter disruption are inferred from root PHP-FPM.

Requires: page-firewall-virtualipaddress-edit (save) and page-firewall-virtualipaddresses (apply). Status sink: page-status-carp or any dashboard with the CARP widget. CSRF on POST.

Adjacent surface that stays closed

SurfaceLab
CARP apply itselfescapeshellarg on VHID, carp-escaped=yes
CARP password / advbase / advskew / subnetis_ipaddr / escaped
Unauthclosed
xmlrpc apply of the same objects without HA credsSA-26_22 skip-list
Diagnostics: Commandstays closed unless also granted

Lab

cd lab
./run.sh

Loopback 127.0.0.1:18830. Compose project pfsense-carp-vhid. Image tag pfsense-carp-vhid:2.9.0-dev. Witness PFSENSE-CARP-VHID-WITNESS. Last line:

SUCCESS PFSENSE-CARP-VHID carp-escaped=yes ipalias-unescaped=yes status-sink=yes PFSENSE-CARP-VHID-WITNESS

The fix

Integer-range the VHID to 1-255 on save. escapeshellarg the VHID on stacked IP Alias apply and on the status grep, the same way CARP apply already does.

References

  • github.com/pfsense/pfsense 9363ac5b8651a1c7a333180425ce7719070f95f9
  • firewall_virtual_ip.inc saveVIP
  • interfaces.inc stacked ipalias mwexec
  • pfsense-utils.inc CARP status grep
  • CWE-78
Download Tool