Technical impact
WeGIA, a web manager for charitable institutions, contains an authorization bypass in its role permission management. Under versions before 3.9.1, authenticated employees who hold only generic permissions for resource IDs 11 or 91 can call the permission modification functions without their requested action being validated, allowing the user to add, alter, or delete permissions for any role. This effectively raises the user’s own privileges or those of others and can compromise the confidentiality, integrity, and availability of employee, patient, configuration, and administrative data. The flaw is a classic privilege escalation and authorization bypass, classified by CWE-266 and CWE-863.
Affected Systems
The vulnerability is present in the WeGIA web manager product from LabRedesCefetRJ. All installations that are version 3.9.0 or earlier are affected. The fix is included in release 3.9.1, so any builds based on that or later are no longer vulnerable.
Risk and Exploitability
The CVSS score of 8.8 indicates a high severity flaw. The EPSS score is below 1%, implying a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated session with a valid CSRF token from an employee whose account has a permission row for resources 11 or 91. An attacker can then issue crafted requests to the permission management endpoints to manipulate role permissions. The attack vector is therefore an authenticated web session, and the vulnerability can be readily exploited in a typical operational environment once the privilege prerequisites are met.