Skip to main content

Modern Bag CVE-2025-7471

| EUVDEUVD-2025-21218 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-12 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Impact

This vulnerability presents HIGH real-world risk despite CVSS 7.3 (not 9.8+ critical). Risk signals: (1) CVSS vector AV:N/AC:L/PR:N/UI:N/S:U indicates network-exploitable, no privileges required, no user interaction—low attack complexity; (2) Public POC availability significantly increases exploitation probability; (3) SQL injection on admin login is automatable and enables full database compromise; (4) SSVC considerations: publicly exploited status, automatable exploitation, total loss of confidentiality/integrity/availability of database assets. The vulnerability is NOT a theoretical high-CVSS-low-risk issue—SQL injection on unauthenticated admin endpoints is a classic, actively weaponized attack pattern. However, CVSS 7.3 (vs 9.8) reflects limited scope; it does not compromise other systems (S:U). Organizations running unpatched Modern Bag 1.0 are at immediate, high priority risk.

Exploit ScenarioDerived

An attacker performs reconnaissance and identifies a target running Modern Bag 1.0. They navigate to the public admin login page at /admin/login-back.php. Instead of entering a valid username, they inject SQL payload such as: user-name=admin' OR '1'='1 or user-name=admin' UNION SELECT password FROM users--. The vulnerable code concatenates this directly into the SQL query (e.g., SELECT * FROM users WHERE username='admin' OR '1'='1'), bypassing authentication or extracting password hashes. The attacker gains admin access or exfiltrates database contents. Attack is executed in <1 minute, requires no authentication, no user interaction, and can be fully automated using tools like sqlmap. Given public POC availability, exploitation has likely already occurred in active attack campaigns.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAI

CVE-2025-7471 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0 affecting the /admin/login-back.php endpoint. An unauthenticated remote attacker can inject malicious SQL code via the 'user-name' parameter to compromise confidentiality, integrity, and availability of the application and underlying database. The vulnerability has been publicly disclosed with proof-of-concept code available, increasing real-world exploitation risk.

RemediationAI

Immediate Mitigation: Restrict network access to /admin/login-back.php via firewall rules or WAF; limit admin interface exposure to known IP ranges only Application-Level Workaround: Implement input validation regex: reject user-name parameters containing SQL metacharacters (single quotes, double quotes, semicolons, dashes, asterisks). Deploy a WAF rule to block SQL keywords (SELECT, UNION, DROP, etc.) in the user-name field Code-Level Patch: Replace all SQL query concatenation in login-back.php with parameterized prepared statements using bound variables (mysqli prepared statements or PDO parameterized queries). Example: use prepared statement with ? placeholders instead of string interpolation Version Update: Check code-projects official repository/advisories for Modern Bag version >1.0 patch release. If unavailable, consider alternative admin authentication libraries Detection & Monitoring: Enable SQL error logging; monitor for unusual query patterns in database logs; set IDS/IPS signatures to detect SQL injection payloads (UNION, OR 1=1, stacked queries) in admin login POST requests

Affected VersionsENISA

Modern Bag 1.0

Affected Packages

euvd modern_bag no fix

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 stems from improper input validation and parameterization in the login authentication mechanism. The root cause is classified under CWE-74 (Improper Neutralization of Special Elements in Output), though the actual exploitation vector appears to be CWE-89 (SQL Injection). The vulnerable code path processes user-supplied input from the 'user-name' parameter directly into SQL queries without proper prepared statements or parameterized query execution. Modern Bag 1.0 is a PHP-based application (inferred from .php extension), and the vulnerability likely exists in the authentication handler before privilege checks occur. The attack surface is the publicly accessible admin login interface, which makes the unauthenticated attack vector feasible.

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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Jul 15, 2025 - 14:32 vuln.today
Public exploit code
CVE Published
Jul 12, 2025 - 12:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability was found in code-projects Modern Bag 1.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /admin/login-back.php. The manipulation of the argument user-name leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A critical SQL injection vulnerability in Modern Bag 1.0's admin login function (CVE-2025-7471) allows remote attackers to compromise database integrity and gain unauthorized administrative access. With public exploits available and no vendor patch currently available, any organization running this application is at immediate risk of data breach and system compromise.

Business Impact: Severe
Compensating Controls

Implement Web Application Firewall (WAF) rules to detect and block SQL injection payloads targeting the user-name parameter; restrict network access to /admin/login-back.php to authorized IP addresses only; disable the Modern Bag application if not critical to operations; enable database activity monitoring and alerting for suspicious queries; enforce strong database credentials and principle of least privilege; implement real-time log monitoring for exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
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.

CVE-2025-2385 MEDIUM POC
6.9 Mar 17

A vulnerability has been found in code-projects Modern Bag 1.0 and classified as critical. Rated medium severity (CVSS 6

CVE-2025-7514 MEDIUM POC
5.5 Jul 13

A SQL injection vulnerability exists in code-projects Modern Bag version 1.0, specifically in the /admin/contact-list.ph

CVE-2025-7513 MEDIUM POC
5.5 Jul 13

CVE-2025-7513 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/slideupdate

CVE-2025-7512 MEDIUM POC
5.5 Jul 13

CVE-2025-7512 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0, affecting the /contact-

CVE-2025-7510 MEDIUM POC
5.5 Jul 13

CVE-2025-7510 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/productadd_

CVE-2025-7509 MEDIUM POC
5.5 Jul 13

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 MEDIUM POC
5.5 Jul 13

CVE-2025-7508 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/product-upd

CVE-2025-7478 MEDIUM POC
5.5 Jul 12

CVE-2025-7478 is a critical SQL injection vulnerability in code-projects Modern Bag 1.0 affecting the /admin/category-li

CVE-2025-7461 MEDIUM POC
5.5 Jul 12

CVE-2025-7461 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0, located in the /action.

CVE-2025-7467 MEDIUM POC
5.5 Jul 12

CVE-2025-7467 is a critical SQL injection vulnerability in code-projects Modern Bag version 1.0 affecting the /product-d

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