PT-2024-32837 · Elabftw · Elabftw
S1N6H
·
Published
2024-10-14
·
Updated
2024-11-08
·
CVE-2024-47826
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
eLabFTW versions prior to 5.1.5
Description
A vulnerability in eLabFTW allows an attacker to inject arbitrary HTML tags in the pages "experiments.php" (show mode), "database.php" (show mode), or "search.php". This is achieved by providing HTML code in the extended search string, which will then be displayed back to the user in the error message. The injected HTML will appear in a red "alert/danger" box and be part of an error message. Due to other security measures, it is not possible to execute arbitrary JavaScript from this attack, making it a low-impact issue.
Recommendations
For versions prior to 5.1.5, upgrade to at least version 5.1.5 to receive a patch. As a temporary workaround, consider restricting the use of the extended search string in the affected pages until a patch is available. Avoid using the extended search string in the "experiments.php", "database.php", and "search.php" pages until the issue is resolved.
Exploit
Fix
XSS
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Elabftw