PT-2026-67435 · Git+1 · Openemr
CVSS v4.0
9.4
Critical
| Vector | AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
Name of the Vulnerable Software and Affected Versions
OpenEMR versions prior to 8.2.1
Description
A remote code execution issue exists in the document category tree component located in
library/classes/Tree.class.php. Authenticated administrators can execute arbitrary operating system commands by injecting PHP payloads into the categories database table. This is achieved by chaining arbitrary SQL execution to change the id column type to VARCHAR and inserting a malicious payload. The payload is subsequently executed via an unsanitized eval() function whenever any page instantiates CategoryTree, which includes pages accessible to unauthenticated or low-privilege users, leading to command execution with the privileges of the web server user.Recommendations
Update to version 8.2.1 or later.
Exploit
Fix
Eval Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Openemr