Skip to content

Commit

Permalink
fix some error in jackson/CVE-2017-7525's README
Browse files Browse the repository at this point in the history
  • Loading branch information
phith0n committed Oct 13, 2018
1 parent 0010cba commit 01e4417
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jackson/CVE-2017-7525/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Content-Length: 1298

CVE-2017-7525 [黑名单修复](https://github.com/FasterXML/jackson-databind/commit/60d459cedcf079c6106ae7da2ac562bc32dcabe1) 绕过,利用了 `org.springframework.context.support.FileSystemXmlApplicationContext`

利用该漏洞,我们需要在创建一个bean文件,放置在任意服务器上,如`http://evil/spel.xml`,内容如下:
利用该漏洞,我们需要创建一个bean文件,放置在任意服务器上,如`http://evil/spel.xml`,内容如下:

```xml
<beans xmlns="http://www.springframework.org/schema/beans"
Expand Down Expand Up @@ -107,7 +107,7 @@ Content-Length: 138

![](2.png)

**原理:**利用 `FileSystemXmlApplicationContext` 加载远程 bean 定义文件,创建 ProcessBuilder bean,并在 xml 文件中使用 Spring EL 来调用 `start()` 方法实现命令执行
**原理:** 利用 `FileSystemXmlApplicationContext` 加载远程 bean 定义文件,创建 ProcessBuilder bean,并在 xml 文件中使用 Spring EL 来调用 `start()` 方法实现命令执行

## 参考

Expand Down

0 comments on commit 01e4417

Please sign in to comment.