PT-2022-20760 · Unknown · Librehealth Ehr Base

Alibek Akhmetov

+4

·

Published

2022-06-06

·

Updated

2022-06-14

·

CVE-2022-31492

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions LibreHealth EHR Base version 2.0.0
Description The issue is related to a Cross Site scripting (XSS) vulnerability. It affects the interface/usergroup/usergroup admin add.php file, specifically the Username field. This vulnerability can be exploited via the "/interface/usergroup/usergroup admin add.php" API endpoint, allowing for potential XSS attacks through the Username variable.
Recommendations For LibreHealth EHR Base version 2.0.0, consider disabling the usergroup admin add.php function until a patch is available to prevent exploitation of the XSS vulnerability. Restrict access to the interface/usergroup/usergroup admin add.php file to minimize the risk of exploitation. Avoid using the Username variable in the affected API endpoint until the issue is resolved.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-31492

Affected Products

Librehealth Ehr Base