CVE-2024-57438
5.4medium
RuoYi has insecure permissions
- Severity
- 5.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.57% (higher than 41% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-h5jh-rp76-q242
Description
Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| com.ruoyi:ruoyi (Maven) | up to 4.8.0 | GitHub Advisory Database |
| ruoyi ruoyi | 4.8.0 | NVD |
All scores
| CISA-ADP | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P |
Classification
What each source says
CVE List
Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.
NVD (es)
Los permisos inseguros en RuoYi v4.8.0 permiten a atacantes autenticados escalar privilegios al asignarse roles de nivel superior.
References
| https://github.com/yangzongzhuan/RuoYi | product, web | |
| https://gitee.com/y_project/RuoYi | package, product | |
| https://ruoyi.vip/ | product | |
| https://github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.md | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-57438 | advisory | |
| https://ruoyi.vip | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-57438 changed 2025-02-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h5jh-rp76-q242 changed 2025-02-06 | CC-BY-4.0 |
| NVD | CVE-2024-57438 changed 2026-06-17 | Public domain |