Create artifactory-anonymous-deploy.yaml

patch-1
Dhiyaneshwaran 2021-06-06 19:37:32 +05:30 committed by GitHub
parent 0ca3da9a28
commit 158914d4db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
id: artifactory-anonymous-deploy
info:
name: Artifactory repos with anonymous deploy permissions
reference: https://www.errno.fr/artifactory/Attacking_Artifactory.html
author: panch0r3d
severity: high
requests:
- method: GET
path:
- "{{BaseURL}}/artifactory/ui/repodata?deploy=true"
headers:
User-Agent: "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0"
matchers-condition: and
matchers:
- type: regex
regex:
- '(repoList).*?["].*["]'
- '(repoTypesList).*?["].*["]'
part: body
extractors:
- type: regex
part: body
regex:
- '(repoTypesList).*?["].*["]'
- '(repoList).*?["].*["]'