CVE-2022-31007 Privilege escalation from administrator in eLabFTW

Medium 4.9 Published Updated

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.

Weakness: CWE-842, CWE-1287

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.

Sources

Also known as GHSA-937c-m7p3-775v.

Is CVE-2022-31007 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free