Featured image of post CVE-2025-8789

CVE-2025-8789

Broken Access Control

CVE-2025-8789: Broken Function Level Authorization (BFLA) allows unauthorized users to alter student grades

CVE Publication: https://www.cve.org/CVERecord?id=CVE-2025-8789

Summary

An API endpoint in i-Educar 2.9.0 is vulnerable to Broken Function Level Authorization (BFLA). An unauthorized user is able to modify student grades by directly accessing the /module/Api/Diario endpoint, bypassing permission controls. This leads to severe integrity issues, where anyone with access to the API format can tamper with academic records.

Details

The endpoint /module/Api/Diario does not enforce proper authorization checks to validate whether the calling user has the right to alter student grades. Even a user without any profile or assigned permissions can successfully submit a request and change the grades of students in the system.
There is no validation of session roles or associated permissions before executing sensitive academic actions.

PoC

  • 1 - Create a new user with no privileges:

  • 2 - Prepare a request to the /module/Api/Diario endpoint with the data to submit a student grade, using the low privillege user cookie then send the request:

Translated result from pt-br to en:

1
2
3
4
5
6
7
8
9
{
  "oper": "post",
  "resource": "grades",
  "msgs": [{
    "msg": "Grades successfully posted!",
    "type": "success"
  }],
  "any_error_msg": false
}

Impact

This is a Broken Function Level Authorization (BFLA) vulnerability, as categorized by OWASP API Security Top 10 (2023) - API4. The consequences include:

  • Tampering with academic data without authorization.
  • Loss of data integrity in school records.
  • Potential legal and reputational damage for educational institutions.

Reference

https://github.com/CVE-Hunters/CVE/blob/main/i-educar/CVE-2025-8789.md

Finder

Natan Maia Morette

By: CVE-Hunters

Built with Hugo
Theme Stack designed by Jimmy