CVE-2006-5811

OpenEMR 2.8.1 - Remote Code Execution via GLOBALS[srcdir] Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2006-5811. PoCs published by the_day.

AI-analyzed exploit summary The advisory details a remote file inclusion vulnerability in OpenEMR <=2.8.1, where the '$srcdir' parameter in multiple PHP files is not properly sanitized, allowing arbitrary PHP code execution via external file inclusion. Proof-of-concept URLs are provided, demonstrating the exploit vector.

Description

PHP remote file inclusion vulnerability in library/translation.inc.php in OpenEMR 2.8.1, with register_globals enabled, allows remote attackers to execute arbitrary PHP code via a URL in the GLOBALS[srcdir] parameter.

Exploits (1)

exploitdb WRITEUP VERIFIED
by the_day · textwebappsphp
https://www.exploit-db.com/exploits/2727

The advisory details a remote file inclusion vulnerability in OpenEMR <=2.8.1, where the '$srcdir' parameter in multiple PHP files is not properly sanitized, allowing arbitrary PHP code execution via external file inclusion. Proof-of-concept URLs are provided, demonstrating the exploit vector.

Classification
Writeup 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: OpenEMR <=2.8.1
No auth needed
Prerequisites: Network access to the target OpenEMR instance · Ability to host a malicious PHP file on an external server
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (7)

Core 7
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/2727
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/450698/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/30036
Exploit, Vendor Advisory x_refsource_misc
http://advisories.echo.or.id/adv/adv60-theday-2006.txt
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2006/4382
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/1844
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/22695

Scores

EPSS 0.0284
EPSS Percentile 84.8%

Details

Status published
Products (1)
openemr/openemr 2.8.1
Published Nov 08, 2006
Tracked Since Feb 18, 2026