Authorization bypass through user-controlled key in WeGIA - CVE-2026-54671
Published: July 7, 2026
Vulnerability details
The vulnerability allows a remote user to access, modify, and delete arbitrary interno records and disclose sensitive information.
The vulnerability exists due to missing authorization in InternoControle and the permission check in MiddlewareDAO when handling POST requests to /controle/control.php with nomeClasse=InternoControle and user-controlled id parameters. A remote user can send a specially crafted request to access, modify, and delete arbitrary interno records and disclose sensitive information.
The issue affects all methods in InternoControle because an empty resource array causes unconditional access, and no ownership verification is performed on the referenced records.