Bhima 1.27.0 - Privilege Escalation via CSRF
8
High
Discovered by

Offensive Team, Fluid Attacks
Summary
Full name
Bhima 1.27.0 - Privilege Escalation via CSRF
Code name
State
Public
Release date
Apr 10, 2023
Affected product
Bhima
Affected version(s)
Version 1.27.0
Vulnerability name
Cross-site request forgery
Vulnerability type
Remotely exploitable
Yes
CVSS v3.1 vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v3.1 base score
8.0
Exploit available
Yes
CVE ID(s)
Description
Bhima version 1.27.0 allows a remote attacker to update the privileges of any account registered in the application via a malicious link sent to an administrator. This is possible because the application is vulnerable to CSRF.
Vulnerability
This vulnerability occurs because the application is vulnerable to CSRF. In this way we can persuade an administrator to elevate the privileges of an arbitrary account.
Exploitation
Exploit.html
Evidence of exploitation

Our security policy
We have reserved the ID CVE-2023-0959 to refer to this issue from now on. Disclosure policy
System Information
Version: Bhima 1.27.0
Operating System: GNU/Linux
Mitigation
There is currently no patch available for this vulnerability.
References
Vendor page https://github.com/IMA-WorldHealth/bhima/
Timeline
Vulnerability discovered
Feb 22, 2023
Vendor contacted
Feb 22, 2023
Vendor replied
Feb 22, 2023
Public disclosure
Apr 10, 2023