Skip to content
RCE Write-up Intermediate

How i Hacked into a bugcrowd. public program

An unused subdomain ran an outdated JBoss AS version 4 that was vulnerable to remote code execution. The author used a public exploit tool to confirm the vulnerability and execute code on the server.

vishnuraj Follow

Published on infosecwriteups.com

This article is about a remote code execution that i found in one of highest paying public program on bugcrowd. Offcourse for privacy purposes, we will not disclose the name of the program, so lets call it site.com

vishnuraj, on 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 an outdated JBoss AS version 4 with a known remote code execution vulnerability was left exposed on an unused subdomain.

Impact

An attacker could execute arbitrary code on the server, potentially taking full control of it.

What the attacker needed

Unused subdomain with JBoss AS v4; public exploit tool available

How it was found

  1. Visited the Bugcrowd program and noted the wide scope.
  2. Used knockpy to find subdomains and identified an unused one.
  3. Ran a port scan on that subdomain and found JBoss AS version 4.
  4. Used jexboss to test if the exploit was valid.
  5. Downloaded an exploit from exploit-db and executed it.

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.

The researcher found an old server program (JBoss) on a forgotten subdomain. That version had a known flaw that lets an attacker run their own commands on the machine. They used a ready-made tool to check and exploit it.

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 vishnuraj

View all

6 more disclosed reports, best first.

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.