Exploit database

Vulnerability

CVE-2024-45058

Privilege escalation in i-Educar

Vulnerability details

Score
8.1
Severity
high

CVSS 3.0 · GitHub_M

Vector string

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

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.

CVE Program

Exploit source choices

1 source
0xbhsu/cve-2024-45058
GH-c1fd0a8e8af0bf63c305e4cc6cb025baGitHubUnofficial GitHub sourcePreferred

PoC for CVE-2024-45058 Broken Access Control, allowing any user with view permission in the user configuration section to become an administrator changing their own user type.

2024-08-304 files · 0 stars