Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | The CVSS 3.1 score of 7.3 (High) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L reflects high real-world exploitability: network-accessible, low attack complexity, no authentication required, and impacts confidentiality, integrity, and availability within the application's scope. The lack of user interaction (UI:N) and no privilege escalation needed (PR:N) makes this trivially exploitable. Given public disclosure and exploit availability (KEV status likely ADDED), EPSS probability is expected to be elevated (>0.80 estimated). This is NOT a low-real-risk issue—it is immediately actionable for any organization running Modern Bag 1.0 and represents a critical business priority due to the direct database compromise vector and administrative interface exposure. |
| Exploit ScenarioDerived | An attacker discovers a public-facing instance of Modern Bag 1.0. Without authentication, they navigate to or craft a request to /admin/product-update.php with a malicious payload in the idProduct parameter, such as: idProduct=1 UNION SELECT username, password FROM admin_users -- This bypasses the intended product lookup and exfiltrates administrator credentials or modifies the product database. The attacker can then log in as admin, inject malware into product descriptions (for XSS distribution), or export the entire customer database (PII breach). Given AC:L and PR:N in the CVSS vector, this requires no special tools—basic HTTP manipulation (curl, browser dev tools) suffices. Public POC availability means script kiddies can automate this at scale across vulnerable instances. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
CVE-2025-7508 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/product-update.php endpoint, where the 'idProduct' parameter is improperly validated before database queries. An unauthenticated remote attacker can exploit this to execute arbitrary SQL commands, potentially exfiltrating sensitive data, modifying product information, or gaining further system access. The vulnerability has public exploit disclosure and active real-world exploitation is likely given the low attack complexity and lack of authentication requirements.
RemediationAI
{'type': 'Immediate mitigation', 'action': 'If patching is unavailable, restrict network access to /admin/ paths via firewall, WAF rules, or authentication bypass controls. Implement input validation on the idProduct parameter to ensure only numeric values are accepted (e.g., regex: ^[0-9]+$).'} {'type': 'Code-level fix', 'action': "Replace dynamic SQL query construction with prepared statements using parameterized queries (e.g., PHP PDO with placeholders or mysqli prepared statements). Example: Use $stmt = $pdo->prepare('UPDATE products SET ... WHERE id = ?'); $stmt->execute([$idProduct]); instead of string concatenation."} {'type': 'Patch availability', 'action': 'Contact code-projects for a patched version >1.0. If no official patch exists, consider forking the project or migrating to a maintained e-commerce platform (e.g., WooCommerce, Shopify) with active security support.'} {'type': 'Detection & response', 'action': 'Audit database logs for suspicious SQL queries containing UNION, SELECT, OR 1=1, etc. within product update requests. Deploy WAF signatures to block common SQL injection payloads targeting admin endpoints.'} {'type': 'Post-exploitation', 'action': 'If compromise is suspected, rotate database credentials, audit user accounts created post-incident, review product/price modifications, and restore from clean backups.'}
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), which encompasses SQL injection when user-supplied input is concatenated directly into SQL query strings without parameterization or proper escaping. The affected application uses PHP to handle administrative product updates; the vulnerable code path processes the 'idProduct' parameter from HTTP requests and inserts it into SQL queries against a backend database (likely MySQL/MariaDB). The root cause is the absence of prepared statements, input validation, or output encoding mechanisms. CPE specification would be 'cpe:2.3:a:code-projects:modern_bag:1.0:*:*:*:*:*:*:*', indicating the e-commerce/shopping cart application Modern Bag version 1.0 is affected.
Know when Modern Bag 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability, which was classified as critical, has been found in code-projects Modern Bag 1.0. Affected by this issue is some unknown functionality of the file /admin/product-update.php. The manipulation of the argument idProduct leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A critical SQL injection vulnerability in Modern Bag 1.0's admin product update function allows remote attackers to execute arbitrary database commands without authentication. Organizations using this application face immediate risk of data theft, unauthorized modifications, and potential system compromise, with public exploits already available.
Implement WAF rules to block SQL injection patterns in the idProduct parameter; restrict network access to /admin/product-update.php via IP whitelisting or VPN; disable the admin product update functionality if not operationally critical; implement database activity monitoring to detect exploitation attempts; apply least-privilege database user accounts; consider immediate application retirement pending vendor patch availability.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Modern Bag
View allA vulnerability has been found in code-projects Modern Bag 1.0 and classified as critical. Rated medium severity (CVSS 6
A SQL injection vulnerability exists in code-projects Modern Bag version 1.0, specifically in the /admin/contact-list.ph
CVE-2025-7513 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/slideupdate
CVE-2025-7512 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0, affecting the /contact-
CVE-2025-7510 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/productadd_
CVE-2025-7509 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/slide.php e
CVE-2025-7478 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/category-li
CVE-2025-7461 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0, located in the /action.
CVE-2025-7471 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0 affecting the /admin/log
CVE-2025-7467 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0 affecting the /product-d
EUVD-2025-21239
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB