Authenticated SQL injection via unsanitized group identifier
Published Apr 13, 2021 · Updated Aug 4, 2024
SQL injection in phpGACL 3.3.7 allows remote authenticated users to execute arbitrary SQL through the web administration interface. The edit_group.php Submit path passes the POST group_id value unsanitized through edit_group() to get_group_data(), which concatenates it into a SELECT statement. A valid session cookie and access to group administration are required; injected SQL can read or alter database data or interrupt database operations.
Summary
What happened
SQL injection in phpGACL 3.3.7 allows remote authenticated users to execute arbitrary SQL through the web administration interface. The edit_group.php Submit path passes the POST group_id value unsanitized through edit_group() to get_group_data(), which concatenates it into a SELECT statement. A valid session cookie and access to group administration are required; injected SQL can read or alter database data or interrupt database operations.
The record
- CVE
- CVE-2020-13568
- Published
- Apr 13, 2021
- Updated
- Aug 4, 2024
- Vendor
- phpGACL
- Product
- phpGACL
- Classifications
- CWE-89, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 13, 2021CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=OpenEMR 5.0.2, OpenEMR development version 6.0.0 (commit babec93f600ff1394f91ccd512bcad85832eb6ce), phpGACL 3.3.7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Cisco Talos time-delay SQL injection proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo