Lucene search

K
huntrYcdxsbE7835226-1B20-4546-B256-3F625BADB022
HistoryApr 09, 2022 - 5:49 a.m.

ZeroTierOne for windows local privilege escalation because of incorrect directory privilege

2022-04-0905:49:14
ycdxsb
www.huntr.dev
229

0.0004 Low

EPSS

Percentile

5.1%

Description

When administrators install zerotierone for windows, it will install ZeroTierOneService, the ImagePath of it is C:\ProgramData\ZeroTier\One\zerotier-one_x64.exe,however, the permission of C:\ProgramData\ZeroTier\One\ is incorrect, an attacker with low privilege can get system privilege by this vuln.

Proof of Concept

When administrators install zerotierone for windows, it will install ZeroTierOneService, the ImagePath of it is C:\ProgramData\ZeroTier\One\zerotier-one_x64.exe.

info1

However,the permission of C:\ProgramData\ZeroTier\One\ is incorrect, all Users have write permission of C:\ProgramData\ZeroTier\One and its subdirectories.

info2

When ZeroTierOneService starts, it will try to load some dlls under C:\ProgramData\ZeroTier\One.

info3

So an attacker with low privilege can exploit it and gain a system privilege by dll hijacking because of ZeroTierOneService running as SYSTEM.

0.0004 Low

EPSS

Percentile

5.1%

Related for E7835226-1B20-4546-B256-3F625BADB022