Distributed tracing tool Jaeger publicly available without any authentication
A Jaeger distributed tracing instance was publicly accessible without authentication, exposing internal service names and trace data. An attacker could view this information to learn about the internal architecture.
GitLab
Originally disclosed on GitLab
- Fixed in under an hour
- Disclosed after under an hour
HackerOne report #877039 by pesticide on 2020-05-18, assigned to @cmaxim:
Summary:
According to Jaeger docs Jaeger is a distributed tracing system released as open source by Uber Technologies. It is used for monitoring and troubleshooting microservices-based distributed systems, including:
- Distributed transaction monitoring
- Performance and latency optimization
- Root cause analysis
- Service dependency analysis
- Performance / latency optimization
URLs:
- [REDACTED]
- [REDACTED]
How i identified that whether these instances belongs to Gitlab or not?
-
Since these instances were running on Google Cloud therefore a
WHOISlookup will be of no use. I noticed that the "Service" menu had 2 servicesissues-servicerepos-service
which i could relate to Gitlab.
-
Another indication was when i queried a service (here is the deeplink of it http://35.244.215.108/trace/7b3db94448b0447b) i saw following:
[REDACTED]
Few screenshots:
[REDACTED]
[REDACTED]
Mitigation:
A nice article about how to protect Jaeger instances.
Humble Request:
This is my first report to Gitlab, if this instance does not belong to Gitlab or this is something which Gitlab does not want to fix then it will be really kind of you if you could give me the opportunity to Self Close this report as i am trying really hard to reach 500 rep. points. Thanks :)
Impact
Jaeger is a tool meant for internal use and must not be exposed publicly without authentication.
Attachments
Warning: Attachments received through HackerOne, please exercise caution!
[REDACTED] [REDACTED] [REDACTED]
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
What the attacker needed
Jaeger instance publicly accessible; no authentication required
The fix
The Jaeger instance should be protected with authentication, for example using an OAuth sidecar proxy as described in the linked article.
How it was found
- Find Jaeger instances running on Google Cloud.
- Check the Service menu and see services named issues-service and repos-service.
- Query a service and view a trace via its deeplink.
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.
Jaeger is a tool that helps developers see how requests flow between different parts of a large application. It is meant to be used only inside a company's private network. Here, it was left open on the internet with no password, so anyone could look at the internal details it recorded.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.