ZKTeco ZKTime.Net 3.0.1.6 Insecure File Permissions

2016.08.31
Risk: Low
Local: Yes
Remote: No
CVE: N/A
CWE: N/A

ZKTeco ZKTime.Net 3.0.1.6 Insecure File Permissions Vendor: ZKTeco Inc. | Xiamen ZKTeco Biometric Identification Technology Co.,ltd Product web page: http://www.zkteco.com Affected version: 3.0.1.6 3.0.1.5 (160622) 3.0.1.1 (160216) Summary: ZKTime.Net V3.0 is a new generation time attendance management software. Meanwhile, it integrates with time attendance and access control system. Some frequently used functions such as attendance reports, device management and employee management can be managed directly on the home page which providing excellent user experience. Owing to the Pay code function, it can generate both time attendance records and corresponding payroll in the software and easy to merge with the most ERP and Payroll software, which can rapidly upgrade your working efficiency. The brand new flat GUI design and humanized structure will make your daily management more pleasant and convenient. Desc: ZKTime.Net suffers from an elevation of privileges vulnerability which can be used by a simple user that can change the executable file with a binary of choice. The vulnerability exist due to the improper permissions, with the 'C' flag (Change) for 'Everyone' group, making the entire directory 'ZKTimeNet3.0' and its files and sub-dirs world-writable. Tested on: Microsoft Windows 7 Ultimate SP1 (EN) Microsoft Windows 7 Professional SP1 (EN) Vulnerability discovered by Gjoko 'LiquidWorm' Krstic @zeroscience Advisory ID: ZSL-2016-5360 Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2016-5360.php 18.07.2016 -- C:>showacls "c:Program Files (x86)ZKTimeNet3.0" c:Program Files (x86)ZKTimeNet3.0 Everyone Change [RWXD] NT SERVICETrustedInstaller Special Access [A] NT AUTHORITYSYSTEM Special Access [A] BUILTINAdministrators Special Access [A] BUILTINUsers Special Access [RX] CREATOR OWNER Special Access [A] C:>showacls "c:Program Files (x86)ZKTimeNet3.0ZKTimeNet.exe" c:Program Files (x86)ZKTimeNet3.0ZKTimeNet.exe Everyone Change [RWXD] C:Program Files (x86)>cacls ZKTimeNet3.0 C:Program Files (x86)ZKTimeNet3.0 Everyone:(OI)(CI)C NT SERVICETrustedInstaller:(ID)F NT SERVICETrustedInstaller:(CI)(IO)(ID)F NT AUTHORITYSYSTEM:(ID)F NT AUTHORITYSYSTEM:(OI)(CI)(IO)(ID)F BUILTINAdministrators:(ID)F BUILTINAdministrators:(OI)(CI)(IO)(ID)F BUILTINUsers:(ID)R BUILTINUsers:(OI)(CI)(IO)(ID)(special access:) GENERIC_READ GENERIC_EXECUTE CREATOR OWNER:(OI)(CI)(IO)(ID)F C:Program Files (x86)ZKTimeNet3.0>cacls *.exe C:Program Files (x86)ZKTimeNet3.0LanguageTranslate.exe Everyone:C Everyone:(ID)C NT AUTHORITYSYSTEM:(ID)F BUILTINAdministrators:(ID)F BUILTINUsers:(ID)R C:Program Files (x86)ZKTimeNet3.0unins000.exe Everyone:(ID)C NT AUTHORITYSYSTEM:(ID)F BUILTINAdministrators:(ID)F BUILTINUsers:(ID)R C:Program Files (x86)ZKTimeNet3.0ZKTimeNet.DBTT.exe Everyone:C Everyone:(ID)C NT AUTHORITYSYSTEM:(ID)F BUILTINAdministrators:(ID)F BUILTINUsers:(ID)R C:Program Files (x86)ZKTimeNet3.0ZKTimeNet.exe Everyone:C Everyone:(ID)C NT AUTHORITYSYSTEM:(ID)F BUILTINAdministrators:(ID)F BUILTINUsers:(ID)R C:Program Files (x86)ZKTimeNet3.0ZKTimeNet.Update.exe Everyone:C Everyone:(ID)C NT AUTHORITYSYSTEM:(ID)F BUILTINAdministrators:(ID)F BUILTINUsers:(ID)R C:Program Files (x86)ZKTimeNet3.0ZKTimeNet.ZKTime5DB.exe Everyone:C Everyone:(ID)C NT AUTHORITYSYSTEM:(ID)F BUILTINAdministrators:(ID)F BUILTINUsers:(ID)R


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top