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-53091

CVE-2025-53091: Wegia Time-Based Blind SQLi Vulnerability

CVE-2025-53091 is a time-based blind SQL injection flaw in Wegia that allows unauthenticated attackers to inject arbitrary SQL queries and access sensitive data. This article covers technical details, affected versions, and mitigation.

Published: March 24, 2026

CVE-2025-53091 Overview

CVE-2025-53091 is a Time-Based Blind SQL Injection vulnerability discovered in WeGIA, an open source web manager focused on the Portuguese language and charitable institutions. The vulnerability exists in version 3.3.3 within the almox parameter of the /controle/getProdutosPorAlmox.php endpoint. This issue allows any unauthenticated attacker to inject arbitrary SQL queries, potentially leading to unauthorized data access, data manipulation, or further exploitation depending on database configuration.

Critical Impact

Unauthenticated attackers can extract sensitive data from the database, modify or delete records, and potentially escalate access to the underlying server through database functionality.

Affected Products

  • WeGIA version 3.3.3
  • WeGIA versions prior to 3.4.0

Discovery Timeline

  • June 27, 2025 - CVE-2025-53091 published to NVD
  • July 8, 2025 - Last updated in NVD database

Technical Details for CVE-2025-53091

Vulnerability Analysis

This vulnerability represents a classic Time-Based Blind SQL Injection flaw (CWE-89) where user-supplied input is concatenated directly into SQL queries without proper sanitization or parameterization. The affected endpoint /controle/getProdutosPorAlmox.php accepts the almox parameter via an HTTP request and incorporates it into a database query without adequate validation.

In Time-Based Blind SQL Injection, attackers cannot directly observe query results in the application response. Instead, they infer information by injecting SQL commands that cause deliberate delays in database response times. By measuring response time variations, attackers can extract database contents character by character, enumerate tables and columns, and ultimately access sensitive information stored in the database.

The vulnerability requires no authentication, meaning any remote attacker with network access to the WeGIA application can exploit this flaw. This significantly increases the risk profile as it broadens the potential attacker base to include any malicious actor who can reach the vulnerable endpoint.

Root Cause

The root cause stems from improper input validation in the getProdutosPorAlmox.php endpoint. The almox parameter value is directly incorporated into SQL statements without using prepared statements, parameterized queries, or adequate input sanitization. This allows specially crafted input containing SQL syntax to be interpreted and executed by the database engine rather than being treated as literal data.

Attack Vector

The attack is network-based and requires no user interaction or authentication. An attacker can craft malicious HTTP requests to the /controle/getProdutosPorAlmox.php endpoint, manipulating the almox parameter to include SQL injection payloads. Time-based techniques such as SLEEP() functions (in MySQL) or pg_sleep() (in PostgreSQL) allow attackers to confirm successful injection and extract data by observing response delays.

Exploitation typically involves automated tools that systematically inject payloads, measure response times, and progressively extract database schema information and sensitive data. Depending on database permissions and configuration, attackers may also be able to read or write files on the server, execute operating system commands through database features like xp_cmdshell (SQL Server) or LOAD_FILE()/INTO OUTFILE (MySQL), or pivot to other systems accessible to the database server.

Detection Methods for CVE-2025-53091

Indicators of Compromise

  • Unusual HTTP requests to /controle/getProdutosPorAlmox.php containing SQL syntax patterns such as SLEEP, BENCHMARK, WAITFOR, or pg_sleep in the almox parameter
  • Abnormally long response times for requests to the vulnerable endpoint indicating successful time-based injection
  • Database query logs showing unusual or malformed SQL statements originating from the web application
  • Sequential requests to the same endpoint with incrementally modified payloads, characteristic of automated SQL injection tools

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block common SQL injection patterns in HTTP request parameters
  • Enable detailed logging on the /controle/getProdutosPorAlmox.php endpoint and monitor for requests containing suspicious characters such as single quotes, semicolons, or SQL keywords
  • Configure database query logging to capture and alert on queries with unusual syntax or timing functions
  • Deploy network intrusion detection signatures for known SQL injection attack tools like sqlmap

Monitoring Recommendations

  • Establish baseline response times for the vulnerable endpoint and alert on significant deviations that may indicate time-based injection attempts
  • Monitor database server resource utilization for unexplained spikes that could indicate ongoing data extraction
  • Review web server access logs for patterns of repeated requests to the vulnerable endpoint from single IP addresses or short time windows
  • Implement real-time alerting for any authentication or authorization anomalies that could indicate successful database compromise

How to Mitigate CVE-2025-53091

Immediate Actions Required

  • Upgrade WeGIA to version 3.4.0 or later, which contains the fix for this vulnerability
  • If immediate patching is not possible, restrict network access to the vulnerable endpoint using firewall rules or web server configuration
  • Implement Web Application Firewall rules to filter SQL injection attempts targeting the almox parameter
  • Review database access logs for signs of prior exploitation and assess potential data exposure

Patch Information

WeGIA version 3.4.0 addresses this SQL Injection vulnerability. Organizations running version 3.3.3 or earlier should upgrade immediately. For detailed patch information and release notes, refer to the GitHub Security Advisory.

Workarounds

  • Block or restrict access to the /controle/getProdutosPorAlmox.php endpoint at the network or web server level until patching is complete
  • Implement input validation at the web server or reverse proxy level to reject requests containing SQL metacharacters in the almox parameter
  • Apply database account principle of least privilege, ensuring the web application database user has minimal required permissions
  • Consider placing the application behind a WAF with SQL injection protection rules while awaiting the upgrade
bash
# Example: Apache mod_rewrite rule to block access to vulnerable endpoint
# Add to .htaccess or Apache configuration
RewriteEngine On
RewriteRule ^controle/getProdutosPorAlmox\.php$ - [F,L]

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechWegia

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.39%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/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
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40285: WeGIA SQL Injection Vulnerability

  • CVE-2026-35395: Wegia SQL Injection Vulnerability

  • CVE-2026-33991: Wegia SQL Injection Vulnerability

  • CVE-2026-33133: Wegia Web Manager SQLi Vulnerability
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