Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

GHSA-xfx2-prg5-jq3g

INSATutorat has an authorization bypass vulnerability in its /api/admin/* endpoints
Back to all
CVE

GHSA-xfx2-prg5-jq3g

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

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:

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://github.com/Romitou/INSATutorat/security/advisories/GHSA-xfx2-prg5-jq3g, https://github.com/Romitou/INSATutorat/commit/15ae47425aed337181f7a6c54a9d199c93b041eb, https://github.com/Romitou/INSATutorat

Severity

0

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
0
EPSS Probability
0%
EPSS Percentile
0%
Introduced Version
0
Fix Available
0.0.0-20260226075457-15ae47425aed

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading