MedDream PACS Premium modifyAutopurgeFilter reflected cross-site scripting (XSS) vulnerability
A reflected cross-site scripting vulnerability exists in the modifyAutopurgeFilter.php script of MedDream PACS Premium, where the key parameter is written into HTML output without sanitisation. An attacker could craft a malicious URL that, when visited by an authenticated user, executes arbitrary JavaScript in the user's browser.
Originally disclosed on Cisco Talos
A reflected cross-site scripting (xss) vulnerability exists in the modifyAutopurgeFilter functionality of MedDream PACS Premium 7.3.6.870. A specially crafted malicious URL can lead to arbitrary javascript code execution.
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
The application takes the user-controlled 'key' parameter, splits it, and prints the 'pattern' part into an HTML error message without encoding or sanitising it.
Impact
An attacker could execute arbitrary JavaScript in the context of an authenticated user's session, potentially leading to data theft or other actions on behalf of the user.
What the attacker needed
Authenticated user; victim clicks a crafted link
The fix
The vulnerability was fixed by the vendor in a patch release.
How it was found
- Authenticate to the MedDream PACS Premium web interface.
- Send a request to Pacs/modifyAutopurgeFilter.php with a crafted key parameter containing HTML/JavaScript.
- Observe that the response includes the injected script in the error message.
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.
Cross-site scripting (XSS) is a flaw where a website inserts user-supplied text into its pages without cleaning it, so an attacker can slip in JavaScript code. When a victim opens a specially crafted link, that code runs in their browser as if it came from the trusted site. Here, the page that shows an error message for a missing filter includes the attacker's text directly, allowing script execution.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.