elabftw: Placement of User into Incorrect Group
CVE-2022-31007 is a high-severity placement of user into incorrect group vulnerability in elabftw, with a CVSS 3.1 base score of 7.2 out of 10. It can be exploited remotely over the network by an attacker with administrator privileges, without any action from a user. Affected elabftw versions: < 4.3.0. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 26.9% chance of exploitation within 30 days, which is in the top 1.93% of all scored CVEs.
EPSS places it among the vulnerabilities most likely to be exploited soon.
What to do
- Check which version of elabftw you run against the affected versions below, and install the vendor's latest release.
- Read the advisory on github.com for workarounds and exact fixed builds.
Affected products and versions
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- HighAdministrator-level access is required first.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 4.9 | Medium | CNA (github.com) |
| CVSS 3.1 | 7.2 | High | NVD |
| CVSS 2.0 | 6.5 | Medium | NVD |
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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Placement of User into Incorrect Group
The product or the administrator places a user into an incorrect group.
More Placement of User into Incorrect Group vulnerabilities (CWE-842)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
- github.com/elabftw/elabftw/security/advisories/GHSA-937c-m7p3-775vThird Party Advisory
Patches and release notes
- github.com/elabftw/elabftw/releases/tag/4.3.0Release Notes, Third Party Advisory
Other vulnerabilities in elabftw
- 8.8 High severity
- 7.8 High severity
- 8.8 High severity
Spotted an error? Tell us.