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

Notepad++ 6.9.2 DLL Hijacking

Notepad++ 6.9.2 DLL Hijacking
Posted Jul 8, 2016
Authored by Himanshu Mehta

The installer for Notepad++ version 6.9.2 suffers from a dll hijacking vulnerability.

tags | exploit
systems | windows
SHA-256 | 4cbb935ddbd423144ae24b1e4c194ad04806a6e7e10525531551118bfa532190

Notepad++ 6.9.2 DLL Hijacking

Change Mirror Download
Aloha,

*npp.6.9.2.Installer.exe* loads and executes dwmapi.dll from its
"application directory".

For software downloaded with a web browser the applicationdirectory is
typically the user's "Downloads" directory: see <
https://insights.sei.cmu.edu/cert/2008/09/carpet-bombing-and-directory-poisoning.html
>,
<http://blog.acrossecurity.com/2012/02/downloads-folder-binary-planting.html
>
and <http://seclists.org/fulldisclosure/2012/Aug/134> for "prior art" about
this well-known and well-documented vulnerability.


If an attacker places one of the above named DLL in the user's "Downloads"
directory (for example per "drive-by download" or "social engineering")
this vulnerability becomes a remote code execution.

Notepad++ contains a DLL hijacking vulnerability that could allow an
unauthenticated, remote attacker to execute arbitrary code on the targeted
system. This vulnerability exists due to some DLL file is loaded by
‘npp.6.9.2.Installer.exe’ improperly. And it allows an attacker to load
this DLL file of the attacker’s choosing that could execute arbitrary code
without the user's knowledge.

Affected Product:

Notepad++ 6.9.2
Download Link:
https://notepad-plus-plus.org/news/notepad-6.9.2-released.html

Impact

Attacker can exploit the vulnerability to load a DLL file of the attacker's
choosing that could execute arbitrary code. This may help attacker to
Successful exploits the system if user creates shell as a DLL.

Vulnerability Scoring Details

The vulnerability classification has been performed by using the CVSSv2
scoring system (http://www.first.org/cvss/).
Base Score: 7.2 (AV:L/AC:L/Au:N/C:C/I:C/A:C)


Proof of concept/demonstration:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1. Create malicious dll file and save it as dwmapi.dll in your "Downloads"
directory.

2. Download npp.6.9.2.Installer.exe from
https://notepad-plus-plus.org/download/v6.9.2.html
and save it in your "Downloads" directory.

3. Execute npp.6.9.2.Installer.exe from your "Downloads" directory.

4. Malicious dll file gets executed.

Chao!!

Himanshu Mehta
Login or Register to add favorites

File Archive:

March 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close