5.9medium
Bypass bruteforce protection on login form in elabftw
- Severity
- 5.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.94% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
eLabFTW is an open source electronic lab notebook manager for research teams. In versions of eLabFTW before 4.1.0, it allows attackers to bypass a brute-force protection mechanism by using many different forged PHPSESSID values in HTTP Cookie header. This issue has been addressed by implementing brute force login protection, as recommended by Owasp with Device Cookies. This mechanism will not impact users and will effectively thwart any brute-force attempts at guessing passwords. The only correct way to address this is to upgrade to version 4.1.0. Adding rate limitation upstream of the eLabFTW service is of course a valid option, with or without upgrading.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| elabftw elabftw | < 4.1.0, before 4.1.0 | CVE List, NVD |
All scores
| GitHub_M | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Classification
What each source says
CVE List
eLabFTW is an open source electronic lab notebook manager for research teams. In versions of eLabFTW before 4.1.0, it allows attackers to bypass a brute-force protection mechanism by using many different forged PHPSESSID values in HTTP Cookie header. This issue has been addressed by implementing brute force login protection, as recommended by Owasp with Device Cookies. This mechanism will not impact users and will effectively thwart any brute-force attempts at guessing passwords. The only correct way to address this is to upgrade to version 4.1.0. Adding rate limitation upstream of the eLabFTW service is of course a valid option, with or without upgrading.
NVD (es)
eLabFTW es un administrador de cuadernos de laboratorio electrónicos de código abierto para equipos de investigación. En las versiones de eLabFTW anteriores a 4.1.0, permite a atacantes omitir un mecanismo de protección de fuerza bruta mediante el uso de varios valores falsos de PHPSESSID en el encabezado de la cookie HTTP. Este problema ha sido solucionado al implementar una protección de inicio de sesión por fuerza bruta, tal y como recomienda Owasp con las Cookies de Dispositivo. Este mecanismo no afectará a usuarios y frustrará eficazmente cualquier intento de fuerza bruta para adivinar las contraseñas. La única forma correcta de abordar esto es actualizar a la versión 4.1.0. Añadir la limitación de la tasa del servicio eLabFTW es por supuesto una opción válida, con o sin actualización
References
| https://github.com/elabftw/elabftw/security/advisories/GHSA-q67h-5pc3-g6jv | third-party-advisory | |
| https://github.com/elabftw/elabftw/commit/8e92afeec4c3a68dc88333881b7e6307f425706b | patch, third-party-advisory | |
| https://github.com/elabftw/elabftw/releases/tag/4.1.0 | release-notes, third-party-advisory | |
| https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies | third-party-advisory | |
| https://www.exploit-db.com/docs/50436 | exploit, third-party-advisory, vdb-entry | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-41171 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-41171 changed 2026-06-17 | Public domain |