The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-23218

CVE-2025-23218: Wegia Web Manager SQL Injection Flaw

CVE-2025-23218 is a SQL injection vulnerability in Wegia web manager that allows attackers to execute arbitrary SQL commands and access sensitive data. This article covers technical details, affected versions, and patches.

Published: March 24, 2026

CVE-2025-23218 Overview

CVE-2025-23218 is a critical SQL Injection vulnerability discovered in WeGIA, an open source web manager focused on the Portuguese language and charitable institutions. The vulnerability exists in the adicionar_especie.php endpoint, allowing attackers to execute arbitrary SQL commands against the database. This flaw enables unauthorized access to sensitive information and complete database compromise.

Critical Impact

This vulnerability allows unauthenticated remote attackers to perform a complete dump of the application's database, exposing sensitive data from charitable institutions and their beneficiaries.

Affected Products

  • WeGIA versions prior to 3.2.10
  • WeGIA web manager deployments with the adicionar_especie.php endpoint exposed
  • All WeGIA installations that have not applied the security patch

Discovery Timeline

  • January 20, 2025 - CVE-2025-23218 published to NVD
  • February 28, 2025 - Last updated in NVD database

Technical Details for CVE-2025-23218

Vulnerability Analysis

This SQL Injection vulnerability (CWE-89) affects the adicionar_especie.php endpoint in the WeGIA application. The vulnerability arises from improper neutralization of special elements used in SQL commands, allowing attackers to manipulate database queries through user-supplied input. The flaw enables network-based attacks without requiring authentication or user interaction, making it highly exploitable.

During security analysis, researchers demonstrated the ability to perform a complete database dump, exposing all stored data including potentially sensitive information about charitable institutions and their beneficiaries. The vulnerability requires no special privileges or complex attack chains to exploit.

Root Cause

The root cause of CVE-2025-23218 is the failure to properly sanitize and validate user input before incorporating it into SQL queries within the adicionar_especie.php endpoint. The application directly concatenates user-supplied data into SQL statements without using parameterized queries or prepared statements, allowing attackers to inject malicious SQL code that gets executed by the database engine.

Attack Vector

The attack vector for this vulnerability is network-based, allowing remote exploitation. An attacker can craft malicious HTTP requests to the adicionar_especie.php endpoint containing SQL injection payloads. These payloads can manipulate the underlying database queries to extract data, modify records, or potentially gain further access to the underlying system.

The vulnerability does not require authentication, meaning any attacker with network access to the WeGIA application can attempt exploitation. The attack complexity is low, and no user interaction is required.

For detailed technical information about the vulnerability mechanism, refer to the GitHub Security Advisory.

Detection Methods for CVE-2025-23218

Indicators of Compromise

  • Unusual or malformed HTTP requests targeting the adicionar_especie.php endpoint
  • Database query logs showing unexpected SQL syntax including UNION, SELECT, or comment characters in user input fields
  • Abnormal database access patterns or large data retrievals from the application
  • Web server logs containing SQL injection attack signatures in request parameters

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns targeting the adicionar_especie.php endpoint
  • Configure application-level logging to capture all requests to vulnerable endpoints
  • Deploy database activity monitoring to detect anomalous query patterns indicative of SQL injection attempts
  • Use SentinelOne Singularity Platform to monitor for suspicious process behaviors and network connections associated with post-exploitation activities

Monitoring Recommendations

  • Enable detailed logging on web servers hosting WeGIA applications and forward logs to a SIEM solution
  • Monitor database query performance metrics for sudden spikes that may indicate data exfiltration attempts
  • Implement alerting for requests containing common SQL injection keywords in web application logs
  • Regularly review database access logs for unauthorized data access patterns

How to Mitigate CVE-2025-23218

Immediate Actions Required

  • Upgrade WeGIA to version 3.2.10 or later immediately to address this vulnerability
  • If immediate patching is not possible, temporarily disable or restrict access to the adicionar_especie.php endpoint
  • Implement network-level access controls to limit exposure of the WeGIA application to trusted networks only
  • Review database logs and backups to determine if the vulnerability has been exploited

Patch Information

The vulnerability has been fixed in WeGIA version 3.2.10. The security patch is available through the official GitHub Commit. Organizations should update to the patched version immediately to mitigate the risk of exploitation.

Workarounds

  • Deploy a Web Application Firewall (WAF) with SQL injection detection rules as a temporary protective measure
  • Restrict network access to the WeGIA application using firewall rules to allow only trusted IP addresses
  • Implement input validation at the application level if source code modifications are possible before the official patch can be applied
  • Consider temporarily taking the affected endpoint offline until the patch can be deployed
bash
# Example WAF rule to block SQL injection attempts (ModSecurity)
SecRule REQUEST_URI "@contains adicionar_especie.php" \
    "id:1001,phase:2,deny,status:403,\
    chain"
SecRule ARGS "@rx (?i)(union|select|insert|update|delete|drop|--|;)" \
    "t:urlDecodeUni,t:htmlEntityDecode"

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.48%

  • 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 Commit Changes

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-35395: Wegia SQL Injection Vulnerability

  • CVE-2026-33991: Wegia SQL Injection Vulnerability

  • CVE-2026-33133: Wegia Web Manager SQLi Vulnerability

  • CVE-2026-33134: Wegia Wegia SQL Injection 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