Information disclosure on sim.starbucks.com
An internet-facing JIRA server running an outdated version was affected by two known vulnerabilities. An unauthenticated attacker could use them to check whether particular usernames exist and to read a build configuration file that leaked server information.
- Triaged in 35 hours
- Fixed in 3 months
- Disclosed after 4 months
Summary by the program
johnstone discovered an outdated and publicly-exposed JIRA instance that was vulnerable to two known CVEs: • CVE-2019-3403: allowing an unauthenticated attacker to enumerate whether a user exists on the Jira or not • CVE-2019-8442: exposing pom.xml
@johnstone — thank you for reporting this vulnerability and confirming the resolution.
The report
Description: Hi,there.I found the sim.starbucks.com host deployed the jira server which version is 7.9.2,there is many public vulnerability on this low version.
Information disclosured vulnerability 1.(CVE-2019-3403)https://jira.atlassian.com/browse/JRASERVER-69242 visit the URL address,you can check the user whether is exist on this host
https://sim.starbucks.com/rest/api/2/user/picker?query=admin
So the attacker can enumerate all existing users on this jira server.
2.(CVE-2019-8442)https://jira.atlassian.com/browse/JRASERVER-69241 visit the URL address,the server will leaking some server's information
https://sim.starbucks.com/s/thiscanbeanythingyouwant/_/META-INF/maven/com.atlassian.jira/atlassian-jira-webapp/pom.xml
Recommendations for fix
updated the jira server's version or fixed
PS:Can starbucks's team check my other report #533836 status?the report is not updated for too long. Thank you.looking forward for your reply. Best regards! @johnstone
Impact
Leaking some information about the server
Context
Starbucks runs a host at sim.starbucks.com. According to the report, that host was running an Atlassian JIRA server, version 7.9.2. JIRA is the issue tracker; its REST API and its bundled web application expose a number of endpoints that are meant to be reachable by authenticated users, and some that should not reveal anything to an unauthenticated visitor.
The report covers two information disclosure issues on that instance, both tied to publicly documented CVEs:
| CVE | Atlassian advisory | What it exposes |
|---|---|---|
| CVE-2019-3403 | JRASERVER-69242 | Whether a given username exists on the JIRA instance |
| CVE-2019-8442 | JRASERVER-69241 | The contents of pom.xml from the web application |
The program's summary describes the instance as outdated and publicly exposed, and notes that the researcher confirmed the resolution.
Setup
No accounts, roles or special tooling are described. Both issues are reachable unauthenticated: the researcher simply visits two URLs on the target host. The only precondition stated is that the host is running JIRA 7.9.2, which the researcher identifies as a low version with many public vulnerabilities.
Finding it
The researcher noticed that sim.starbucks.com was deployed with a JIRA server whose version is 7.9.2. Because that version is old, known public vulnerabilities apply to it. Two of them are information disclosure issues, and the researcher verified both against the live host.
Exploitation
Step 1: enumerate existing users (CVE-2019-3403)
The first issue is the user picker endpoint. The researcher requests it with a query parameter set to a candidate username:
https://sim.starbucks.com/rest/api/2/user/picker?query=admin
The researcher requests the user picker endpoint with a candidate username; the report says visiting it lets you check whether a user exists on the host. By changing the query value, an attacker can test candidate usernames one at a time and thereby enumerate all existing users on the JIRA server. The report does not include the response body, so the exact shape of the answer is not shown here; the observable behaviour is a difference between a hit and a miss.
Step 2: read pom.xml (CVE-2019-8442)
The second issue exposes the application's pom.xml, a Maven build file that should not be publicly served. The researcher requests:
https://sim.starbucks.com/s/thiscanbeanythingyouwant/_/META-INF/maven/com.atlassian.jira/atlassian-jira-webapp/pom.xml
The segment thiscanbeanythingyouwant is a placeholder: the researcher notes it can be anything. The rest of the path points at META-INF/maven/com.atlassian.jira/atlassian-jira-webapp/pom.xml, the Maven project file for the JIRA web application. The report says visiting this URL causes the server to leak some of its information. The report does not include the returned file contents.
Root cause
Both issues are version-level defects in JIRA 7.9.2 rather than mistakes in Starbucks' own code. CVE-2019-3403 is a user enumeration flaw in the user picker: the endpoint gives an unauthenticated caller enough of a signal to distinguish existing users from non-existent ones. CVE-2019-8442 exposes the application's pom.xml, a file that should not be publicly served.
The existing defence that should have stopped this is patching: the instance was left on an old release with known public vulnerabilities. The report does not describe any additional control, such as restricting access to the host, that was in place.
Impact
As the researcher puts it, the issues leak some information about the server. An unauthenticated attacker can check whether usernames exist on the JIRA instance and can cause the server to leak some of its information. The program rated the report low severity. The report does not describe any path from these disclosures to authentication bypass or access to issue data.
Fix
The researcher's recommendation is to update the JIRA server's version, or otherwise fix the issues.
Variants to test
- User enumeration through other JIRA endpoints. Try the user picker with different
queryvalues, and compare with other user-facing endpoints that accept a username. A positive result is a consistent, unauthenticated difference in the response for existing versus non-existing users. - Path traversal to other build and metadata files. Keep the placeholder segment and swap the tail of the path for other files under
META-INFor the application root. A positive result is any file content returned that should not be publicly served. - Version fingerprinting of JIRA hosts. Identify the JIRA version from public pages or static resources, then check it against Atlassian's published CVEs. A positive result is a version below the fixed release for a given advisory, confirmed by reproducing the advisory's request.
Hunting notes
This kind of bug hides on forgotten or secondary hosts: a subdomain running an issue tracker that nobody has patched. During recon, the signals are a JIRA login page or REST API on a host outside the main application, and a version string that maps to known CVEs. The researcher gave concrete URLs and linked each issue to its Atlassian advisory.
What happened, in plain words
Starbucks runs a website at sim.starbucks.com. According to the report, that website was running a piece of software called Atlassian JIRA, version 7.9.2. JIRA is an issue tracker: a program that teams use to keep lists of tasks, bugs and support tickets, a bit like a shared to-do list for a whole company.
JIRA is not a single page. It is a whole application with many addresses (URLs) that answer different requests, and some of those addresses are meant only for people who have logged in. The researcher found two known JIRA issues on the host, both reachable without a login.
Both problems are not unique to Starbucks. They are known, publicly documented bugs in JIRA itself, each with an official identifier called a CVE. A CVE is a catalogue number for a publicly known security flaw, so that everyone can talk about the same bug unambiguously. The two in this report are:
| CVE | Atlassian advisory | What it exposes |
|---|---|---|
| CVE-2019-3403 | JRASERVER-69242 | Whether a given username exists on the JIRA instance |
| CVE-2019-8442 | JRASERVER-69241 | The contents of pom.xml from the web application |
The word "advisory" here means Atlassian's own public notice describing the bug. The program's summary describes the instance as outdated and publicly exposed, and notes that the researcher confirmed the resolution.
Setup
The report describes no accounts, no special roles and no special tools. Both problems can be reached without logging in: the researcher simply visits two web addresses on the target site. The only precondition stated is that the host is running JIRA 7.9.2, which the researcher identifies as a low (that is, old) version with many public vulnerabilities.
Finding it
The researcher noticed that sim.starbucks.com was deployed with a JIRA server whose version is 7.9.2. Because that version is old, known public vulnerabilities apply to it. Two of them are information disclosure issues, and the researcher verified both against the live host.
"Information disclosure" is the name for a whole family of bugs where a system reveals something it should not: a file, a list of names, a version number, an internal detail. Nothing is broken or taken over; the harm is that knowledge leaks out. A useful comparison is a receptionist who, instead of saying "I cannot tell you whether that person works here", answers "no such employee" or "yes, they are on the third floor". Each answer is small, but together they let a stranger map the building.
Exploitation
Step 1: enumerate existing users (CVE-2019-3403)
The first issue is the user picker endpoint. An endpoint is one specific address inside a web application that does one specific job, like a particular counter in a large office. The user picker is the feature that helps you find a colleague when you want to assign them a ticket: you start typing a name and it suggests matching users.
The researcher requests it with a query parameter set to a candidate username:
https://sim.starbucks.com/rest/api/2/user/picker?query=admin
Line by line, in plain words:
https://is the normal, encrypted way a browser talks to a website.sim.starbucks.comis the host, the specific machine (or the name that points to it) belonging to Starbucks./rest/api/2/user/pickeris the path, the part that says which feature inside JIRA is being asked. Therest/apipart means this is JIRA's API. An API is a way for programs to talk to a service directly, without the normal web pages: instead of a page designed for human eyes, the service answers with structured data. Think of it as the service counter at the back of a shop, where you ask for one specific item rather than browsing the shelves.?query=adminis the question being asked. The?starts the parameters, andquery=adminsays "find users matching the text admin".
The researcher requests the user picker endpoint with a candidate username; the report says visiting it lets you check whether a user exists on the host. "Unauthenticated" simply means the request carries no proof of who is asking: no login, no session, nothing. By changing the query value, an attacker can test candidate usernames one at a time and thereby enumerate all existing users on the JIRA server. "Enumerate" means to walk through a list systematically, one entry after another, and record which ones are real. The report does not include the response body, so the exact shape of the answer is not shown here; the observable behaviour is a difference between a hit and a miss.
Why do this step at all? Because a list of valid usernames is the raw material for later attacks. If you know which accounts exist, you can aim password guessing at real accounts instead of wasting attempts on names that do not exist, and you can craft convincing messages that address a real employee. The bug itself only answers yes or no, but repeated yes-or-no answers add up to a map of the organisation.
Step 2: read pom.xml (CVE-2019-8442)
The second issue exposes the application's pom.xml, a Maven build file that should not be publicly served. Maven is a tool used to build Java software; it keeps a file called pom.xml that describes the project, including which libraries it depends on and at which versions. That file is meant for the developers building the software, not for visitors of the website.
The researcher requests:
https://sim.starbucks.com/s/thiscanbeanythingyouwant/_/META-INF/maven/com.atlassian.jira/atlassian-jira-webapp/pom.xml
Line by line, in plain words:
https://sim.starbucks.comis the same host as before./s/thiscanbeanythingyouwant/_/is a path fragment. The segmentthiscanbeanythingyouwantis a placeholder: the researcher notes it can be anything. "Path traversal" is the trick of building a web address so that the server ends up reading a file from a place it did not intend to expose, a little like convincing a filing clerk to fetch a folder from the basement by describing the route to it rather than naming the folder.META-INF/maven/com.atlassian.jira/atlassian-jira-webapp/pom.xmlis the actual file being asked for: the Maven project file for the JIRA web application.META-INFis a conventional folder inside Java applications that holds metadata about the application itself.
The report says visiting this URL causes the server to leak some of its information. The report does not include the returned file contents.
Why does this matter? Because a build file describes the insides of the application: which components it is made of and at which versions. That knowledge helps an attacker decide which other known bugs might apply, without having to guess. It is the difference between trying keys at random on a door and being handed a list of the locks in the building.
Root cause
Both issues are version-level defects in JIRA 7.9.2 rather than mistakes in Starbucks' own code. CVE-2019-3403 is a user enumeration flaw in the user picker: the endpoint gives an unauthenticated caller enough of a signal to distinguish existing users from non-existent ones. CVE-2019-8442 exposes the application's pom.xml, a file that should not be publicly served.
The existing defence that should have stopped this is patching: the instance was left on an old release with known public vulnerabilities. "Patching" means installing the vendor's updated version, which contains the fix. The report does not describe any additional control, such as restricting access to the host, that was in place.
Impact
As the researcher puts it, the issues leak some information about the server. An unauthenticated attacker can check whether usernames exist on the JIRA instance and can cause the server to leak some of its information. "Social engineering" means manipulating people rather than machines: for example, writing to a known employee in a way that sounds internal. The program rated the report low severity. The report does not describe any path from these disclosures to authentication bypass or access to issue data.
Fix
The researcher's recommendation is to update the JIRA server's version, or otherwise fix the issues.
Variants to test
- User enumeration through other JIRA endpoints. Try the user picker with different
queryvalues, and compare with other user-facing endpoints that accept a username. A positive result is a consistent, unauthenticated difference in the response for existing versus non-existing users. - Path traversal to other build and metadata files. Keep the placeholder segment and swap the tail of the path for other files under
META-INFor the application root. A positive result is any file content returned that should not be publicly served. - Version fingerprinting of JIRA hosts. Identify the JIRA version from public pages or static resources, then check it against Atlassian's published CVEs. "Fingerprinting" means working out which software and which version is running from clues it leaves in public view. A positive result is a version below the fixed release for a given advisory, confirmed by reproducing the advisory's request.
Hunting notes
This kind of bug hides on forgotten or secondary hosts: a subdomain running an issue tracker that nobody has patched. During recon, the signals are a JIRA login page or REST API on a host outside the main application, and a version string that maps to known CVEs. "Recon" (reconnaissance) is the early stage of looking around a target to see what is there. The researcher gave concrete URLs and linked each issue to its Atlassian advisory.
Glossary
- API: a way for programs to talk to a service directly, receiving structured data instead of a page designed for people.
- Advisory: a vendor's public notice describing a security flaw and its fix.
- Atlassian JIRA: an issue tracker, software teams use to record and follow tasks, bugs and tickets.
- Authentication / unauthenticated: proving who you are (usually by logging in); an unauthenticated request carries no such proof.
- CVE: a public catalogue number for a known security vulnerability, so everyone can refer to the same bug.
- Endpoint: one specific address inside a web application that performs one specific job.
- Enumerate: to walk through a list systematically, one entry at a time, recording which entries are real.
- Fingerprinting: working out which software and version is running from clues left in public view.
- Host: the machine, or the name pointing to it, that serves a website.
- Information disclosure: a class of bug where a system reveals data it should have kept private.
- Maven: a tool for building Java software, which keeps a
pom.xmlfile describing the project and its dependencies. - META-INF: a conventional folder inside Java applications holding metadata about the application.
- Parameter: the part of a URL after
?that passes a value to the server, such asquery=admin. - Patching: installing a vendor's updated version of software, which contains fixes for known bugs.
- Path: the part of a URL that says which feature or file inside the site is being requested.
- Path traversal: crafting a request so the server reads a file from a location it did not intend to expose.
pom.xml: the Maven project file, listing the project's components and their versions.- Recon (reconnaissance): the early stage of exploring a target to see what software and services it runs.
- REST API: a style of API organised around addresses (URLs) and standard request types, common in web services.
- Severity: a rating of how serious a vulnerability is, here rated low by the program.
- Social engineering: manipulating people rather than machines, for example by writing convincingly as an insider.
- User picker: the JIRA feature that suggests matching users when you type a name, used to assign tickets.
- Vulnerability: a weakness in software that can be used to make it behave in a way its makers did not intend.