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 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L) indicates network-based attack requiring no authentication or user interaction with low attack complexity—all high-risk indicators. The vulnerability impacts confidentiality, integrity, and availability equally. The critical classification combined with public exploit disclosure significantly elevates real-world exploitation probability. Exploitation is highly automatable given the straightforward SQL injection mechanism and lack of required authentication. The technical impact is substantial: attackers can query database contents, modify data, or potentially execute stored procedures depending on database permissions. Given the disclosed POC availability and remote unauthenticated attack vector, this represents a genuine and immediate priority requiring urgent patching, particularly for internet-facing instances. The relatively lower CVSS score (7.3 vs. 9.0+) reflects the limited scope impact rather than reduced exploitability. |
| Exploit ScenarioDerived | An attacker discovers a publicly accessible Modern Bag 1.0 installation and identifies the /contact-back.php endpoint. They craft a malicious HTTP POST request with contact-name parameter containing SQL injection payload, such as: contact-name=test' UNION SELECT username, password FROM users-- or contact-name=test'; DROP TABLE contacts;--. Since no authentication is required and the parameter is unsanitized, the injected SQL executes against the backend database. The attacker can extract sensitive data (usernames, emails, passwords from users table), enumerate database structure, modify records, or delete data. Given disclosed POC availability, automated exploitation tools likely exist, making attack execution trivial for even novice attackers. A single HTTP request with proper SQL syntax can compromise the entire database. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
CVE-2025-7512 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0, affecting the /contact-back.php file's contact-name parameter. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has public exploit disclosure and demonstrates active exploitation potential with a CVSS score of 7.3.
RemediationAI
{'type': 'patch', 'description': "Upgrade to a patched version of Modern Bag beyond 1.0 if available from code-projects. Check the vendor's official repository or website for security updates.", 'priority': 'critical'} {'type': 'code_fix', 'description': 'Implement parameterized queries/prepared statements in /contact-back.php. Replace all SQL concatenation with parameterized query syntax: use placeholders (?) or named parameters (:param) with bound variables.', 'example': 'Replace: "SELECT * FROM contacts WHERE name = \'" . $_POST[\'contact-name\'] . "\'" with prepared statement using mysqli_stmt_bind_param() or PDO prepared statements.'} {'type': 'input_validation', 'description': 'Implement strict input validation: whitelist alphanumeric characters and common name punctuation; enforce maximum length constraints; reject special SQL characters if parameterization is temporarily unavailable.', 'priority': 'high'} {'type': 'waf_mitigation', 'description': 'Deploy Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the contact-name parameter pending patch deployment. Monitor for attack patterns like quotes, semicolons, SQL keywords (UNION, SELECT, etc.).', 'priority': 'high'} {'type': 'access_control', 'description': 'Restrict network access to /contact-back.php using firewall rules or reverse proxy authentication if the contact form is not essential.', 'priority': 'medium'} {'type': 'detection', 'description': 'Enable SQL query logging and database activity monitoring to detect exploitation attempts. Search logs for unusual SQL patterns in contact form submissions.', 'priority': 'medium'}
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 represents a classic SQL injection flaw (CWE-74: Improper Neutralization of Special Elements used in an Output ('Injection')) occurring in the contact form backend processing logic. The /contact-back.php endpoint fails to properly sanitize or parameterize the 'contact-name' input parameter before incorporating it into SQL queries. The affected product is code-projects Modern Bag 1.0, a PHP-based web application. The root cause stems from unsanitized user input being directly concatenated into SQL statements, bypassing standard query parameterization and prepared statement protections. Modern web frameworks typically prevent this through parameterized queries (prepared statements), but this legacy application appears to construct queries through string concatenation.
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 was found in code-projects Modern Bag 1.0. It has been classified as critical. Affected is an unknown function of the file /contact-back.php. The manipulation of the argument contact-name leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A publicly disclosed SQL injection vulnerability in Modern Bag 1.0 allows remote attackers to compromise database integrity and potentially exfiltrate sensitive customer data through the contact form functionality. This poses an immediate risk to any organization running this application, particularly those handling customer information via the contact feature.
Deploy Web Application Firewall (WAF) rules to block SQL injection patterns in contact-name parameter; disable /contact-back.php endpoint if non-critical; implement database access controls and monitoring; apply network segmentation to limit database exposure; require input validation/encoding at application level if code modifications are possible; monitor for exploitation via IDS/IPS signatures for SQLi attempts.
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-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-7508 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/product-upd
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-21241
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB