{"id":"CVE-2022-31007","published":"2022-05-31T19:30:13Z","modified":"2025-04-23T18:21:01Z","title":"Privilege escalation from administrator in eLabFTW","vendor":"elabftw","product":"elabftw","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.26948,"percentile":0.98083,"provenance":"source"},"cwes":[{"id":"CWE-842","name":"Placement of User into Incorrect Group"},{"id":"CWE-1287","name":"Improper Validation of Specified Type of Input"}],"references":[{"url":"https://github.com/elabftw/elabftw/security/advisories/GHSA-937c-m7p3-775v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/elabftw/elabftw/releases/tag/4.3.0","tags":["x_refsource_MISC"]}],"priority":{"score":28.0,"factors":[{"name":"EPSS percentile","points":19.62},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.43}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-12-01","earliestUrl":"https://github.com/gregscharf/CVE-2022-31007-Python-POC","repos":[{"name":"gregscharf/CVE-2022-31007-Python-POC","url":"https://github.com/gregscharf/CVE-2022-31007-Python-POC","stars":2,"created":"2022-12-01"}]},"first":{"date":"2022-12-01","source":"PoC-in-GitHub","url":"https://github.com/gregscharf/CVE-2022-31007-Python-POC"},"provenance":"source"},"vendorSlug":"elabftw","affectedVersions":[{"vendor":"elabftw","product":"elabftw","versions":["< 4.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:06:28.000361Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"A flaw in eLabFTW, an electronic lab notebook manager, lets a user holding the administrator role within a team grant themselves system administrator privileges, or create a new system administrator account, in versions prior to 4.3.0. Exploitation requires an authenticated attacker who already holds a team administrator account over the network, with no user interaction or special configuration needed, and it does not extend to regular user accounts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:46:57Z"},"euvd":{"id":"EUVD-2022-52712","exploited":false,"provenance":"source"}}