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-l2tp-radius-mpd — pfSense CE 2.9.0-DEVELOPMENT - High - Remote - RCE - L2TP RADIUS mpd.conf | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-l2tp-radius-mpd
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlRemote Access Tool
GitHubabraxas/pfsense-l2tp-radius-mpd

pfsense-l2tp-radius-mpd

pfSense CE 2.9.0-DEVELOPMENT - High - Remote - RCE - L2TP RADIUS mpd.conf

View Repository
65 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-l2tp-radius-mpd

abraxaslabs.tech  ·  github.com/abraxas  ·  @abraxas_null  ·  [email protected]  ·  pfsense-l2tp-radius-mpd

pfsense-l2tp-radius-mpd

Class: RCE Reach: Remote

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

vpn.inc interpolates "{$radiussecret}" quoted but unescaped. PPP client uses get_mpd_str(); servers do not. Extra set iface up-script wins. #16128 is client-only.

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-vpn-vpnl2tp (sibling page-services-pppoeserver-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:18960.

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

What an attacker can do

MethodSinkPrivilege
POST vpn_l2tp.php radius secretvpn.inc set radius server ... "{$radiussecret}"Integrity: Lab-proven: quote-close secret added set iface up-script; stub mpd last-wins ran it and wrote the witness. get_mpd_str absent on this path.
same leftoversame sinkRecon: Inferred: up-script runs as root on the next L2TP session.
same leftoversame sinkAvailability: Inferred: break mpd parse / VPN service.

Requires: page-vpn-vpnl2tp (sibling page-services-pppoeserver-edit). CSRF-magic on POST unless noted. WebGUI PHP-FPM is root.

Requires: page-vpn-vpnl2tp (sibling page-services-pppoeserver-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

PPP client get_mpd_str already on this pin. CONTROL secret does not write witness.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:18960. Compose project pfsense-l2tp-radius-mpd. Witness PFSENSE-L2TP-RADIUS-MPD-WITNESS. Loopback only: 127.0.0.1:18960. Compose project pfsense-l2tp-radius-mpd. Witness PFSENSE-L2TP-RADIUS-MPD-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-L2TP-RADIUS-MPD control-quoted-secret=1 control-extra-up-script=no control-witness=no trigger-extra-up-script=yes trigger-last-wins=yes trigger-witness=yes get_mpd_str=no PFSENSE-L2TP-RADIUS-MPD-WITNESS

Fix

Run RADIUS secrets through get_mpd_str on L2TP and PPPoE server configure.

References

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