Browse / CVEs / CVE-2021-41648
CVE-2021-41648· online-shopping-system-advanced project / online-shopping-system-advanced· CWE-89
PuneethReddyHC action.php SQL Injection
highseverity
7.5CVSS score
10.3%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it
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.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
Fix
Upgrade to the latest version to mitigate this vulnerability.
How to confirm it
Send: POST {{BaseURL}}/action.php
Positive when: contains in header "text/html" AND contains "Warning: mysqli_num_rows() expects parameter 1 to be" and "xdebug-error xe-warning" AND status 200Run it with nuclei: nuclei -id CVE-2021-41648 -u <target>. This check is not marked as verified by its authors.
The full check
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.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
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
- https://github.com/nu11secur1ty/Windows10Exploits
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.10251
epss-percentile: 0.95722
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,cve,sqli,packetstorm,online-shopping-system-advanced_project,vuln
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:
- 200References
- 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
- https://github.com/nu11secur1ty/Windows10Exploits
Use this check only on systems you are authorised to test. Where the data comes from