# HackerOne Jira integration plugin Leaked JWT to unauthorized jira users

HackerOne-for-Jira plugin issued a claim JWT to any Jira user regardless of role, letting a Basic user link the victim's Jira instance to their own HackerOne account.

- Payout: $3,000
- Severity: medium
- Program: HackerOne
- Found by: updatelap
- Disclosed: 2021-04-01
- Write-up quality: 6/10
- Original: https://hackerone.com/reports/1103582
- Library page: https://bugbountylibrary.com/r/h1%3A1103582
- Tags: area:web domain:web impact:ato impact:data-leak impact:integrity kind:bounty platform:hackerone sev:medium tech:jwt technique:recon vuln:access-control vuln:auth-bypass

**Target:** HackerOne for Jira Atlassian Connect plugin (get-started servlet / claim-app endpoint)
**Root cause:** The plugin's get-started servlet generated and exposed the HackerOne claim JWT without checking the requesting Jira user's role/permissions, so low-privileged users could obtain the integration token.
**Steps:**
1. Create a Jira Cloud instance and add a user with Basic role; admin creates 8 projects, 5 restricted to admin.
2. Admin installs HackerOne for Jira app.
3. As the Basic user, visit `{BaseUrl}/plugins/servlet/ac/com.hackerone/get-started-with-hackerone-on-jira`.
4. Click 'click here' to receive `https://hackerone.com/apps/atlassian/claim-app?jwt=<TOKEN>`.
5. Use the JWT to link the victim Jira instance to the attacker's HackerOne account.
6. Create issues in private projects / link private H1 reports.
**How found:** Reasoned from Jira's role model (Basic vs Site admin) that app configuration should be admin-only, then tested whether the plugin enforced that check before issuing the JWT — it did not.
**Exploitation:** A Basic-role Jira user navigates to the plugin servlet, obtains the claim JWT intended for admins, and redeems it at hackerone.com/apps/atlassian/claim-app to bind the victim Jira instance to their own HackerOne account, gaining access to private project names and ability to create/link issues.
**Escalation:** Binding the instance to attacker's H1 account also blocks the legitimate admin from linking and enables injecting comments on private issues and linking private Jira issues to attacker reports.
**Insight:** For Atlassian Connect apps, test whether servlet/iframe endpoints that mint integration tokens enforce Jira role checks, not just whether the UI hides the config page; low-priv users can hit the servlet URL directly.

