Skip to main content

WeGIA CVE-2026-55680

| EUVDEUVD-2026-101620 CRITICAL
SQL Injection (CWE-89)
2026-10-14 security-advisories@github.com
9.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate exposed WeGIA instance
  2. Delivery
    Send crafted POST to cadastro_cobranca.php
  3. Exploit
    Inject quoted SQL via codigo parameter
  4. Execution
    Bypass type conversion, execute injected SQL
  5. Impact
    Dump or alter credential hashes and billing records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions - remote unauthenticated exploitation against default installations of WeGIA prior to 3.8.6, reachable via a single POST to web/html/socio/sistema/cadastro_cobranca.php. The specific trigger is supplying a quoted/string value in the codigo parameter, which defeats MariaDB's implicit numeric type conversion on the VARCHAR column and lets the value break out of the unbound WHERE codigo= clause of the UPDATE. The only meaningful limiting factor is reachability: the vulnerable endpoint must be network-accessible to the attacker; no authentication, user interaction, or non-default configuration is required.

Impact

All available technical signals align on high real-world severity. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, base 9.8) is consistent with the description: a single unauthenticated POST to cadastro_cobranca.php reaches an UPDATE statement where the codigo parameter is interpolated without binding, giving remote, low-complexity, no-interaction SQL injection (CWE-89) against the cobrancas table with High confidentiality, integrity, and availability impact. The source-code diff independently CONFIRMS the root cause and fix - extract($_REQUEST) with an unparameterized WHERE codigo=$codigo query is replaced by FILTER_VALIDATE_INT on codigo plus a mysqli_prepare/bind_param prepared statement - so this is a genuine, verifiable flaw rather than a high-CVSS-but-low-real-risk label. Countervailing signals temper urgency: EPSS is NOT provided, the CVE is NOT in CISA KEV, and no public POC is referenced, so there is no evidence of active or widespread exploitation. No SSVC decision data was supplied. The dominant risk-limiting factor is deployment footprint - WeGIA is niche software - not any technical barrier, since exploitation itself is trivial once an instance is reachable.

Exploit ScenarioDerived

An attacker who can reach an internet-exposed WeGIA instance older than 3.8.6 sends an unauthenticated POST to web/html/socio/sistema/cadastro_cobranca.php with a quoted SQL payload in the codigo parameter; the quoting defeats MariaDB's numeric type conversion on the VARCHAR column and injects arbitrary SQL into the UPDATE's WHERE clause. With no session required, the attacker reads or modifies database content, including user credential hashes and billing records. No public exploit code is referenced, but the attack requires only a crafted HTTP request.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

Unauthenticated SQL injection in WeGIA versions prior to 3.8.6 allows any remote attacker to read and modify the underlying database by sending a single POST request to web/html/socio/sistema/cadastro_cobranca.php. The codigo parameter is folded into the WHERE codigo= clause of an UPDATE statement without parameter binding, and supplying a quoted string defeats MariaDB's implicit numeric conversion on the VARCHAR column, permitting arbitrary SQL execution without a session. Exposed records include user credential hashes and billing entries in the cobrancas table; the issue is rated CVSS 3.1 base 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), and no public exploit code has been identified at time of analysis.

RemediationAI

Upgrade WeGIA to version 3.8.6 or later, which is the vendor-released patch for this flaw; the fix is visible in commit f819be361f984592c4b5a35db830495b4e2263fa and PR #1705 (https://github.com/LabRedesCefetRJ/WeGIA/pull/1705), and the release is published at https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.6. Until the upgrade can be applied, restrict network reachability to web/html/socio/sistema/cadastro_cobranca.php at the reverse proxy or firewall so that only trusted administrative networks can post to it - the trade-off is that legitimate billing workflows must originate from those same permitted ranges. A web application firewall rule rejecting POST bodies where codigo contains quote characters or non-integer tokens provides partial coverage but can be bypassed by encoding tricks, so it should not be treated as a substitute for patching. If the socio billing module is not in active use, disabling or removing cadastro_cobranca.php eliminates the exposure entirely at the cost of losing that functionality. Because the endpoint permits both reads and writes, any period of pre-patch exposure should be followed by rotating application administrative credentials and reviewing the cobrancas and user credential tables for unauthorized modification; credential hashes stored in the database should be considered compromised if the window of exposure is unknown.

