CVE-2022-31007 Privilege escalation from administrator in eLabFTW
An authenticated team administrator can escalate privileges to system administrator, allowing full control over the eLabFTW application.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-31007?
CVE-2022-31007 is a medium-severity vulnerability in elabftw, published on 31 May 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
eLabFTW is an electronic lab notebook manager for research teams. Prior to version 4.3.0, a vulnerability allows an authenticated user with an administrator role in a team to assign itself system administrator privileges within the application, or create a new system administrator account. The issue has been corrected in eLabFTW version 4.3.0. In the context of eLabFTW, an administrator is a user account with certain privileges to manage users and content in their assigned team/teams. A system administrator account can manage all accounts, teams and edit system-wide settings within the application. The impact is not deemed as high, as it requires the attacker to have access to an administrator account. Regular user accounts cannot exploit this to gain admin rights. A workaround for one if the issues is removing the ability of administrators to create accounts.
Which versions are affected by CVE-2022-31007?
It affects 1 product.
Products include Elabftw Elabftw.
How do I fix CVE-2022-31007?
No fix has been published for CVE-2022-31007 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-31007 being exploited?
There is no known exploitation of CVE-2022-31007 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in elabftw
- CVE-2021-43834 Incorrect Authentication in elabftw
- CVE-2024-28100 Stored Cross-site Scripting leading to arbitrary actions taken on behalf of users in elabftw
- CVE-2019-12185 File upload in n/a
- CVE-2024-25632 Unauthorised granting of administrator privileges over arbitrary teams under certain circumstances
- CVE-2025-25206 Incorrect input validation could allow an authenticated user to read sensitive information
Sources
Also known as GHSA-937c-m7p3-775v.