Rapid7 Vulnerability & Exploit Database

NSClient++ 0.5.2.35 - Privilege escalation

Back to Search

NSClient++ 0.5.2.35 - Privilege escalation

Disclosed
10/20/2020
Created
07/06/2021

Description

This module allows an attacker with an unprivileged windows account to gain admin access on windows system and start a shell. For this module to work, both the NSClient++ web interface and `ExternalScripts` features must be enabled. You must also know where the NSClient config file is, as it is used to read the admin password which is stored in clear text.

Author(s)

  • kindredsec
  • BZYO
  • Yann Castel (yann.castel <Yann Castel (yann.castel@orange.com)>

Platform

Windows

Architectures

x64

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/local/nscp_pe
msf exploit(nscp_pe) > show targets
    ...targets...
msf exploit(nscp_pe) > set TARGET < target-id >
msf exploit(nscp_pe) > show options
    ...show and set options...
msf exploit(nscp_pe) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;