Skip to main content

WeGIA CVE-2026-45027

| EUVDEUVD-2026-32565 MEDIUM
Use of a One-Way Hash without a Salt (CWE-759)
2026-05-27 security-advisories@github.com
5.9
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Identify WeGIA instance running < 3.7.3
  2. Delivery
    Obtain database access via SQL injection or backup exposure
  3. Exploit
    Extract unsalted SHA-256 password digests
  4. Execution
    Run precomputed rainbow table lookup
  5. Persist
    Recover plaintext credentials
  6. Impact
    Authenticate to WeGIA as compromised users

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Salted hash functions
Exploitation Conditions

Exploitation requires prior access to the WeGIA password hash database - obtained through a separate attack such as SQL injection, database backup exposure, server-level file read, or insider access. The CVSS AC:H designation directly encodes this prerequisite. Without the hash data, the unsalted hashing weakness cannot be exploited remotely in isolation. All WeGIA deployments running versions prior to 3.7.3 are affected regardless of configuration, as the insecure hashing is hardcoded in the authentication and password-change source files rather than controlled by a configuration option. Exploitation is not limited by authentication (PR:N) once hashes are obtained, and requires no user interaction (UI:N). The primary limiting factor is the requirement to first exfiltrate the hash database through a separate vulnerability or access path.

Impact

The CVSS 5.9 (Medium) score with vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N accurately captures a nuanced risk profile: the high attack complexity (AC:H) reflects the prerequisite that the attacker must first obtain the hash database through a separate compromise vector (SQL injection, backup theft, server breach), meaning this is not a standalone remote exploit. Confidentiality impact is rated High because once hashes are retrieved, plaintext recovery is practically guaranteed for any password appearing in common rainbow tables. Integrity and availability are unaffected by this specific flaw. No EPSS score was provided in the input data, limiting probabilistic exploitation forecasting. No CISA KEV listing exists and no public POC has been identified, suggesting no confirmed active exploitation at time of analysis. The real-world priority is moderate: organizations running WeGIA should patch promptly given the severity of credential exposure upon any database leak, but this does not represent a standalone critical remote code execution risk.

Exploit ScenarioDerived

An attacker who has obtained the WeGIA user database - for example via a SQL injection vulnerability or a misconfigured database backup - loads the SHA-256 password column into a rainbow table tool such as hashcat with a precomputed SHA-256 table. Because no salt differentiates identical passwords, every account using a password present in the table is cracked in a single lookup pass, potentially exposing all user credentials simultaneously. No public exploit code was identified at time of analysis, but the attack is well within reach of any attacker with database access and consumer-grade GPU hardware.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 27, 2026

Unsalted SHA-256 password hashing in WeGIA exposes all stored credentials to rainbow table attacks in versions prior to 3.7.3. Both the login flow (html/login.php) and the password-change flow (controle/FuncionarioControle.php) use PHP's hash() with SHA-256 and no per-user salt, meaning identical passwords always produce identical digests and a single precomputed table can compromise the entire credential database at once. No public exploit has been identified at time of analysis and no KEV listing exists, but exploitability is high once hash data is obtained - the attack requires only standard rainbow table tooling and no cryptographic skill.

RemediationAI

The vendor-released patch is WeGIA 3.7.3, which resolves the unsalted hashing in both html/login.php and controle/FuncionarioControle.php. Upgrade instructions and the full advisory are available at https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-hcgv-vmq6-j6qg. After upgrading, administrators should force a global password reset so that all existing unsalted SHA-256 digests stored in the database are invalidated and replaced with properly salted hashes under the new scheme - failing to do so leaves previously stored hashes exploitable if the database was ever exfiltrated. If immediate upgrade is not possible, restrict database access to application-layer processes only, disable external database exposure, and audit access logs for unauthorized database queries as a compensating control. Note that these controls reduce the attack surface for hash extraction but do not fix the underlying cryptographic weakness.

Affected VersionsENISA

WeGIA < 3.7.3

Affected Packages

euvd wegia fix: 3.7.3

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-based web management platform for charitable institutions. CWE-759 (Use of a One-Way Hash without a Salt) describes the root cause precisely: the application calls PHP's generic hash('sha256', $password) rather than the purpose-built password_hash() function, which defaults to bcrypt and automatically generates a cryptographically random per-user salt. SHA-256 is optimized for speed - it can be computed billions of times per second on commodity GPUs - making it entirely unsuitable for password storage. Without a salt, two users sharing the same password share the same digest, and an attacker can precompute a lookup table mapping common SHA-256 digests back to plaintext once and apply it to every account in the database simultaneously. No CPE strings were provided in the source data; affected versions are identified as WeGIA < 3.7.3 per EUVD-2026-32565.

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 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

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

Lifecycle Timeline

1
Patch available
May 27, 2026 - 19:46 EUVD

DescriptionCVE.org

WeGIA is a web manager for charitable institutions. In versions prior to 3.7.3, when a user logs in, html/login.php hashes the submitted password using PHP's hash() function with the SHA-256 algorithm and no salt before comparing it to the stored value. The password change flow in controle/FuncionarioControle.php follows the same pattern. SHA-256 is a general-purpose cryptographic hash built for speed, not password storage. Without a salt, identical passwords produce identical digests, making the entire hash database vulnerable to a single precomputed rainbow table lookup. This vulnerability is fixed in 3.7.3.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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