Skip to content
Fencer Intel
high —

GHSA-xfx2-prg5-jq3g json

INSATutorat has an authorization bypass vulnerability in its /api/admin/* endpoints

published 8mo ago modified 7mo ago also GO-2026-4581

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

### 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](https://github.com/Romitou/INSATutorat/commit/15ae47425aed337181f7a6c54a9d199c93b041eb)

### Credits INSATutorat thanks the Master 2 SSI 25-26 team at the University of Rouen Normandie for their research work on this project. - Malak Bekkai - Matthieu Espada Mora - Amen Allah Khalf Allah - Liam Laouenan - Neila Ould Slimane - Lucas Thomire

This advisory was translated from French to English by GitHub Copilot.

Patch / fix

  • go github.com/romitou/insatutorat 0.0.0-20260226075457-15ae47425aed

Is GHSA-xfx2-prg5-jq3g in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Affected packages

ecosystem package affected fixed in
go github.com/romitou/insatutorat
<0.0.0-20260226075457-15ae47425aed
0.0.0-20260226075457-15ae47425aed

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.