MedDream PACS Premium PACS privilege escalation vulnerability
Insufficient NTFS file permissions allow anyone with login access to alter PHP files, particularly login.php, and insert shell commands to add an account to the administrators group. An attacker can upload a malicious file to trigger this vulnerability.
Originally disclosed on Cisco Talos
A privilege escalation vulnerability exists in the login.php functionality of meddream MedDream PACS Premium 7.3.3.840. A specially crafted .php file can lead to elevated capabilities.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 NTFS file permissions on the web root allow authenticated users to modify PHP files, and the web server runs with SYSTEM privileges.
Impact
An attacker with login access could add an account to the local administrators group, gaining administrative rights on the system.
What the attacker needed
Login access to the web interface
The fix
The vendor released a patch on 2025-07-28.
How it was found
- Log in to the MedDream web interface.
- Modify the login.php file to insert shell commands that add a user to the administrators group.
- Reload the login.php page to execute the commands.
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.
The software stores its web pages in files that are not properly protected, so a logged-in user can change them. By adding extra commands to a page, the user can make the server run those commands with high privileges, effectively giving themselves administrator rights on the machine.
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.