VYPR
Unrated severityOSV Advisory· Published Aug 20, 2018· Updated Sep 16, 2024

CVE-2018-1000650

CVE-2018-1000650

Description

LibreHealthIO lh-ehr version REL-2.0.0 contains a SQL Injection vulnerability in Show Groups Popup SQL query functions that can result in Ability to perform malicious database queries. This attack appear to be exploitable via User controlled parameters.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

LibreHealthIO lh-ehr REL-2.0.0 contains an authenticated SQL injection vulnerability in show_groups_popup.php allowing database compromise.

Vulnerability

An authenticated SQL injection vulnerability exists in LibreHealthIO lh-ehr version REL-2.0.0. The issue is located in show_groups_popup.php at lines 51-52, where the GET parameter layout_id is directly concatenated into a SQL query without sanitization [1][2]. The vulnerable code constructs a query using $_GET['layout_id'] and executes it via sqlStatement(). An attacker must be authenticated to reach this code path.

Exploitation

An attacker with a valid authenticated session can exploit this vulnerability by providing a malicious payload in the layout_id parameter. The attacker can inject arbitrary SQL commands, which will be executed against the database. The exploit requires no special privileges beyond basic user authentication [1][2].

Impact

Successful exploitation allows the attacker to execute arbitrary SQL queries, leading to complete compromise of the database. This includes the ability to read, modify, or delete sensitive data, as well as potentially escalate privileges or gain further access to the application [1][2].

Mitigation

As of the disclosure timeline (August 2018), no fix has been released [1]. The recommended mitigation is to use parameterized queries or prepared statements instead of string concatenation. Until a patch is available, administrators should limit user access and monitor for suspicious activity.

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • LibreHealth/Lh EhrOSV2 versions
    EventPlanning, INTERN, REL-2_0_0, …+ 1 more
    • (no CPE)range: EventPlanning, INTERN, REL-2_0_0, …
    • (no CPE)range: = 2.0.0

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.