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

CVE-2025-55167: Wegia SQL Injection Vulnerability

CVE-2025-55167 is a SQL injection flaw in Wegia that allows attackers to execute arbitrary SQL commands via the id_dependente parameter. This article covers the technical details, affected versions, and mitigation strategies.

Published: March 31, 2026

CVE-2025-55167 Overview

CVE-2025-55167 is a SQL Injection vulnerability discovered in WeGIA, an open source web manager focused on the Portuguese language and charitable institutions. The vulnerability exists in the /html/funcionario/dependente_remover.php endpoint, specifically within the id_dependente parameter. This flaw allows attackers to execute arbitrary SQL commands against the backend database, potentially compromising the confidentiality, integrity, and availability of sensitive data stored within the system.

Critical Impact

This SQL Injection vulnerability enables remote attackers with low privileges to execute arbitrary SQL commands via the network, potentially leading to complete database compromise, data exfiltration, and service disruption for charitable institutions using WeGIA.

Affected Products

  • WeGIA versions prior to 3.4.8
  • WeGIA web manager installations using the vulnerable dependente_remover.php endpoint
  • Charitable institution management systems built on WeGIA

Discovery Timeline

  • August 12, 2025 - CVE-2025-55167 published to NVD
  • August 18, 2025 - Last updated in NVD database

Technical Details for CVE-2025-55167

Vulnerability Analysis

This vulnerability is classified as CWE-89 (SQL Injection), representing a critical flaw in how the WeGIA application handles user-supplied input. The vulnerable endpoint dependente_remover.php fails to properly sanitize or parameterize the id_dependente parameter before incorporating it into SQL queries, allowing attackers to manipulate database operations.

The attack can be executed remotely over the network with low attack complexity. While the attacker requires low-level privileges (authenticated access), no user interaction is needed to exploit this vulnerability. Successful exploitation can result in high impact to confidentiality, integrity, and availability of the database, with potential for scope change affecting connected systems.

Root Cause

The root cause of this vulnerability lies in insufficient input validation and the absence of parameterized queries in the dependente_remover.php endpoint. The application directly incorporates user-controlled input from the id_dependente parameter into SQL statements without proper sanitization or the use of prepared statements with bound parameters. Additionally, the original code lacked proper session management controls that could have provided an additional layer of defense.

Attack Vector

The attack vector is network-based, targeting the /html/funcionario/dependente_remover.php endpoint. An authenticated attacker can craft malicious requests containing SQL injection payloads in the id_dependente parameter. These payloads can be designed to extract sensitive data from the database, modify or delete records, escalate privileges within the application, or potentially gain command execution on the underlying server depending on database configuration and permissions.

php
// Security patch showing improved session handling (from actual commit)
<?php
+if (session_status() === PHP_SESSION_NONE) {
+    session_start();
+}

-session_start();
-if (!isset($_SESSION["usuario"])){
+if (!isset($_SESSION["usuario"])) {
     header("Location: ../../index.php");
+    exit();
+} else {
+    session_regenerate_id();
}

// Verifica Permissão do Usuário

Source: GitHub Commit for WeGIA

Detection Methods for CVE-2025-55167

Indicators of Compromise

  • Unusual or malformed HTTP requests targeting /html/funcionario/dependente_remover.php with SQL syntax in the id_dependente parameter
  • Database error messages appearing in application logs indicating SQL syntax errors or injection attempts
  • Unexpected database queries containing UNION, SELECT, DROP, or other SQL keywords in the id_dependente field
  • Anomalous database activity patterns such as bulk data extraction or privilege escalation queries

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in HTTP requests to WeGIA endpoints
  • Enable database query logging and monitor for suspicious queries containing injection patterns originating from the dependente_remover.php endpoint
  • Deploy intrusion detection systems (IDS) with signatures for SQL injection attack patterns
  • Configure application-level logging to capture all requests to the vulnerable endpoint with full parameter values

Monitoring Recommendations

  • Monitor access logs for repeated requests to /html/funcionario/dependente_remover.php with varying id_dependente parameter values
  • Set up alerts for database error rates that may indicate SQL injection probing attempts
  • Track authentication patterns and flag suspicious session activity that may precede exploitation attempts
  • Review database audit logs for unusual SELECT, INSERT, UPDATE, or DELETE operations on sensitive tables

How to Mitigate CVE-2025-55167

Immediate Actions Required

  • Upgrade WeGIA to version 3.4.8 or later immediately to address this SQL Injection vulnerability
  • If immediate upgrade is not possible, restrict network access to the vulnerable endpoint pending patching
  • Review database logs for evidence of prior exploitation attempts
  • Implement WAF rules to block SQL injection patterns targeting the affected endpoint as a temporary measure

Patch Information

WeGIA has addressed this vulnerability in version 3.4.8. The fix includes improved session handling with proper session status checks, session regeneration for authenticated users, and proper exit handling after redirects. Organizations should apply the patch by upgrading to the latest version. Technical details of the fix are available in the GitHub Commit for WeGIA and the GitHub Security Advisory GHSA-4fqm-ww3v-6mwv.

Workarounds

  • Implement input validation at the web server level to reject requests with SQL injection patterns in the id_dependente parameter
  • Deploy a Web Application Firewall (WAF) with SQL injection detection rules in front of the WeGIA application
  • Restrict database user privileges for the WeGIA application to minimum required permissions, limiting potential damage from successful exploitation
  • Consider temporarily disabling the vulnerable functionality if the dependent removal feature is not critical to operations
bash
# Example WAF rule configuration for ModSecurity
SecRule ARGS:id_dependente "@detectSQLi" \
    "id:1001,\
    phase:2,\
    deny,\
    status:403,\
    log,\
    msg:'SQL Injection attempt blocked in id_dependente parameter',\
    tag:'application-multi',\
    tag:'language-multi',\
    tag:'platform-multi',\
    tag:'attack-sqli',\
    tag:'CVE-2025-55167'"

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 Score9.4

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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 for WeGIA

  • GitHub Security Advisory GHSA-4fqm-ww3v-6mwv
  • 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