Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
pfsense-separator-color-xss — pfSense CE 2.9.0-DEVELOPMENT - 中危 - 远程 - XSS - 将分隔符颜色注入 class | Kitploit
工具/GitHubGitHub/abraxas/pfsense-separator-color-xss
漏洞分析漏洞利用Web应用程序漏洞利用Web安全渗透测试实验室与实践
GitHubabraxas/pfsense-separator-color-xss

pfsense-separator-color-xss

pfSense CE 2.9.0-DEVELOPMENT - 中危 - 远程 - XSS - 将分隔符颜色注入 class

分享
查看仓库
101个月前尚未审核

Abraxas Labs - pfsense-separator-color-xss

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

pfsense-separator-color-xss

类别: XSS 可达性: 远程

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

display_separator() 将 $separator['color'] 拼接进 class="...",未做编码。order-store 复制 POST separator,未对 color 做白名单校验。文本经过 htmlspecialchars 处理。

ID暂无 CVE
类别XSS
可达性远程(除非另有说明,需已认证的 WebGUI)
CWECWE-79
CVSS中危:5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
产品pfSense CE
受影响版本2.9.0-DEVELOPMENT (9363ac5b8651a1c7a333180425ce7719070f95f9)
认证具有 page-firewall-rules or page-firewall-nat-portforward order-store 权限的 WebGUI 会话
许可证GNU Affero GPL v3.0
实验环境仅 127.0.0.1

我锁定了公共 master 分支 9363ac5。实验环境是针对该锁定版本 sink 的 PHP gadget,回环 HTTP 监听 127.0.0.1:19160。

系列文章:https://abraxaslabs.tech/research/pfsense-ce-leftovers

攻击者能做什么

方法Sink权限
POST firewall_rules.php order-store separator colordisplay_separator class="...{$separator['color']}..."完整性: 实验已验证:在三处插值中,引号突破在 class= 中为原始输出。NAT 重排序是同一个 sink。
同一遗留点同一 sink侦察: 推断:GUI 源中的存储型 XSS。
同一遗留点同一 sink可用性: 未展示。

需要: page-firewall-rules or page-firewall-nat-portforward order-store。除非另有说明,POST 受 CSRF-magic 保护。WebGUI PHP-FPM 以 root 运行。

需要: page-firewall-rules or page-firewall-nat-portforward order-store。除非另有说明,POST 受 CSRF-magic 保护。WebGUI PHP-FPM 以 root 运行。除非另有说明,POST 受 CSRF-magic 保护。WebGUI PHP-FPM 以 root 运行。

保持关闭的相邻攻击面

文本编码。UI 颜色 bg-info/danger/success/warning。字符串行辅助 JS 不匹配 row/0。

除非该页面也被授权,否则没有 Diagnostics: Command。

实验环境

cd lab
./run.sh

回环 127.0.0.1:19160。Compose 项目 pfsense-separator-color-xss。见证 PFSENSE-SEPARATOR-COLOR-XSS-WITNESS。仅回环:127.0.0.1:19160。Compose 项目 pfsense-separator-color-xss。见证 PFSENSE-SEPARATOR-COLOR-XSS-WITNESS。针对锁定代码行的 PHP gadget。运行结束后栈会被拆除。

最后一行:

SUCCESS PFSENSE-SEPARATOR-COLOR-XSS control-class=yes trigger-unescaped=yes text-encoded=yes string-row-closed=yes nat-same-sink=yes PFSENSE-SEPARATOR-COLOR-XSS-WITNESS

修复

对 separator color 做白名单校验。在 class= 中使用 htmlspecialchars。

参考资料

  • github.com/pfsense/pfsense 9363ac5b8651a1c7a333180425ce7719070f95f9
  • CWE-79
  • 系列文章:https://abraxaslabs.tech/research/pfsense-ce-leftovers
下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    717
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    504
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    402
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    342
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    260
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    259

探索所有工具

浏览我们的工具集合

查看所有工具 →