Dream Report ODS Remote Connector privilege escalation vulnerability
The Dream Report ODS Remote Connector service allows any local user to replace its executable and DLL files because they have weak default permissions. An attacker could replace these files to run code with the service's privileges, and then use the service's impersonation privilege to gain full SYSTEM access.
Originally disclosed on Cisco Talos
A privilege escalation vulnerability exists in the Remote Server functionality of Dream Report ODS Remote Connector 20.2.16900.0. A specially-crafted command injection can lead to elevated capabilities.
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
The installation folder and its executables/DLLs have permissions that allow the Everyone group full control, letting any local user replace them.
Impact
A local attacker could replace files to execute code with the service's privileges and then escalate to NT SYSTEM, but the initial exploitation only gives the service account's privileges, and full SYSTEM access requires an additional impersonation step.
What the attacker needed
Local access to the machine; ability to write to the installation folder
The fix
The vendor fixed the issue by correcting the default permissions in version 20.2.16900.1011.
How it was found
- Identify that the RTM service runs with high integrity and starts Rtm.exe and Rdxa.exe from a folder writable by Everyone.
- Replace Rtm.exe or Rdxa.exe (or a DLL) with a malicious file.
- When the service starts, the malicious file executes with the service's privileges.
- Use the SeImpersonatePrivilege of the service to elevate to NT SYSTEM.
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.
This report is about a Windows program that runs with high privileges. The folder where its files are stored can be changed by any user on the computer. So a normal user can swap a program file for their own malicious one, and when the service starts, it runs that file with higher rights, eventually letting the attacker take full control of the machine.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.