Skip to content
RCE Disclosed report Beginner

Unauth RCE on Jenkins Instance at https://█████████/

A Jenkins instance exposed its script console endpoint without authentication, allowing anyone to run arbitrary Groovy commands on the server. An attacker could therefore execute operating system commands and achieve remote code execution.

brbsainath Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 28 hours
  • Fixed in 4 days
  • Disclosed after 10 days

Description: Hi Team,

While Doing Recon on U.s Government Sites, I Found below asset Belongs to U.S Government (Please Check its SSL certificate to confirm or Please check attached POC Video) █████████

https://███/

Attacker can execute Command Injection without Authentication.

Impact

Unauth RCE

System Host(s)

███

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

  1. Navigate to https://███████/_script

  2. Please execute below commands to confirm Unauth RCE.

          Commands:  println "ls".execute().text
                                      println "whoami".execute().text
    

#POC

Please check Attached POC Video to follow steps (If Required)

██████

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by brbsainath. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 the Jenkins script console endpoint was exposed without any authentication or access restriction.

What the attacker needed

Network access to the Jenkins instance; no credentials needed

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.

Jenkins is a tool that automates building and testing software. It has a built-in page called the script console that lets administrators run code on the server. Here that page was reachable by anyone without logging in, so a stranger could run commands on the machine.

What is RCE?

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

More from U.S. Dept Of Defense

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.