Skip to content
Info disclosure Write-up Beginner

How I Found an Unauthenticated Jira API Endpoint Leaking Internal

An unauthenticated Jira REST API endpoint exposed internal system metadata, including a cloud tenancy URL, a Git commit hash, and build details. An attacker could use this information for reconnaissance and to craft more convincing phishing attacks, especially since a trusted login domain could redirect to the exposed endpoint.

Dipanshu Chhanikar Follow

Published on medium.com

During a recent bug bounty engagement, I discovered a critical information disclosure on a company’s public-facing Jira ServiceDesk instance. A misconfigured REST API endpoint was leaking sensitive internal system metadata to any unauthenticated user on the internet.

Dipanshu Chhanikar, on medium.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

Impact

The leaked metadata could aid attackers in infrastructure mapping, version fingerprinting, and crafting convincing phishing campaigns, though the report notes it was rated P3 because it could not be chained with another vulnerability for higher impact.

What the attacker needed

None

The fix

The report recommends restricting anonymous access to the API endpoints, adding a WAF rule, auditing tenant settings, and hardening redirects to allow only safe destinations.

How it was found

  1. Send an unauthenticated request to the Jira serverInfo endpoint.
  2. Observe the JSON response containing internal metadata.
  3. Craft a request to the login page with a return_to parameter pointing to the exposed endpoint.
  4. Confirm the login page issues a redirect to the target endpoint.

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.

A company's Jira support system had a public web address that, when visited, returned private details about their internal setup without asking for a password. This included things like the exact version of the software and a code identifier, which could help an attacker pretend to be the company or find known weaknesses.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Dipanshu Chhanikar

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.