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

46 lines
1.2 KiB
YAML
Raw Normal View History

2021-10-02 15:16:40 +00:00
id: CVE-2021-41648
info:
name: PuneethReddyHC action.php SQL Injection
2021-10-02 15:16:40 +00:00
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
2021-10-02 15:16:40 +00:00
http:
2021-10-02 15:16:40 +00:00
- method: POST
path:
- "{{BaseURL}}/action.php"
2021-10-04 14:04:16 +00:00
body: "proId=1'&addToCart=1"
2021-10-02 15:16:40 +00:00
matchers-condition: and
matchers:
- type: word
words:
2021-10-04 14:04:16 +00:00
- "text/html"
2021-10-02 15:16:40 +00:00
part: header
- type: word
words:
- "Warning: mysqli_num_rows() expects parameter 1 to be"
2021-10-04 14:04:16 +00:00
- "xdebug-error xe-warning"
2021-10-02 15:16:40 +00:00
part: body
condition: and
- type: status
status:
- 200
# Enhanced by mp on 2022/03/07