Heimdall Data Database Proxy generateFileContent CRLF Injection Remote Code Execution Vulnerability
The generateFileContent function in Heimdall Data Database Proxy fails to neutralise CRLF sequences, allowing an authenticated attacker to inject content that leads to arbitrary code execution as root. The text does not describe the exact injection path or payload.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Heimdall Data Database Proxy. Authentication is required to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the generateFileContent function writes attacker-controlled data into a file or command without stripping or escaping CRLF sequences, so injected line breaks create new instructions.
Impact
An authenticated attacker could execute arbitrary code with root privileges on the affected installation.
What the attacker needed
Authentication to the proxy
The fix
The vendor fixed the issue in release build 25.03.01.24.
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 report has not been written yet. The Original tab links to the source.
CRLF stands for carriage return and line feed, the two characters that mark the end of a line in many text formats. If a program writes user input into a file or command without removing these characters, an attacker can break out of the intended line and add their own instructions. Here that let a logged-in user run commands as the root (highest-privilege) account on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.