Skip to main content

Online Shopping System CVE-2025-52021

CRITICAL
SQL Injection (CWE-89)
2025-10-07 cve@mitre.org
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach edit_product.php endpoint
  2. Exploit
    Craft malicious product_id GET value
  3. Execution
    Injected SQL executed by backend
  4. Impact
    Extract or tamper with database records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The concrete prerequisite is the ability to send an HTTP request to the edit_product.php endpoint with an attacker-controlled product_id GET parameter, which is passed into a SQL query without validation or parameterization; no special product feature or non-default configuration is cited as required. The supplied CVSS vector marks PR:N and UI:N (no authentication or user interaction), but the sources do not actually describe whether this product-editing endpoint sits behind an admin login - if it does, authentication would be a real limiting factor not reflected in the vector. The main limiter on real-world impact is deployment: the product is a niche open-source e-commerce application, so exploitation is constrained to the small set of environments actually running it.

Impact

The CVSS 3.1 base score is 9.8 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H), modeling an unauthenticated, network-reachable, low-complexity SQL injection with full confidentiality, integrity, and availability impact - the classic maximal-severity profile for CWE-89. The vuln.today decision label is act_now, which signals high priority. However, the supporting exploitation signals are thin and partly missing: there is no CISA KEV listing (not confirmed actively exploited), and no EPSS probability is provided in the input, so real-world exploitation likelihood cannot be quantified from this data. A single reference exists - a GitHub gist - which functions as a public PoC reference but is not verified as working exploit code. The decisive tempering factor is the product itself: PuneethReddyHC Online Shopping System Advanced is a small open-source/student-style PHP e-commerce project with negligible production footprint, so despite the 9.8 score and act_now label, aggregate internet-wide exposure is very limited. Net: technically a trivially exploitable, high-impact bug where the product is deployed, but likely of targeted/opportunistic rather than widespread significance. One signal to verify: the description centers on edit_product.php (a product-editing endpoint that in many applications sits behind an admin login), yet the supplied CVSS uses PR:N - whether the endpoint is truly reachable pre-authentication is not stated in the available sources and should be confirmed.

Exploit ScenarioDerived

A remote attacker requests edit_product.php with a crafted product_id GET parameter containing SQL syntax, which is concatenated into the backend query without parameterization. This lets the attacker read, modify, or destroy database contents (e.g., dumping user/order records or altering product data). A public PoC reference exists (a GitHub gist); it is not verified as working exploit code.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

SQL injection in PuneethReddyHC Online Shopping System Advanced 1.0 allows remote attackers to influence SQL queries through the product_id GET parameter in edit_product.php, with the CVSS 3.1 vector modeling unauthenticated, network-reachable, low-complexity access and high confidentiality, integrity, and availability impact. The sources do not confirm whether the product-editing endpoint is protected by an admin login, so authentication requirements are not confirmed from available data despite the PR:N vector. No confirmed public exploit code or active exploitation was identified in the supplied data.

RemediationAI

No vendor-released patch identified at time of analysis. Until a fixed release is available, restrict access to edit_product.php to trusted administrative networks or localhost where feasible, accepting that this blocks remote product editing for legitimate users. If the application code can be modified, cast product_id to an integer and use prepared statements for the query, since input validation alone is weaker than parameterization. As an interim control, deploy a WAF rule targeting SQL metacharacters in product_id on edit_product.php, but note that WAF rules can be bypassed and may cause false positives. Run the application with a least-privilege database account so a successful injection cannot perform administrative database actions, with the trade-off that some application features may require additional grants. Given the act_now decision label, prioritize confirming exposure and applying access restrictions while a code fix is prepared.

Affected ProductsAI

PuneethReddyHC Online Shopping System Advanced 1.0 is affected, specifically the edit_product.php endpoint that consumes the product_id GET parameter. No CPE string was provided in the input data. The only listed reference is https://gist.github.com/hafizgemilang/c953d16c1459458667132e93359f3d6c; no separate vendor advisory or patch reference was supplied.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected application is a PHP-based e-commerce system; edit_product.php takes the product_id GET parameter and passes it into a SQL query without proper validation or parameterization. This is CWE-89 (improper neutralization of special elements used in an SQL command), allowing an attacker who can reach the endpoint to alter query structure and potentially read or modify database contents. No CPE data was supplied, and the only reference is a gist that is not described as verified working exploit code. The real-world exposure is limited by deployment of this niche open-source application, and the supplied sources do not establish whether edit_product.php sits behind an admin login.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Network-reachable, low-complexity SQLi via a GET parameter with full DB read/write/destroy impact; PR:N retained per the description, though the endpoint's auth status is unverified.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

A SQL Injection vulnerability exists in the edit_product.php file of PuneethReddyHC Online Shopping System Advanced 1.0. The product_id GET parameter is unsafely passed to a SQL query without proper validation or parameterization.

Executive ViewAI

Why It Matters

The PuneethReddyHC Online Shopping System Advanced 1.0 contains a critical SQL injection vulnerability in the product editing endpoint, potentially allowing unauthenticated attackers to compromise the confidentiality, integrity, and availability of the application's database. This flaw affects the e-commerce platform's core data, including product information and possibly customer data, which could lead to data breaches, transaction manipulation, and service disruption. Leadership should prioritize remediation due to the high severity and potential for significant business and reputational damage.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Rare
small open-source/student PHP e-commerce project, negligible production footprint
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy