[**Hack Stories: Hacking Hackers EP:1** *When cockiness backfires and put your company at risk.*infosecwriteups.com](https://infosecwriteups.com/hack-stories-hacking-hackers-ep-1-ff4c3cfc09cc)
The author found multiple vulnerabilities in a company's systems, including Log4Shell RCE, SQL injection zero-day, broken function level authorization, vertical privilege escalation, and two API RCEs. An attacker could execute code, access data, and escalate privileges.
Hack Stories: Hacking Hackers EP:1 When cockiness backfires and put your company at risk.infosecwriteups.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 multiple issues: outdated Java logging library (Log4Shell), unsanitised input in SQL queries, missing authorisation checks on API endpoints and headers, and insecure API design.
Impact
An attacker could execute arbitrary code with root privileges, access sensitive data, escalate privileges to administrator, and compromise the system.
What the attacker needed
Access to the application; API key and secret for authenticated RCE; knowledge of API link for non-auth RCE
How it was found
- Noticed Java frameworks in logs, suggesting Log4Shell vulnerability.
- Tested another application, identified an injectable variable using a proxy.
- Injected payload to achieve root RCE.
- While testing an endpoint, application crashed; switched to SQL injection testing.
- Used SQLmap to exploit SQLi and access data.
- Manipulated user level IDs via POST request to escalate privileges.
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 story about a security tester who found serious flaws in a company's software. Some flaws let attackers run their own commands on the company's computers, which is very dangerous. Others let attackers see or change data they shouldn't.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.