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

55 lines
1.8 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.
remediation: |
Upgrade to the latest version to mitigate this vulnerability.
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
- http://packetstormsecurity.com/files/165036/PuneethReddyHC-Online-Shopping-System-Advanced-1.0-SQL-Injection.html
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
epss-score: 0.06237
epss-percentile: 0.92784
cpe: cpe:2.3:a:online-shopping-system-advanced_project:online-shopping-system-advanced:-:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: online-shopping-system-advanced_project
product: online-shopping-system-advanced
tags: cve2021,sqli,packetstorm,cve
http:
- method: POST
path:
- "{{BaseURL}}/action.php"
body: "proId=1'&addToCart=1"
matchers-condition: and
matchers:
- type: word
part: header
words:
- "text/html"
- type: word
part: body
words:
- "Warning: mysqli_num_rows() expects parameter 1 to be"
- "xdebug-error xe-warning"
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100e1424a3940a875f9d6cea37e8e2494da1a2500eb0989c620883bf2495a4b087302210099e9272783085ca0a5280664d132f357e07ec3f0b9f735e16f1f28c203cf0a1e:922c64590222798bb761d5b6d8e72950