CVE-2020-13566
OpenEMR vulnerability analysis and mitigation

Overview

Multiple SQL injection vulnerabilities exist in phpGACL 3.3.7, identified as CVE-2020-13566. The vulnerability was discovered in the phpGACL library, which allows developers to implement permission systems via a Generic Access Control List. A specially crafted HTTP request can lead to SQL injection, potentially compromising the security of systems using this library. The vulnerability was discovered by Claudio Bozzato of Cisco Talos and was publicly disclosed on January 27, 2021 (Talos Report).

Technical details

The vulnerability exists due to unsanitized SQL queries built using string concatenation across the phpGACL codebase. Specifically, in admin/edit_group.php, when the POST parameter action is 'Delete', the POST parameter delete_group leads to SQL injection. The delete_group parameter is passed to the del_group function without proper sanitization. The vulnerability has a CVSSv3 Score of 8.8 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) and is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) (Talos Report).

Impact

The SQL injection vulnerability could allow an attacker to execute arbitrary SQL commands on the affected database. This could potentially lead to unauthorized access to sensitive data, modification of database contents, or compromise of the entire system's integrity (Talos Report).

Exploitability

The vulnerability can be exploited by sending a specially crafted HTTP request to the target system. A proof of concept exploit has been demonstrated using a curl command with specific parameters targeting the edit_group.php endpoint. The vulnerability affects OpenEMR 5.0.2 and development version 6.0.0, as well as phpGACL 3.3.7 (Talos Report).

Mitigation and workarounds

The vulnerability was patched by the vendor on January 5, 2021. Users are advised to update to the latest version of phpGACL that includes the security fix. Organizations using OpenEMR should also ensure they are running the latest patched version of the software (Talos Report).

Additional resources


SourceThis report was generated using AI

Related OpenEMR vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-40506HIGH7
  • OpenEMR logoOpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesAug 17, 2026
CVE-2026-76614MEDIUM5.3
  • OpenEMR logoOpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesAug 19, 2026
CVE-2026-40509MEDIUM5.3
  • OpenEMR logoOpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesAug 19, 2026
CVE-2026-40508MEDIUM5.1
  • OpenEMR logoOpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesAug 19, 2026
CVE-2026-40507MEDIUM5.1
  • OpenEMR logoOpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesAug 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management