CVE-2021-34165: Sourcecodester Basic Shopping Cart - Broken Authentication
- Cve: CVE-2021-34165
- Name: Sourcecodester Basic Shopping Cart - Broken Authentication
- Description: A SQL Injection vulnerability in Sourcecodester Basic Shopping Cart 1.0 allows a remote attacker to Bypass Authentication and become Admin.
- Impact: Attackers can bypass authentication and escalate privileges to admin, gaining full control over the system.
- Remediation: Implement parameterized queries and input validation to prevent SQL injection.
- Vulnerability type: sql_injection
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.05586
- Epss percentile: 0.93004
- Assignee: [email protected]
- Published at: 2021-07-30T14:15:17Z
- Age in days: 1943
- Modified at: 2026-06-17T03:55:31Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-34165
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.exploit-db.com/exploits/49741 | nvd | 2021-07-30 |
References
| Url | Source | Tags |
|---|---|---|
| https://www.exploit-db.com/exploits/49741 | nvd | Exploit, Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| basic_shopping_cart_project:basic_shopping_cart | = 1.0 | no | nvd | /v1/products/basic_shopping_cart_project/basic_shopping_cart |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-07-30
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts