Skip to content
Info disclosure Disclosed report Beginner CVE-2020-14179

[U.S. Air Force] Information disclosure due unauthenticated access to APIs and system browser functions

Unauthenticated access to several Jira REST API endpoints exposed sensitive information such as project categories, resolutions, and usernames. An attacker could retrieve this data without logging in, and the report claims a chain with another vulnerability could allow arbitrary code execution on an internal server.

hackeronanywhere Follow

Originally disclosed on HackerOne

  • Triaged in 5 hours
  • Fixed in 15 days
  • Disclosed after 23 days

Description: Multiple information exposure vulnerabilites were identified in a Jira Server instance (unauthenticated access to APIs and system browser functions). This report describes a combination of two separate vulnerabilities in two separate services This chain of vulnerabilities allows unauthenticated attacker to run arbitrary code on a server inside the company's internal network. the vulnerable registered as references JRASERVER-73060

References

https://jira.atlassian.com/browse/JRASERVER-73060 https://nvd.nist.gov/vuln/detail/CVE-2020-14179

Impact

Unauthorised access and the data should not be visible. Project categories, resolutions, and usernames are listed even if the API is not authenticated

System Host(s)

███

Affected Product(s) and Version(s)

https://██████/rest/menu/latest/admin

CVE Numbers

CVE-2020-14179

Steps to Reproduce

  1. Navigate visit the target scope is https://████//rest/menu/latest/admin
  2. And now we found a directory is jira sensitive
  3. You can used recon-tool for finding sensitive directory
  4. Lets send a curl request to the ?maxResults=1000 endpoint, as shown below. In the request, point the post request to the server address you want to send the request to:

Here's the HTTP Parameter request that the issue:

GET /rest/api/2/projectCategory?maxResults=1000 HTTP/1.1
Host: ████████
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96"
Accept: application/json, text/plain, */*
sec-ch-ua-mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
sec-ch-ua-platform: "Mac OS"
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Accept-Language: en-US,en;q=0.9,fi;q=0.8
JavaScript
{
      "self":"https://█████/rest/api/2/projectCategory/10000",
      "id":"10000",
      "description":"Used by the broader DoD/IC for collaborative development.",
      "name":"Community Collaboration"
   }
][
   {
      "key":"admin",
      "link":"https://█████████/secure/project/BrowseProjects.jspa?s=view_projects",
      "label":"Jira administration",
      "tooltip":"",
      "local":true,
      "self":true,
      "applicationType":"jira"
   },
   {
      "key":"admin",
      "link":"https://████████/admin/console.action",
      "label":"Confluence administration",
      "tooltip":"",
      "local":false,
      "self":false,
      "applicationType":"confluence"
   }
  • https://█████/rest/menu/latest/admin?maxResults=1000
  • https://██████/rest/api/2/projectCategory?maxResults=1000
  • https://███/rest/api/2/resolution?maxResults=1000

Suggested Mitigation/Remediation Actions

Anonymous access to endpoints listed below is restricted starting Jira 9.0. On future Jira 8.x releases and all LTS releases it is possible to restrict anonymous access with feature flags. On Jira 8.x to restrict anonymous access to the endpoint you need to disable feature flag aka provide <feature.flag>.disabled On Jira 9.0 you need to enable the same feature flag aka provide <feature.flag>.enabled

You can use given feature flags: /rest/api/2/projectCategory - (Anonymous access disabled completely) /rest/api/2/resolution - (Anonymous access blocked only when there is no projects available for anonymous users) /rest/menu/latest/admin - There is currently no feature flag to disable anonymous access, please check linked ticket in "duplicates by" to track this problem.

The original report as published on HackerOne, by hackeronanywhere. 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 missing authentication checks on specific Jira REST API endpoints, allowing anonymous users to access data that should require login.

Impact

An unauthenticated attacker could access sensitive project and user information; the report also claims a chain could lead to arbitrary code execution, but no details of that chain are provided.

What the attacker needed

Target runs vulnerable Jira Server version; No authentication required

The fix

Anonymous access to the affected endpoints should be restricted using feature flags as described, with full restriction available in Jira 9.0.

How it was found

  1. Visit the target Jira instance's admin menu endpoint.
  2. Identify sensitive directories using reconnaissance tools.
  3. Send a request to the project category API with a large maxResults parameter.
  4. Observe the returned project category and administration information.

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.

Some web addresses on a Jira server returned private information without asking for a password. Anyone who knew or guessed those addresses could read details about projects and users that should have been hidden.

What is Info disclosure?

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

More by hackeronanywhere

View all

5 more disclosed reports, best first.

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.

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.