A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-7471

CVE-2025-7471: Modern Bag SQL Injection Vulnerability

CVE-2025-7471 is a critical SQL injection vulnerability in Code-projects Modern Bag 1.0 affecting the admin login functionality. Attackers can exploit this remotely to compromise the database. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Updated: May 15, 2026

CVE-2025-7471 Overview

CVE-2025-7471 is a SQL injection vulnerability in code-projects Modern Bag 1.0. The flaw resides in the /admin/login-back.php script, where the user-name parameter is passed to a database query without proper sanitization. Attackers can manipulate this argument to inject arbitrary SQL statements. The vulnerability is exploitable remotely without authentication, and the exploit details have been disclosed publicly. The issue is tracked under CWE-89 (SQL Injection) and CWE-74 (Improper Neutralization of Special Elements in Output).

Critical Impact

Unauthenticated remote attackers can inject SQL through the admin login page, potentially compromising backend database confidentiality, integrity, and availability.

Affected Products

  • code-projects Modern Bag 1.0
  • Affected component: /admin/login-back.php
  • Vulnerable parameter: user-name

Discovery Timeline

  • 2025-07-12 - CVE-2025-7471 published to NVD
  • 2026-04-29 - Last updated in NVD database

Technical Details for CVE-2025-7471

Vulnerability Analysis

The vulnerability exists in the administrative login backend of code-projects Modern Bag 1.0. The script /admin/login-back.php accepts a user-name parameter from client input and incorporates it directly into a SQL query. Because the application does not validate, sanitize, or parameterize this input, attackers can break out of the intended query context and append arbitrary SQL clauses.

Successful exploitation can allow attackers to bypass authentication on the admin panel, enumerate database records, or extract credentials. The attack requires no privileges and no user interaction, and the attack surface is reachable over the network. Public disclosure of exploitation details increases the likelihood of opportunistic scanning and weaponization.

Root Cause

The root cause is improper neutralization of special characters in the user-name POST parameter before it is concatenated into a SQL statement. The application fails to use prepared statements or parameterized queries, mapping to [CWE-89]. Input handling also lacks server-side allow-list validation, which would constrain accepted characters and reject SQL metacharacters.

Attack Vector

An unauthenticated remote attacker sends a crafted HTTP POST request to /admin/login-back.php with a malicious payload in the user-name field. Typical payloads use single-quote terminators followed by boolean, UNION, or time-based SQL constructs to bypass authentication or exfiltrate data. The vulnerability is exploitable from any network position with HTTP access to the admin endpoint. See the public GitHub disclosure and VulDB entry #316123 for additional technical context.

No verified proof-of-concept code is reproduced here. Refer to the GitHub CVE Issue #4 for disclosed exploitation details.

Detection Methods for CVE-2025-7471

Indicators of Compromise

  • HTTP POST requests to /admin/login-back.php containing SQL metacharacters such as single quotes, --, UNION SELECT, or OR 1=1 in the user-name field.
  • Unexpected admin authentication successes from unfamiliar source IPs.
  • Database error messages or anomalous query response times originating from the login backend.

Detection Strategies

  • Inspect web server access logs for POST requests to /admin/login-back.php with encoded SQL syntax in form parameters.
  • Deploy web application firewall (WAF) rules that flag SQL injection patterns targeting the user-name parameter.
  • Correlate failed login spikes against the admin endpoint with subsequent privileged actions on the database.

Monitoring Recommendations

  • Enable database query logging and alert on UNION-based or boolean-based query patterns originating from the application user.
  • Monitor outbound traffic from the database server for unusual data egress that may indicate exfiltration.
  • Track new or modified admin accounts and session tokens within the Modern Bag application.

How to Mitigate CVE-2025-7471

Immediate Actions Required

  • Restrict network access to the /admin/ directory using IP allow-listing or VPN-only access until a fix is applied.
  • Deploy WAF signatures that block SQL injection payloads targeting the user-name parameter.
  • Audit the database for unauthorized accounts, modified records, or evidence of prior exploitation.

Patch Information

No vendor advisory or official patch has been published for code-projects Modern Bag 1.0 at the time of this writing. Refer to the code-projects website and the VulDB entry for updates. Organizations using this application should consider replacing it or applying source-level fixes to enforce parameterized queries in /admin/login-back.php.

Workarounds

  • Modify /admin/login-back.php to use prepared statements with bound parameters for the user-name and password fields.
  • Apply server-side input validation that restricts the user-name field to an allow-list of alphanumeric characters.
  • Run the database service with a least-privilege account that cannot read sensitive tables outside the application scope.
  • Disable or remove the administrative login endpoint if it is not actively required in production.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechCode Projects Modern Bag

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.20%

  • Known ExploitedNo
  • CVSS Vector
  • 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-74

  • CWE-89
  • Technical References
  • Code Projects Resource

  • GitHub CVE Issue #4

  • VulDB CTI ID #316123

  • VulDB #316123

  • VulDB Submission #610428
  • Related CVEs
  • CVE-2025-7461: Modern Bag SQL Injection Vulnerability

  • CVE-2025-7508: Modern Bag SQL Injection Vulnerability

  • CVE-2025-7509: Modern Bag SQLi Vulnerability in Admin Panel

  • CVE-2025-2385: Modern Bag SQL Injection Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English