When Flexibility Becomes a Backdoor: Analyzing CVE-2025–69288 i
Titra's timeEntryRule feature passed administrator-supplied JavaScript to a misconfigured NodeVM sandbox that allowed access to require, so an attacker with admin credentials could execute arbitrary system commands and gain remote code execution on the server.
Published on medium.com
In modern application development, we love giving users power. We want our software to be flexible. “Write your own rules,” “Create your own automations,” “Customize your workflow.” It’s a great selling point.
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
The timeEntryRule JavaScript was passed to NodeVM without proper sanitisation and with require left enabled, so sandboxed code could import Node.js modules such as child_process.
Impact
An attacker with administrator access could achieve remote code execution and total control over the server; the text notes that firewalls may block reverse shells, so out-of-band HTTP requests are suggested as a more reliable confirmation.
What the attacker needed
Administrator credentials on Titra; ability to edit the timeEntryRule; outbound HTTP allowed for OOB check
The fix
The sandbox should be configured explicitly with require disabled, or user logic should be expressed in a restricted domain-specific language or run in an isolated, disposable container.
How it was found
- Obtain administrator credentials for the Titra instance.
- Edit the timeEntryRule field and insert JavaScript that uses require to load a system module.
- Save the rule so the application executes the code.
- Observe an outbound HTTP request to a server you control as proof of code execution.
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.
Titra lets administrators write small JavaScript snippets to customise time-tracking rules. The application ran that code inside a sandbox, which is meant to be a safe playpen, but the playpen was set up wrongly and let the code load extra tools. Because of that, anyone who could edit the rule could make the server run commands of their choosing.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.