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-bsnmpd-conf — pfSense CE 2.9.0-DEVELOPMENT - Medium - Remote - Config injection - bsnmpd syslocation | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-bsnmpd-conf
Vulnerability AnalysisExploitationWeb Application ExploitationConfiguration AuditingNetwork SecurityPenetration TestingPapers & ResearchLabs & Practice
GitHubabraxas/pfsense-bsnmpd-conf

pfsense-bsnmpd-conf

pfSense CE 2.9.0-DEVELOPMENT - Medium - Remote - Config injection - bsnmpd syslocation

View Repository
64 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-bsnmpd-conf

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

pfsense-bsnmpd-conf

Class: Config injection Reach: Remote

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

services_snmpd_configure interpolates location := "{$snmpdcfg['syslocation']}". GUI still only rejects #. Extra read := community line. No include/exec without a planted .so.

IDno CVE yet
ClassConfig injection
ReachRemote (authenticated WebGUI unless noted)
CWECWE-74
CVSSMedium: 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
ProductpfSense CE
Affected2.9.0-DEVELOPMENT (9363ac5b8651a1c7a333180425ce7719070f95f9)
AuthWebGUI session with page-services-snmp
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:19220.

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

What an attacker can do

MethodSinkPrivilege
POST services_snmp.php syslocationlocation := "{$snmpdcfg['syslocation']}"Integrity: Lab-proven: extra community line in snmpd.conf. mwexec stayed bsnmpd -c .
same leftoversame sinkRecon: Inferred: extra community can widen SNMP read if bsnmpd honors the second read.
same leftoversame sinkAvailability: Inferred: parse-fail snmpd.

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

Requires: page-services-snmp. 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

No include/exec without a planted .so. Not shell.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:19220. Compose project pfsense-bsnmpd-conf. Witness PFSENSE-BSNMPD-CONF-WITNESS. Loopback only: 127.0.0.1:19220. Compose project pfsense-bsnmpd-conf. Witness PFSENSE-BSNMPD-CONF-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-BSNMPD-CONF control-one-syslocation=yes trigger-extra-community=yes PFSENSE-BSNMPD-CONF-WITNESS

Fix

Reject quote/semicolon/newline in location/contact/community/trap.

References

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