CWE
NVD-CWE-Other
Advisory Published
Updated

CVE-2011-5161

First published: Sun Sep 09 2012(Updated: )

Unrestricted file upload vulnerability in the patient photograph functionality in OpenEMR 4 allows remote attackers to execute arbitrary PHP code by uploading a file with an executable extension followed by a safe extension, then accessing it via a direct request to the patient directory under documents/.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
OpenEMR=4.0.0
OpenEMR=4.1.0
OpenEMR=4.1.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2011-5161?

    CVE-2011-5161 is considered a critical vulnerability due to its potential for remote code execution.

  • How do I fix CVE-2011-5161?

    To fix CVE-2011-5161, it is recommended to upgrade to a version of OpenEMR that is not vulnerable, such as 4.1.2 or later.

  • What versions of OpenEMR are affected by CVE-2011-5161?

    CVE-2011-5161 affects OpenEMR versions 4.0.0, 4.1.0, and 4.1.1.

  • What type of attack does CVE-2011-5161 facilitate?

    CVE-2011-5161 facilitates remote code execution attacks by allowing the upload of files with executable extensions.

  • Is CVE-2011-5161 a local or remote vulnerability?

    CVE-2011-5161 is a remote vulnerability that can be exploited by attackers over the network.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203