Affected VersionsENISA

WeGIA < 3.8.6

Affected Packages

euvd wegia fix: 3.8.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

WeGIA is a PHP web application for charitable institutions that uses MySQL/MariaDB through the mysqli extension. The vulnerable handler begins with extract($_REQUEST), which creates local variables from attacker-controlled request keys, and then interpolates those values directly into SQL. In the pre-3.8.6 code the billing update was assembled as an unparameterized string: UPDATE cobrancas SET status = '$status', valor_pago = $valor_pago, linha_digitavel='$linha_digitavel' WHERE codigo=$codigo. Because the codigo column is a VARCHAR, MariaDB would normally coerce a bare numeric literal, but a quoted string supplied by the attacker becomes part of the SQL syntax rather than a value, breaking out of the unbound comparison. Sibling fields were partially defended with mysqli_real_escape_string and addslashes, but cursor ordering in the original code left codigo unescaped. The root cause is CWE-89, improper neutralization of special elements used in an SQL command, and the upstream fix (commit f819be361f984592c4b5a35db830495b4e2263fa, PR #1705) removes extract(), explicitly reads $_POST keys, validates codigo with FILTER_VALIDATE_INT and valor/valor_pago with FILTER_VALIDATE_FLOAT, and replaces the concatenated UPDATE with a mysqli_prepare/mysqli_stmt_bind_param prepared statement using the "sdsi" type signature. No CPE data was supplied in the intelligence feed, so affected platforms must be identified from the vendor release line rather than from normalized CPE strings.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Unauthenticated single-request SQL injection over the network (AV:N/AC:L/PR:N/UI:N); arbitrary read/modify of the database yields full C/I/A impact with no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Oct 14, 2026 - 21:18 EUVD
CVE Published
Oct 14, 2026 - 20:17 cve.org
CRITICAL 9.8

DescriptionCVE.org

WeGIA is a web manager for charitable institutions. Prior to 3.8.6, unauthenticated POST requests to web/html/socio/sistema/cadastro_cobranca.php can place a quoted SQL expression in the codigo parameter, which extract($_REQUEST) passes into the WHERE codigo= clause of an UPDATE statement without validation or parameter binding. Quoting the value bypasses MariaDB type conversion for the VARCHAR column and permits arbitrary SQL execution without a session. An attacker can read or modify database content, including user credential hashes and billing records in the cobrancas table. This issue is fixed in version 3.8.6.

Technical POC Analysis

CWE-89, Improper Neutralization of Special Elements used in an SQL Command.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Every WeGIA deployment that has not yet moved to version 3.8.6 is exposed to full database compromise through a single unauthenticated HTTP request to the billing-registration endpoint, allowing an outside party to read and rewrite stored user credential hashes and billing records. Because no authentication or user interaction is required and no vendor patch is currently available, any reachable instance is a viable target for account takeover and fraudulent or destructive alteration of financial and beneficiary data. Leadership should treat this as a containment problem requiring immediate network and application-layer restrictions rather than a routine upgrade cycle.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis; the affected-version range is stated as prior to 3.8.6, so confirm with the vendor whether a fixed build is obtainable. Interim mitigations: block or disable access to web/html/socio/sistema/cadastro_cobranca.php, deploy WAF/virtual-patching rules for SQL injection in the codigo parameter, place instances behind authenticated access only, segment the application from other internal networks, run the WeGIA database account with least privilege, rotate database and application credentials, and monitor for anomalous UPDATE activity and quoted-string input to that endpoint.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche web manager for charitable institutions, academic open-source origin
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy