CVE-2025-26147: Authenticated RCE In Denodo Scheduler
The Denodo Scheduler's Kerberos keytab upload feature allowed path traversal in the filename, enabling an authenticated attacker to write files anywhere on the server. By uploading a Java web shell to the Tomcat web root, the attacker could execute arbitrary commands remotely.
Published on rhinosecuritylabs.com
Denodo provides a range of logical data management software.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application failed to sanitise the filename in the multipart upload, allowing path traversal sequences to write files outside the intended directory.
Impact
An authenticated attacker could execute arbitrary commands on the server, leading to full compromise.
What the attacker needed
Authenticated access to Scheduler; ability to upload keytab files
The fix
The vulnerability was fixed in Denodo 8.0 update 20240307.
How it was found
- Intercept the keytab file upload request with an HTTP proxy.
- Modify the filename in the Content-Disposition header to include path traversal sequences and point to a target directory.
- Upload the file; the server appends a timestamp to the filename and returns it in the response.
- Enumerate the filesystem to locate the Apache Tomcat web root directory.
- Create a Java web shell and upload it using the same path traversal technique to the web root.
- Access the uploaded web shell to execute arbitrary commands on the server.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The application lets administrators upload a file for Kerberos authentication, but it does not check the filename properly. An attacker can use a filename with '../' to save the file outside the intended folder, and by placing a malicious script in the web server's folder, they can run commands on the server.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.