Getting Root - A Technical Walkthrough
A system was compromised through a chain of vulnerabilities including information disclosure, WAF bypass, local file inclusion, and a pkexec flaw, allowing an unauthenticated attacker to gain root access and sensitive data.
A good example of what continuous penetration testing turns up. OSec obtained root access on a system by chaining several vulnerabilities identified over time.
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 a combination of multiple vulnerabilities: information disclosure, WAF bypass, local file inclusion, and a pkexec flaw, which together allowed privilege escalation to root.
Impact
An unauthenticated attacker could gain root access and access a significant amount of sensitive data, enumerate hosts, file shares, credentials, and establish persistence.
What the attacker needed
Unauthenticated access; multiple vulnerabilities present
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 report describes how security testers combined several smaller weaknesses to break into a computer system completely. They first found ways to leak information and bypass a protective filter, then used a file inclusion bug to run code, and finally exploited a known flaw in a system program to become the all-powerful administrator (root).
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.