CVE-2024-45057 Reflected Cross-Site Scripting in i-Educar

Medium 6.3 Published Updated

Attackers can inject malicious scripts via unsanitized input in i-Educar, potentially stealing user sessions or executing code in victim browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-45057?

CVE-2024-45057 is a medium-severity cross-site scripting vulnerability in Portabilis I-Educar, published on 28 Aug 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

i-Educar is free, fully online school management software that can be used by school secretaries, teachers, coordinators, and area managers. A Reflected Cross-Site Scripting (XSS) vulnerability was identified in the dynamic generation of HTML fields prior to the 2.9 branch. The file located at `ieducar/intranet/include/clsCampos.inc.php` does not properly validate or sanitize user-controlled input, leading to the vulnerability. Any page that uses this implementation is vulnerable, such as `intranet/educar_curso_lst.php?nm_curso=<payload>`, `intranet/atendidos_lst.php?nm_pessoa=<payload>`, `intranet/educar_abandono_tipo_lst?nome=<payload>`. Commit f2d768534aabc09b2a1fc8a5cc5f9c93925cb273 contains a patch for the issue.

Weakness: CWE-79

Which versions are affected by CVE-2024-45057?

It affects 1 product.

Products include Portabilis I-Educar.

How do I fix CVE-2024-45057?

No fix has been published for CVE-2024-45057 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-45057 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45057 exists.

All Portabilis I-Educar vulnerabilities

Sources

Also known as GHSA-fqwh-c3c8-7gwj.

Is CVE-2024-45057 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free