Tosibox Key Service 3.3.0 Local Privilege Escalation

Title: Tosibox Key Service 3.3.0 Local Privilege Escalation
Advisory ID: ZSL-2024-5812
Type: Local
Impact: Privilege Escalation
Risk: (3/5)
Release Date: 23.02.2024
Summary
TOSIBOX® SoftKey is a software that enables a secure connection between your computer and one or more TOSIBOX® Nodes, giving you full visibility and control over the network devices connected to the Node.
Description
The application suffers from an unquoted search path issue impacting the service 'Tosibox Key Service' for Windows deployed as part of Tosibox software application. This could potentially allow an authorized but non-privileged local user to execute arbitrary code with elevated privileges on the system. A successful attempt would require the local user to be able to insert their code in the system root path undetected by the OS or other security applications where it could potentially be executed during application startup or reboot. If successful, the local user's code would execute with the elevated privileges of the application.
Vendor
Tosibox Oy - https://www.tosibox.com
Affected Version
<=3.3.0
Tested On
Windows 10 Home 64 bit (build 9200)
Vendor Status
[30.01.2024] Vulnerability discovered.
[31.01.2024] Vendor contacted.
[31.01.2024] Vendor responds asking for more details.
[31.01.2024] Sent details to the vendor.
[31.01.2024] Vendor confirms receipt of the details.
[01.02.2024] Vendor starts investigating the issue.
[08.02.2024] Vendor confirms the vulnerability as High, working on a fix.
[10.02.2024] Replied to the vendor.
[21.02.2024] Vendor responds with release plan.
[22.02.2024] Replied to the vendor.
[23.02.2024] Vendor releases fixed version 3.3.1 that addresses this issue. Assigns advisory ID: TBSA-024-101.
[23.02.2024] Replied to the vendor.
[23.02.2024] Coordinated public security advisory released.
PoC
tosibox_eop.txt
Credits
Vulnerability discovered by Gjoko Krstic - <gjoko@zeroscience.mk>
High five to Dmitriy!
References
[1] https://github.com/rapid7/metasploit-framework/blob/master/documentation/modules/exploit/windows/local/unquoted_service_path.md
[2] https://helpdesk.tosibox.com/support/solutions/folders/21000000417
[3] https://helpdesk.tosibox.com/support/solutions/articles/21000002606-security-advisory-for-unquoted-service-path-vulnerability-in-tosibox-key-software
[4] https://helpdesk.tosibox.com/support/solutions/articles/2100041818-tosibox-key-software-releases
[5] https://packetstormsecurity.com/files/177260/
Changelog
[23.02.2024] - Initial release
[15.03.2024] - Added reference [5]
Contact
Zero Science Lab

Web: https://www.zeroscience.mk
e-mail: lab@zeroscience.mk