Skip to content
RCE Write-up Advanced

SysAid On-Prem Pre-Auth RCE Chain

An unauthenticated attacker can exploit XXE vulnerabilities in SysAid On-Prem to read local files and retrieve admin credentials, then use a command injection flaw to execute OS commands as SYSTEM. This chain allows full server compromise without any credentials.

medium.com

Published on medium.com

Severity: CRITICAL (CVSS 9.3) Vulnerability Type: Pre-Authentication Remote Code Execution (chain of XXE → Command Injection) Status: Actively exploited in the wild; public PoC available

Cybersecplayground, on medium.com

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 XML parser accepts external entities (XXE) and a separate component fails to sanitise user input before passing it to the operating system (command injection).

Impact

An attacker could deploy backdoors, exfiltrate data, or move laterally with SYSTEM-level code execution.

What the attacker needed

Network access to the SysAid instance; No credentials needed

The fix

Upgrade SysAid On-Prem to version 24.4.60 or later, and disable XML external entity resolution where possible.

How it was found

  1. Send a crafted XML request to an unauthenticated endpoint to trigger XXE and read local files.
  2. Extract admin credentials from the read files.
  3. Use the credentials and/or exploit the command injection flaw to run OS commands as 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 write-up has not been written yet. The Original tab links to the source.

This is a chain of two bugs. First, a flaw called XXE lets an attacker trick the server into reading files it should not, like a password file. Second, a command injection bug lets the attacker run their own commands on the server, taking full control.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.