MedDream PACS Premium modifyCoercion reflected cross-site scripting (XSS) vulnerability
A post-authentication reflected cross-site scripting flaw exists in the modifyCoercion script, where the title parameter is written into the HTML error message without sanitisation. An attacker could craft a URL that runs arbitrary JavaScript in a logged-in user's browser.
Originally disclosed on Cisco Talos
A reflected cross-site scripting (xss) vulnerability exists in the modifyCoercion 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 title parameter is passed straight into the HTML error output without encoding or sanitisation.
Impact
An attacker could run arbitrary JavaScript in a logged-in user's browser, though the response headers include X-XSS-Protection and X-Frame-Options which may limit some abuse.
What the attacker needed
Valid authenticated session; victim clicks a crafted link
The fix
The title value should be HTML-encoded before being written into the error message; the vendor released a patch.
How it was found
- Log in to the application so a valid session exists.
- Send a request to the modifyCoercion script with a title value containing markup and a sequence value that does not exist.
- Observe the title value reflected unescaped 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.
When a web page shows back something you typed without cleaning it first, an attacker can put code in that text. Here the page echoes the title value into an error message, so a link containing a script tag makes the victim's browser run that script. The attacker needs the victim to be logged in and to click the crafted link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.