Lucene search

K
zeroscienceGjoko KrsticZSL-2024-5812
HistoryFeb 23, 2024 - 12:00 a.m.

Tosibox Key Service 3.3.0 Local Privilege Escalation

2024-02-2300:00:00
Gjoko Krstic
zeroscience.mk
120
tosibox
local privilege escalation
unquoted search path
windows 10
vulnerability
fixed version
zero science lab

7.9 High

AI Score

Confidence

Low

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 - <[email protected]>
High five to Dmitriy!

References

[1] <https://github.com/rapid7/metasploit-framework/blob/master/documentation/modules/exploit/windows/local/unquoted_service_path.md&gt;
[2] <https://helpdesk.tosibox.com/support/solutions/folders/21000000417&gt;
[3] <https://helpdesk.tosibox.com/support/solutions/articles/21000002606-security-advisory-for-unquoted-service-path-vulnerability-in-tosibox-key-software&gt;
[4] <https://helpdesk.tosibox.com/support/solutions/articles/2100041818-tosibox-key-software-releases&gt;
[5] <https://packetstormsecurity.com/files/177260/&gt;

Changelog

[23.02.2024] - Initial release
[15.03.2024] - Added reference [5]

Contact

Zero Science Lab

Web: <https://www.zeroscience.mk>
e-mail: [email protected]

<html><body><p>Tosibox Key Service 3.3.0 Local Privilege Escalation


Vendor: Tosibox Oy
Product web page: https://www.tosibox.com
Affected version: &lt;=3.3.0

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.

Desc: 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.

Tested on: Windows 10 Home 64 bit (build 9200)


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2024-5812
Advisory URL: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2024-5812.php


30.01.2024

--


C:\Users\ews&gt;sc qc "Tosibox Key Service"
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: Tosibox Key Service
        TYPE               : 110  WIN32_OWN_PROCESS (interactive)
        START_TYPE         : 2   AUTO_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\Program Files (x86)\Tosibox\bin\TosiboxKeyService.exe
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : Tosibox Key Service
        DEPENDENCIES       :
        SERVICE_START_NAME : LocalSystem

C:\Users\ews&gt;
</p></body></html>

7.9 High

AI Score

Confidence

Low