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
    • 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-30364

CVE-2025-30364: Wegia SQL Injection Vulnerability

CVE-2025-30364 is a SQL injection vulnerability in Wegia that allows attackers to execute arbitrary SQL commands via the id_funcionario parameter. This article covers technical details, affected versions, impact, and mitigation.

Published: March 18, 2026

CVE-2025-30364 Overview

WeGIA is a web-based management system designed for charitable institutions. A critical SQL Injection vulnerability was identified in versions prior to 3.2.8 affecting the endpoint /WeGIA/html/funcionario/remuneracao.php through the id_funcionario parameter. This vulnerability allows attackers to execute arbitrary SQL commands remotely without authentication, potentially compromising the confidentiality, integrity, and availability of all stored data within the application's database.

Critical Impact

Unauthenticated attackers can exploit this SQL Injection vulnerability to extract sensitive data, modify database records, or cause complete denial of service to charitable institution management systems.

Affected Products

  • WeGIA versions prior to 3.2.8
  • WeGIA Web Manager for Charitable Institutions
  • Deployments using the /WeGIA/html/funcionario/remuneracao.php endpoint

Discovery Timeline

  • 2025-03-27 - CVE-2025-30364 published to NVD
  • 2025-04-10 - Last updated in NVD database

Technical Details for CVE-2025-30364

Vulnerability Analysis

This SQL Injection vulnerability exists in the employee remuneration module of WeGIA. The id_funcionario parameter in the remuneracao.php endpoint fails to properly sanitize user-supplied input before incorporating it into SQL queries. This classic injection flaw enables attackers to manipulate the structure of database queries, breaking out of the intended parameter context to execute arbitrary SQL statements.

The vulnerability is particularly severe because it requires no authentication or user interaction to exploit. An attacker with network access to the vulnerable endpoint can craft malicious requests that bypass application logic entirely and interact directly with the underlying database. Given that WeGIA manages data for charitable institutions, exploitation could expose sensitive donor information, beneficiary records, financial data, and employee personal details.

Root Cause

The root cause is improper input validation and lack of parameterized queries in the remuneracao.php file. The id_funcionario parameter is directly concatenated into SQL queries without sanitization, prepared statements, or input type validation. This allows special SQL characters and syntax to be interpreted as part of the query structure rather than as literal data values.

Attack Vector

The attack is network-based and can be executed remotely by any attacker who can reach the vulnerable endpoint. The exploitation path involves:

  1. Identifying an accessible WeGIA installation running a version prior to 3.2.8
  2. Crafting an HTTP request to /WeGIA/html/funcionario/remuneracao.php with a malicious id_funcionario parameter value
  3. Injecting SQL syntax to extract data using UNION-based queries, blind injection techniques, or time-based extraction methods
  4. Exfiltrating sensitive data or manipulating database records

The vulnerability requires no privileges, no user interaction, and has low attack complexity. Successful exploitation can result in complete database compromise including data theft, unauthorized modifications, and potential denial of service through destructive queries.

Detection Methods for CVE-2025-30364

Indicators of Compromise

  • Anomalous HTTP requests to /WeGIA/html/funcionario/remuneracao.php containing SQL syntax characters such as single quotes, UNION statements, or semicolons in the id_funcionario parameter
  • Database error messages in application logs indicating SQL syntax errors or unexpected query structures
  • Unusual database query patterns including UNION SELECT statements, time-based delay functions, or information_schema queries
  • Unexpected data extraction or modification activities in database audit logs

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block SQL injection patterns targeting the id_funcionario parameter
  • Implement application-level logging to monitor all requests to the remuneracao.php endpoint with parameter values
  • Enable database query logging and alert on queries containing SQL injection signatures or accessing system tables
  • Utilize intrusion detection systems (IDS) with signatures for common SQL injection attack patterns

Monitoring Recommendations

  • Monitor network traffic for requests containing encoded SQL injection payloads targeting WeGIA endpoints
  • Review database audit logs for unauthorized access attempts or unusual query patterns
  • Set up alerts for multiple failed database queries that may indicate injection probing attempts
  • Implement real-time monitoring of the remuneracao.php endpoint for suspicious parameter values

How to Mitigate CVE-2025-30364

Immediate Actions Required

  • Upgrade WeGIA to version 3.2.8 or later immediately to address this vulnerability
  • If immediate patching is not possible, restrict network access to the WeGIA application to trusted IP addresses only
  • Implement WAF rules to filter and block requests containing SQL injection patterns to the affected endpoint
  • Review database and application logs for signs of prior exploitation attempts

Patch Information

The vulnerability has been fixed in WeGIA version 3.2.8. Organizations should upgrade to this version or later as soon as possible. For detailed information about the security fix, refer to the GitHub Security Advisory (GHSA-x3ff-5qp7-43qv).

Workarounds

  • Block external access to the /WeGIA/html/funcionario/remuneracao.php endpoint until patching is complete
  • Implement input validation at the web server or reverse proxy level to reject requests with non-numeric id_funcionario values
  • Deploy a WAF with SQL injection protection in front of the WeGIA application
  • Consider temporarily disabling the affected employee remuneration functionality if business operations permit
bash
# Example: Apache ModSecurity rule to block SQL injection attempts
SecRule ARGS:id_funcionario "!^[0-9]+$" \
    "id:100001,phase:2,deny,status:403,msg:'Potential SQL Injection in id_funcionario'"

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

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