[███████] Information disclosure due unauthenticated access to APIs and system browser functions
A Jira Server instance exposed several REST API endpoints to unauthenticated users, leaking project categories, resolutions and usernames. The reporter also claims that chaining this with a second, unspecified flaw could let an unauthenticated attacker run arbitrary code on an internal server.
- Triaged in 4 days
- Fixed in 50 days
- Disclosed after 2 months
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)
CVE Numbers
CVE-2020-14179
Steps to Reproduce
- Navigate visit the target scope is https://█████████/secure/JiraCreditsPage!default.jspa
- And now we found a directory is jira sensitive
- Lets send a curl request to the
?maxResults=1000endpoint, 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/menu/latest/admin HTTP/1.1
Host: ███
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
sec-ch-ua-platform: "Mac OS"
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
- https://██████/secure/JiraCreditsPage!default.jspa
- https://███████/rest/menu/latest/admin?maxResults=1000
Suggested Mitigation/Remediation Actions
Workaround
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.
Refferences https://hackerone.com/reports/994612 JRASERVER-73060
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 Jira REST endpoints for project categories, resolutions and the admin menu were reachable anonymously because anonymous access to them was not restricted by default.
Impact
An unauthenticated attacker could read project categories, resolutions and usernames; the report also claims a chain could lead to arbitrary code execution on an internal server, but gives no details of that second flaw.
What the attacker needed
Network access to the Jira instance; no account needed
How it was found
- Visit the Jira credits page on the target to confirm the instance is reachable.
- Send a request to the admin menu REST endpoint with a large maxResults value.
- The report states that project categories, resolutions and usernames are exposed without authentication.
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 answered requests from anyone, without asking for a login. Those answers included lists of project categories, issue resolutions and usernames. The reporter says that combining this with another bug could go further and run code on a server, but the report does not show how.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.