제출 #831893: medkey-org medkey v 1.0.0 Insecure Direct Object Reference (IDOR) /Improper Access Control정보

제목medkey-org medkey v 1.0.0 Insecure Direct Object Reference (IDOR) /Improper Access Control
설명An issue was discovered in medkey-org medkey open-source Hospital Information System version 1.0.0. The REST API component handles patient data retrieval insecurely within the file 'modules/medical/port/rest/controllers/PatientController.php'. Specifically, the method 'actionGetPatientById($id)' loads and extracts database records based entirely on the user-supplied '$id' GET parameter without implementing any server-side validation, ownership correlation, or session token verification rules. Because the base parent controller 'app\common\rest\ActiveController' also lacks global row-level or object-level access wrappers, an authenticated low-privilege attacker (such as a generic hospital staff account or another patient) can manually manipulate the 'id' parameter in HTTP REST requests. By horizontally shifting the identifier ranges (e.g., changing id=1 to id=2 or id=3), an attacker can successfully escalate privileges and exfiltrate highly sensitive data structures, including full names, medical treatment histories (Protected Health Information - PHI), and active medical insurance policy details of any registered patient in the enterprise infrastructure.
원천⚠️ https://github.com/onyxglitch/Medkey-EHR-IDOR-PoC
사용자
 onyxglitch (UID 98334)
제출2026. 05. 17. AM 10:49 (5 개월 ago)
모더레이션2026. 06. 14. PM 02:22 (28 days later)
상태수락
VulDB 항목370849 [medkey-org medkey 까지 fc09b7ba9441ff590b72d428d5380834216b09ed HTTP REST API PatientController.php actionGetPatientById id 권한 상승]
포인트들20

Might our Artificial Intelligence support you?

Check our Alexa App!