{"id":"CVE-2024-45059","summary":"Authenticated SQL Injection in i-Educar","details":"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.","aliases":["GHSA-2v4w-7xqr-hxmr"],"modified":"2026-08-12T03:51:37.268060244Z","published":"2024-08-28T20:17:31.835Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45059.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-89"]},"references":[{"type":"WEB","url":"https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html"},{"type":"WEB","url":"https://portswigger.net/web-security/sql-injection"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45059.json"},{"type":"ADVISORY","url":"https://github.com/portabilis/i-educar/security/advisories/GHSA-2v4w-7xqr-hxmr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45059"},{"type":"FIX","url":"https://github.com/portabilis/i-educar/commit/7824b95745fa2da6476b9901041d9c854bf52ffe"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/portabilis/i-educar","events":[{"introduced":"0"},{"fixed":"7824b95745fa2da6476b9901041d9c854bf52ffe"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:portabilis:i-educar:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"2.9"}]}}],"versions":["2.1.21","2.1.20","2.1.19","2.1.18","2.1.17","2.1.16","2.1.15","2.1.14","2.1.13","2.1.12","2.1.11","2.1.10","2.1.9","2.1.8","2.1.7","2.1.6","2.1.5","2.1.4","2.1.3","2.1.2","2.1.1","2.1.0","2.0.11","2.0.10","2.0.9","2.0.8.1","2.0.8","2.0.7","2.0.6","2.0.5","2.0.4","2.0.3","2.0.2","2.0.1","2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45059.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}