CVE-2025-50201CWE-78

WeGIA OS Command Injection in debug_info.php parameter 'branch'

Critical · published June 19, 2025

CVSS v3.1
9.8
EPSS
5%
Percentile
91.8
In the wild
Unconfirmed
What it is

🚨 An unauthenticated attacker can take control of your server with just a crafty URL! This OS Command Injection vulnerability in WeGIA is a recipe for disaster. 🔥 Picture this: a poorly guarded restaurant kitchen where anyone can walk in and order anything as long as they whisper it through a cracked window — that’s essentially what this flaw enables! The branch parameter, left unchecked, lets attackers concoct any command they fancy and execute it on your system. With this vulnerability, an attacker could run any command on your server as the web server user, potentially compromising sensitive data, altering configurations, or even taking down the entire service. This could lead to catastrophic consequences for your charitable organization, risking both data integrity and public trust.

Put simply

Picture this: a poorly guarded restaurant kitchen where anyone can walk in and order anything as long as they whisper it through a cracked window — that’s essentially what this flaw enables! The branch parameter, left unchecked, lets attackers concoct any command they fancy and execute it on your system. This OS Command Injection vulnerability occurs because the /html/configuracao/debug_info.php endpoint fails to properly sanitize the branch parameter before executing it in a shell command. Without proper validation, malicious commands can be injected and executed.

What to do

With this vulnerability, an attacker could run any command on your server as the web server user, potentially compromising sensitive data, altering configurations, or even taking down the entire service. This could lead to catastrophic consequences for your charitable organization, risking both data integrity and public trust. To protect your system, upgrade WeGIA to version 3.4.2 immediately. Review your server configurations and ensure that no unsanitized input can be executed. Additionally, consider implementing security measures such as input validation and command whitelisting. You've got this! Follow these steps to safeguard your server and keep your organization running strong. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.04743 · 91.8th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-06-19T03:34Z
EPSS history
Timeline
  • 19 JUN 03:34Z
    WeGIA OS Command Injection in debug_info.php parameter 'branch'
    cvelistv5