Skip to main content

CVE-2025-7471: SQL Injection in code-projects Modern Bag

Medium
VulnerabilityCVE-2025-7471cvecve-2025-7471
Published: Sat Jul 12 2025 (07/12/2025, 11:32:05 UTC)
Source: CVE Database V5
Vendor/Project: code-projects
Product: Modern Bag

Description

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.

AI-Powered Analysis

AILast updated: 07/19/2025, 20:52:51 UTC

Technical Analysis

CVE-2025-7471 is a SQL Injection vulnerability identified in version 1.0 of the code-projects Modern Bag application. The vulnerability exists in the /admin/login-back.php file, specifically through the manipulation of the 'user-name' parameter. This flaw allows an unauthenticated remote attacker to inject malicious SQL code into the backend database queries. The injection occurs because the input is not properly sanitized or parameterized before being incorporated into SQL statements. Exploiting this vulnerability could enable attackers to read, modify, or delete sensitive data stored in the database, potentially leading to unauthorized access to administrative functions or user data. The vulnerability has been publicly disclosed, but no known exploits have been observed in the wild yet. The CVSS 4.0 base score is 6.9, indicating a medium severity level, with attack vector being network-based, no privileges or user interaction required, and low impact on confidentiality, integrity, and availability individually, but combined impact is moderate. The vulnerability affects only version 1.0 of Modern Bag, and no patches or fixes have been published at the time of disclosure.

Potential Impact

For European organizations using code-projects Modern Bag 1.0, this vulnerability poses a significant risk, especially for those relying on the affected admin login functionality. Successful exploitation could lead to unauthorized database access, data leakage, or manipulation, compromising confidentiality and integrity of sensitive business or customer information. Given the remote and unauthenticated nature of the attack, threat actors could automate exploitation attempts, increasing the risk of widespread compromise. The impact is particularly critical for organizations handling personal data under GDPR, as data breaches could result in regulatory penalties and reputational damage. Additionally, if attackers gain administrative access, they could further pivot within the network, escalating the threat. Although no known exploits are currently active, the public disclosure increases the likelihood of future exploitation attempts.

Mitigation Recommendations

Organizations should immediately audit their use of code-projects Modern Bag 1.0 and restrict access to the /admin/login-back.php endpoint through network-level controls such as IP whitelisting or VPN access. Input validation and parameterized queries must be implemented to sanitize the 'user-name' parameter, preventing SQL injection. If possible, upgrade to a patched or newer version once available from the vendor. In the interim, deploy Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection payloads targeting the vulnerable parameter. Conduct thorough logging and monitoring of admin login attempts to detect suspicious activity. Additionally, perform regular database integrity checks and backups to enable recovery in case of data tampering. Educate developers and administrators on secure coding practices to prevent similar vulnerabilities.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-07-11T12:02:04.246Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68724affa83201eaacb43c1a

Added to database: 7/12/2025, 11:46:07 AM

Last enriched: 7/19/2025, 8:52:51 PM

Last updated: 8/19/2025, 1:01:29 PM

Views: 34

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats