Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilityinternet-exposed-servicecredential-access-method

Web Application Vulnerabilities: Real-World Exploitation and Security Lessons

Vulnerability Disclosure · 3 sources · Updated 5mo ago · First seen Jan 2, 2026

Web Application Vulnerabilities: Real-World Exploitation and Security Lessons

A series of recent technical write-ups and research articles highlight the ongoing risks posed by web application vulnerabilities, including source code disclosure, SQL injection, and insecure direct object references (IDOR). One case study demonstrates how a shopping website's backup files, accessible via a hidden directory, exposed sensitive source code and hard-coded database credentials due to improper directory listing and robots.txt configuration. Another firsthand account details a significant financial loss after a modern Spring Boot application suffered a SQL injection attack, bypassing ORM protections and security audits, which allowed an attacker to manipulate discount codes and process fraudulent transactions. These incidents underscore that even contemporary, well-maintained applications remain susceptible to classic vulnerabilities when security controls are inconsistently applied or overlooked.

In addition to these real-world breaches, a technical explainer on IDOR vulnerabilities outlines why such flaws persist in modern API-driven environments, emphasizing the challenges of reliably enforcing object-level authorization. The article explains how IDORs often arise from overlooked workflow edges and inconsistent ownership validation, making them difficult to detect with standard security testing. Collectively, these reports serve as a reminder that legacy vulnerabilities like SQL injection and IDOR continue to threaten organizations, and that secure coding practices, comprehensive testing, and vigilant configuration management are essential to mitigating these risks.

Why it matters

Impact assessment

Recent examples show that common web application flaws still create material business risk even in modern stacks. Affected organizations include any enterprise operating customer-facing web apps or APIs, especially e-commerce platforms, Spring Boot/JPA applications, and services with complex object-level authorization logic.

The impact ranges from sensitive code and credential exposure to direct financial fraud and unauthorized data access or modification. Scope is broad because the weaknesses described are common design and configuration failures rather than niche product bugs; one cited SQL injection incident caused $47,000 in fraudulent transactions across 847 orders in three minutes, but the content does not establish widespread in-the-wild exploitation beyond these case studies.

Supporting facts

Affected entities and products
  • Web applications with exposed backup files and enabled directory listing are affected by source code disclosure risk.
  • API-driven applications are affected by IDOR/BOLA risk when object ownership checks are inconsistent or missing.
  • Spring Boot applications using JPA/Hibernate remain exposed to SQL injection when native queries and weak authorization are present.
  • E-commerce environments are specifically at risk from discount-code abuse, fraudulent order processing, and customer trust damage.
Severity and business consequences
  • Source code disclosure can expose application logic, hardcoded secrets, database credentials, and additional attack paths.
  • SQL injection can enable data extraction and direct database modification, leading to fraud, operational disruption, and reputational damage.
  • IDOR can allow unauthorized access, modification, or deletion of other users’ resources.
  • The SQL injection case resulted in $47,000 in fraudulent transactions and reputational impact with executive leadership and payment processors.
Scope and exploitation
  • The story describes real-world exploitation of SQL injection and a practical demonstration of source code disclosure via backup files.
  • The IDOR material is explanatory rather than incident-specific, but it highlights a widespread and regression-prone exposure class in modern APIs.
  • No CVE-linked mass exploitation campaign is identified in the references.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Dec 31, 2025 – Jan 2, 2026
  1. Jan 2, 202611mo ago

    Backup directory exposed Java source code and hardcoded PostgreSQL credentials

    A shopping website's accessible /backup directory, discoverable by fuzzing and referenced in robots.txt, had directory listing enabled and exposed a java.bak file. The backup file disclosed Java source code containing hardcoded PostgreSQL credentials for a local database instance.

  2. Dec 31, 202511mo ago

    Organization remediated SQL injection incident and overhauled security

    Following the attack, the organization implemented strict input validation, removed native queries, disabled multi-statement execution, added security tests, and conducted a full code audit. It also hired a dedicated security engineer and enforced security checklists in code reviews.

  3. Dec 31, 202511mo ago

    Attackers abused SQL injection to alter discounts and cause $47,000 in fraud

    Attackers exploited the vulnerable discount search to dump discount codes, modify discount percentages, and apply 100% discounts to hundreds of orders. The incident resulted in about $47,000 in fraudulent transactions, along with reputational damage and scrutiny from payment processors.

  4. Dec 31, 202511mo ago

    SQL injection flaw exposed admin discount search in Spring Boot app

    A modern Spring Boot application had a SQL injection vulnerability in a native SQL query used by an admin discount code search feature. The endpoint was misconfigured to be publicly accessible and lacked proper input validation, reintroducing a classic injection flaw despite use of JPA and Hibernate.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Spring Boot
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.