Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
7DescriptionGitHub Advisory
WeGIA is a web manager for charitable institutions. Versions prior to 3.6.10 contain a SQL injection vulnerability in dao/memorando/UsuarioDAO.php. The cpf_usuario POST parameter overwrites the session-stored user identity via extract($_REQUEST) in DespachoControle::verificarDespacho(), and the attacker-controlled value is then interpolated directly into a raw SQL query, allowing any authenticated user to query the database under an arbitrary identity. Version 3.6.10 fixes the issue.
AnalysisAI
SQL injection in WeGIA charitable institution manager allows authenticated users to impersonate arbitrary identities and execute database queries with elevated privileges. The cpf_usuario parameter in dao/memorando/UsuarioDAO.php bypasses session-based identity controls through PHP's extract($_REQUEST) function, enabling any low-privileged authenticated user to query sensitive data or modify database contents as any other user, including administrators. WeGIA versions before 3.6.10 are affected. No public exploit identified at time of analysis, though exploitation complexity is low (CVSS AC:L) requiring only valid user credentials.
Technical ContextAI
WeGIA is a PHP-based web application designed for managing charitable institutions. This vulnerability exploits PHP's extract() function, which creates variables from array keys - in this case, from the global $_REQUEST superglobal containing both GET and POST parameters. The affected code path is in DespachoControle::verificarDespacho() which calls extract($_REQUEST), allowing POST parameter 'cpf_usuario' to overwrite legitimate session-stored user identity variables. This attacker-controlled value is then directly concatenated into raw SQL queries in dao/memorando/UsuarioDAO.php without parameterization or input validation, constituting a classic CWE-89 SQL injection vulnerability. The dual nature of this flaw combines variable overwriting with SQL injection, making it particularly dangerous as it bypasses application-layer identity controls before the database query is even constructed.
RemediationAI
Upgrade WeGIA to version 3.6.10 or later, which contains the vendor-released patch addressing both the unsafe extract($_REQUEST) usage and SQL injection vulnerability. The fix can be obtained from the official GitHub repository at https://github.com/LabRedesCefetRJ/WeGIA. If immediate patching is not feasible, implement the following compensating controls with noted limitations: (1) Disable or restrict access to the memorando/despacho functionality at the web server level (e.g., via .htaccess or nginx location blocks) - this prevents exploitation but breaks legitimate memo dispatch features used by administrators; (2) Implement Web Application Firewall rules to block POST requests containing 'cpf_usuario' parameter to affected endpoints - this may cause false positives if the parameter is legitimately used elsewhere in the application; (3) Restrict application access to only trusted IP ranges via firewall rules - this reduces attack surface but doesn't address insider threats from authenticated users on trusted networks. None of these workarounds fully mitigate the vulnerability; upgrading to 3.6.10 is the only complete remediation. Review application logs for suspicious cpf_usuario parameter usage or anomalous database queries under unexpected user contexts as potential indicators of prior exploitation.
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-23529