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-logs-filter-xss — pfSense CE 2.9.0-DEVELOPMENT - Medium - Remote - XSS - logs filter JSON as HTML | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-logs-filter-xss
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingLabs & Practice
GitHubabraxas/pfsense-logs-filter-xss

pfsense-logs-filter-xss

pfSense CE 2.9.0-DEVELOPMENT - Medium - Remote - XSS - logs filter JSON as HTML

View Repository
4 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-logs-filter-xss

abraxaslabs.tech  ·  github.com/abraxas  ·  @abraxas_null  ·  [email protected]  ·  pfsense-logs-filter-xss

pfsense-logs-filter-xss

Class: XSS Reach: Remote

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

status_logs_filter.php POST resolve= json_encode with no JSON_HEX_TAG and default Content-Type text/html.

IDno CVE yet
ClassXSS
ReachRemote (authenticated WebGUI unless noted)
CWECWE-79
CVSSMedium: 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
ProductpfSense CE
Affected2.9.0-DEVELOPMENT (9363ac5b8651a1c7a333180425ce7719070f95f9)
AuthWebGUI session with page-diagnostics-logs-firewall
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:19130.

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

What an attacker can do

MethodSinkPrivilege
POST status_logs_filter.php resolve=json_encode as text/htmlIntegrity: Lab-proven: reflected
same leftoversame sinkRecon: Lab-proven: unescaped script tag in JSON-as-HTML.
same leftoversame sinkAvailability: None shown.

Requires: page-diagnostics-logs-firewall. CSRF-magic on POST unless noted. WebGUI PHP-FPM is root.

Requires: page-diagnostics-logs-firewall. 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

application/json plus nosniff. JSON_HEX_TAG. csrf-magic. SameSite=Strict. Unauth N/A.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:19130. Compose project pfsense-logs-filter-xss. Witness PFSENSE-LOGS-FILTER-XSS-WITNESS. Loopback only: 127.0.0.1:19130. Compose project pfsense-logs-filter-xss. Witness PFSENSE-LOGS-FILTER-XSS-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-LOGS-FILTER-XSS control-json-html=yes trigger-unescaped-script=yes PFSENSE-LOGS-FILTER-XSS-WITNESS

Fix

Content-Type application/json. json_encode JSON_HEX_TAG|JSON_HEX_AMP.

References

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