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-pppoe-secret-bang — pfSense CE 2.9.0-DEVELOPMENT - High - Remote - RCE - PPPoE mpd.secret bang | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-pppoe-secret-bang
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlRed TeamingLabs & Practice
GitHubabraxas/pfsense-pppoe-secret-bang

pfsense-pppoe-secret-bang

pfSense CE 2.9.0-DEVELOPMENT - High - Remote - RCE - PPPoE mpd.secret bang

View Repository
44 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-pppoe-secret-bang

abraxaslabs.tech  ·  github.com/abraxas  ·  @abraxas_null  ·  [email protected]  ·  pfsense-pppoe-secret-bang

pfsense-pppoe-secret-bang

Class: RCE Reach: Remote

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

Username charset allows CR/LF. Password ! strip (#10275) ltrims a leading ! off the password only. mpd runs ! as an external password helper as root. Direct POST keeps newlines; browser type=text strips them.

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-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:18980.

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

What an attacker can do

MethodSinkPrivilege
POST services_pppoe_edit.php username with CR/LFvpn_pppoe_updatesecret mpd.secret ! helperIntegrity: Lab-proven: username newline plus ! helper line; stub PAP/CHAP ran the helper and wrote the witness. Password ! GUI rejected.
same leftoversame sinkRecon: Inferred: helper stdout unused.
same leftoversame sinkAvailability: None shown.

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

Requires: 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

Password ! GUI plus ltrim. L2TP username charset. Browser newline strip.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:18980. Compose project pfsense-pppoe-secret-bang. Witness PFSENSE-PPPOE-SECRET-BANG-WITNESS. Loopback only: 127.0.0.1:18980. Compose project pfsense-pppoe-secret-bang. Witness PFSENSE-PPPOE-SECRET-BANG-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-PPPOE-SECRET-BANG control-one-line=yes control-no-helper=yes password-bang-strip=yes trigger-helper=yes PFSENSE-PPPOE-SECRET-BANG-WITNESS

Fix

Reject CR/LF in PPPoE usernames. Apply the same charset as L2TP.

References

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