Impact
A flaw exists in the Bahmni Bahmnicore Search Endpoint where the additionalParams function accepts unsanitised user input in the test argument. This defect allows the execution of arbitrary SQL statements, enabling or modify data beyond the intended scope. The weakness is a classic SQL injection, categorized under CWE-74 and CWE-89.
Affected Systems
Bahmni Bahmnicore deployments running any version up to 0.93 are impacted. The advisory recommends updating to 0.93.1, 1.0.1, 1.1.1, 1.2.1, 1.3.1, or 2.0.1 to remove the vulnerability.
Risk and Exploitability
The CVSS base score of 5.3 indicates moderate severity. The EPSS score of less than 1% suggests a low probability of exploitation in the wild. The vulnerability is not listed in CISA's KEV catalog. The likely attack vector is remote: an attacker can trigger the flaw by sending a crafted HTTP request to the /openmrs/ws/rest/v1/bahmnicore/sql endpoint, manipulating the test parameter to inject malicious SQL.
OpenCVE Enrichment