Skip to content
RCE Advisory Advanced

GHSL-2020-214_223: 10 CVEs in OneDev ranging from pre-auth Remote Code Execution (RCE) to Arbitrary File Read/Write

Multiple vulnerabilities in OneDev, including pre-auth unsafe deserialization, SSTI, arbitrary file upload, and access token leak, allow an attacker to execute code, read/write files, and impersonate users.

Alvaro Muñoz Follow

Originally disclosed on GitHub Security Lab

Multiple vulnerabilities were found in the OneDev project ranging from pre-auth Remote Code Execution (RCE) to Arbitrary File Read/Write

pwntester, on GitHub Security Lab

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 multiple root causes: unsafe deserialization of untrusted data, missing authentication checks, improper input validation, and misconfigured libraries.

Impact

An attacker could execute arbitrary code, read/write files, and steal access tokens, potentially leading to full server compromise.

What the attacker needed

Network access to OneDev; for some issues, a valid user account; for ZipSlip, a valid job token

The fix

The maintainer states that all vulnerabilities were addressed.

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.

OneDev is a software development platform. The report found many security holes: some let an attacker run commands on the server without logging in, others let them read or write files, and one let them steal secret tokens to act as other users. These are serious because an attacker could take over 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.

More by Alvaro Muñoz

View all

132 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

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.