An authenticated SQL injection issue in the calendar search function of OpenEMR 6.0.0 before patch 3 allows an attacker to read data from all tables of the database via the parameter provider_id, as demonstrated by the /interface/main/calendar/index.php?module=PostCalendar&func=search URI.
https://trovent.io/security-advisory-2109-01
https://trovent.github.io/security-advisories/TRSA-2109-01/TRSA-2109-01.txt
http://seclists.org/fulldisclosure/2021/Dec/38
http://packetstormsecurity.com/files/165301/OpenEMR-6.0.0-6.1.0-dev-SQL-Injection.html