46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
|
id: CVE-2021-41648
|
||
|
|
||
|
info:
|
||
|
name: PuneethReddyHC action.php SQL Injection
|
||
|
author: daffainfo
|
||
|
severity: high
|
||
|
description: An unauthenticated SQL injection vulnerability exists in PuneethReddyHC Online Shopping through the /action.php prId parameter. Using a post request does not sanitize the user input.
|
||
|
reference:
|
||
|
- https://github.com/MobiusBinary/CVE-2021-41648
|
||
|
- https://awesomeopensource.com/project/PuneethReddyHC/online-shopping-system
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-41649
|
||
|
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.5
|
||
|
cve-id: CVE-2021-41648
|
||
|
cwe-id: CWE-89
|
||
|
tags: cve,cve2021,sqli,injection
|
||
|
|
||
|
http:
|
||
|
- 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
|
||
|
|
||
|
# Enhanced by mp on 2022/03/07
|