Description
OpenEMR 5.0.2.1 contains a cross-site scripting vulnerability that allows authenticated attackers to inject malicious JavaScript through user profile parameters. Attackers can exploit the vulnerability by crafting a malicious payload to download and execute a web shell, enabling remote command execution on the vulnerable OpenEMR instance.
Problem types
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Credits
Hato0, BvThTrd
References
www.exploit-db.com/exploits/49784 (ExploitDB-49784)
www.open-emr.org/ (OpenEMR Official Website)
sourceforge.net/...ent/5.0.2.1/openemr-5.0.2.tar.gz/download (OpenEMR 5.0.2.1 Download)
blog.sonarsource.com/...r&utm_term=security&utm_content=tofu (SonarSource Vulnerability Analysis)
www.youtube.com/watch?v=H8VWNwWgYJo&feature=emb_logo (Vulnerability Demonstration Video)
www.vulncheck.com/advisories/openemr-remote-code-execution (VulnCheck Advisory: OpenEMR 5.0.2.1 - Remote Code Execution)