SecurityContext

CVE-2024-57438: RuoYi - Privilege Escalation

  • Cve: CVE-2024-57438
  • Name: RuoYi - Privilege Escalation
  • Description: Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.
  • Impact: Authenticated attackers can escalate privileges, gaining higher access levels and potentially full control over the system.
  • Remediation: Implement proper access control checks and validate role assignments on the server side.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00373
  • Epss percentile: 0.31885
  • Assignee: [email protected]
  • Published at: 2025-01-29T15:15:17Z
  • Age in days: 664
  • Modified at: 2026-06-17T08:13:35Z
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-57438
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-863Incorrect Authorization

Public exploits

UrlSourceAdded date
https://github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.mdnvd2025-01-29

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.mdExploit, Third Party Advisory
https://gitee.com/y_project/RuoYiProduct
https://github.com/yangzongzhuan/RuoYiProduct
https://ruoyi.vip/Product

Products

ProductAffectedPlatform boundSourcesUrl
ruoyi:ruoyi= 4.8.0nonvd/v1/products/ruoyi/ruoyi

Projects

RepositoryLink kindsIndexedUrl
yangzongzhuan/RuoYiproductyes/v1/repositories/yangzongzhuan/RuoYi
lerry903/RuoYiproductyes/v1/repositories/lerry903/RuoYi

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-01-29
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 2807
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports