Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-9021

CVE-2025-9021: Online Bank Management System SQLi Flaw

CVE-2025-9021 is a SQL injection vulnerability in Oretnom23 Online Bank Management System that allows remote attackers to manipulate database queries. This article covers technical details, affected versions, and mitigation.

Published: March 18, 2026

CVE-2025-9021 Overview

A SQL injection vulnerability has been identified in SourceCodester Online Bank Management System up to version 1.0. This vulnerability exists in the /bank/transfer.php file, where improper handling of the email parameter allows attackers to inject malicious SQL queries. The attack can be initiated remotely without authentication, potentially enabling unauthorized access to the database, data exfiltration, and manipulation of banking records.

Critical Impact

Unauthenticated remote attackers can exploit the SQL injection vulnerability in the banking transfer functionality to access, modify, or delete sensitive financial data stored in the database.

Affected Products

  • SourceCodester Online Bank Management System version 1.0
  • oretnom23 online_bank_management_system

Discovery Timeline

  • August 15, 2025 - CVE-2025-9021 published to NVD
  • August 21, 2025 - Last updated in NVD database

Technical Details for CVE-2025-9021

Vulnerability Analysis

This vulnerability is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), commonly manifesting as SQL injection. The vulnerable endpoint /bank/transfer.php processes user-supplied input through the email parameter without adequate sanitization or parameterized query implementation. When user input containing SQL metacharacters is submitted, the application directly concatenates this input into SQL queries, allowing attackers to modify query logic and execute arbitrary database commands.

The network-accessible nature of this vulnerability means any remote attacker can target the vulnerable endpoint without requiring prior authentication or user interaction. Successful exploitation could lead to confidentiality breaches through data extraction, integrity violations through record modification, and availability impacts through data deletion or database corruption.

Root Cause

The root cause of CVE-2025-9021 lies in the application's failure to implement proper input validation and parameterized queries in the transfer.php file. The email parameter is directly incorporated into SQL statements without escaping special characters or using prepared statements. This is a common coding practice error in PHP applications where user input is concatenated directly into database queries rather than using PDO prepared statements or mysqli parameterized queries.

Attack Vector

The attack vector is network-based, allowing unauthenticated remote exploitation. An attacker can craft malicious HTTP requests to the /bank/transfer.php endpoint with specially crafted SQL injection payloads in the email parameter. The exploitation flow involves:

  1. Identifying the vulnerable endpoint at /bank/transfer.php
  2. Crafting SQL injection payloads designed to manipulate the query structure
  3. Submitting the malicious request via HTTP POST or GET methods
  4. Extracting data, modifying records, or escalating privileges based on database permissions

The vulnerability can be exploited using standard SQL injection techniques such as UNION-based injection for data extraction, boolean-based blind injection for inferential attacks, or time-based blind injection when no direct output is visible.

Detection Methods for CVE-2025-9021

Indicators of Compromise

  • Unusual database queries containing SQL metacharacters such as single quotes, UNION statements, or comment sequences in application logs
  • Multiple failed or anomalous requests to /bank/transfer.php with varying email parameter values
  • Database errors or exceptions logged that indicate malformed SQL queries
  • Evidence of data exfiltration or unauthorized account modifications in banking records

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in HTTP parameters
  • Monitor application logs for requests containing SQL keywords (SELECT, UNION, INSERT, DELETE) in the email parameter
  • Deploy database activity monitoring to detect anomalous query patterns or unauthorized data access
  • Configure intrusion detection systems to alert on SQL injection attack signatures targeting PHP applications

Monitoring Recommendations

  • Enable verbose logging on the web server for all requests to /bank/transfer.php
  • Implement real-time alerting for database errors related to SQL syntax exceptions
  • Monitor for bulk data access patterns that could indicate successful exploitation and data exfiltration
  • Review authentication logs for any signs of privilege escalation following SQL injection attempts

How to Mitigate CVE-2025-9021

Immediate Actions Required

  • Restrict access to /bank/transfer.php using network-level controls or authentication requirements until a patch is applied
  • Deploy a Web Application Firewall with SQL injection protection rules enabled
  • Implement input validation on the email parameter to reject malicious characters and patterns
  • Review and audit all database accounts used by the application for least privilege compliance

Patch Information

No official vendor patch has been released at the time of publication. Organizations using SourceCodester Online Bank Management System version 1.0 should monitor the SourceCodester website for security updates. Additional vulnerability details are available through VulDB.

Workarounds

  • Implement prepared statements with parameterized queries in the affected transfer.php file to prevent SQL injection
  • Deploy input validation that strictly validates email format using regular expressions before database operations
  • Restrict database user permissions to minimum required privileges, preventing DROP and DELETE operations if not required
  • Implement a Web Application Firewall to filter malicious requests before they reach the application
bash
# Example Apache configuration to restrict access to vulnerable endpoint
<Location /bank/transfer.php>
    # Temporarily restrict access until patched
    Order deny,allow
    Deny from all
    # Allow only trusted internal networks
    Allow from 10.0.0.0/8
    Allow from 192.168.0.0/16
</Location>

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechOretnom23 Online Bank Management System

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.03%

  • 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
  • Technical References
  • VulDB CTI ID #320086

  • VulDB #320086

  • VulDB Submission #631861

  • SourceCodester Security Resource
  • Related CVEs
  • CVE-2025-9473: Online Bank Management System SQLi Flaw

  • CVE-2025-9304: Online Bank Management System SQLi Flaw

  • CVE-2025-9305: Online Bank Management System SQLi Flaw

  • CVE-2025-9022: Online Bank Management System SQLi Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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