Create and Update patients vulnerability
A staff member without the 'Create and Update patients' permission could still directly access a patient's detail page and modify their details, despite the patient list page showing an access error. This allowed unauthorised modification of patient records.
- Triaged in 17 days
- Fixed in 43 days
- Paid in 43 days
- Disclosed after 22 months
Hi there,
This is a vulnerability in Create and Update permission in drchrono. When you try to modify a role of a certain staff member then uncheck Create and Update patients it supposed to barred your staff in updating users.
But this does not appear to be true. Yes a You do not have permission to access this page. error displays when you visit https://trizaeron.drchrono.com/patients/ but a direct access to a patient info does not! https://trizaeron.drchrono.com/patients/56958243/?
What this means, a staff can directly access still the patients and modify its details.
In case you needed more information, kindly let me know.
Cheers Clifford
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the permission check was only applied to the patient list page and not to the individual patient detail page, allowing direct access to bypass the restriction.
What the attacker needed
A staff account with restricted permissions; knowledge of a patient's URL
How it was found
- As an administrator, modify a staff member's role and uncheck the 'Create and Update patients' permission.
- Log in as that staff member and visit the patients list page; an access error is shown.
- Directly navigate to a patient's detail page using its URL; the page loads and the staff member can modify the patient's details.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A permission setting is meant to stop certain staff from changing patient information. The report shows that even when that permission is turned off, a staff member can still open a patient's page directly by typing its web address and make changes. This means the permission check only works on the list page, not on the individual patient page.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.