----------------------------------------------------------------------

Want to join the Secunia Security Team?

Secunia offers a position as a security specialist, where your daily
work involves reverse engineering of software and exploit code,
auditing of source code, and analysis of vulnerability reports.

http://secunia.com/secunia_security_specialist/

----------------------------------------------------------------------

TITLE:
OpenEMR "fileroot" Parameter File Inclusion Vulnerability

SECUNIA ADVISORY ID:
SA20505

VERIFY ADVISORY:
http://secunia.com/advisories/20505/

CRITICAL:
Highly critical

IMPACT:
System access

WHERE:
>From remote

SOFTWARE:
OpenEMR 2.x
http://secunia.com/product/10384/

DESCRIPTION:
Kacper has discovered a vulnerability in OpenEMR, which can be
exploited by malicious people to compromise a vulnerable system.

Input passed to the "fileroot" parameter in
"contrib/forms/evaluation/C_FormEvaluation.class.php" is not properly
verified, before it is used to include files. This can be exploited to
include arbitrary files from external and local resources.

Successful exploitation requires that "register_globals" is enabled.

The vulnerabilities have been confirmed in version 2.8.1. Other
versions may also be affected.

SOLUTION:
Edit the source code to ensure that input is properly verified.

PROVIDED AND/OR DISCOVERED BY:
Kacper

ORIGINAL ADVISORY:
http://milw0rm.com/exploits/1886

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

----------------------------------------------------------------------