High, CVSS 8.7GoPublished
INSATutorat has an authorization bypass vulnerability in its /api/admin/* endpoints
GHSA-xfx2-prg5-jq3g
- Affected
- Go github.com/romitou/insatutorat < 0.0.0-20260226075457-15ae47425aed
- Fixed in
- 0.0.0-20260226075457-15ae47425aed· Vendor fix available
- Issue
- Impact An authorization bypass vulnerability was discovered in the administration pages of the tutoring application. When a standard user (logged in but without administrator privileges) attempts to access a resource under /api/admin/, the system detects the error but does not block the request. As a result, sensitive data is still transmitted by the server in the request (GET), and modification actions such as campaign creation (POST) are executed successfully despite the FORBIDDEN error message. All /api/admin/ endpoints are affected. Remediation The issue was resolved by adding the missing c.Abort() instruction in the Gin authentication middleware (commit 15ae474). This instruction immediately interrupts the processing chain if the user is not an administrator. Workarounds There is no workaround other than applying the fix in the source code. Resources: Link to the fix commit: 15ae474 Credits INSATutorat thanks the Master 2 SSI 25-26 team at the University of Rouen Normandie for…
Recommended action: Upgrade to 0.0.0-20260226075457-15ae47425aed (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.