Base alpha version code exposure
An open Jenkins instance exposed the complete source code and credentials for Zomato's Base alpha product, including database, SMTP, and SMS keys. An attacker could use these to take over the database and email systems and access the Android APK source.
- Fixed in 34 hours
- Paid in 10 months
- Disclosed after 32 days
Summary by the program
An alpha version of our Base product was exposed on a Jenkins server.
Thanks @n0rb3r7 for reporting this.
Summary by the researcher
During my reconnaissance, I discovered via a self-signed SSL certificate with Zomato listed as the organization name. Upon navigating to the server on port 80, I discovered a default Laravel installation. Curious if there was anything else running on the server, I ran a quick port scan at which time I discovered the alternate HTTP port 8081.
After navigating to port 8081, I discovered that there was a completely open Jenkins instance, which was authenticated to multiple Github accounts and included the complete Zomato base alpha version Android, Dashboard, and Laravel source code. Included in this source were the keys to a Zomato base alpha MySQL server, SMTP server, and SMS service.
The end result of this was a complete database and email takeover of the Zomato base alpba, as well as full access to the Zomato base alpha APK source code. @vinothzomato addressed this issue in a timely manner.
A special thanks to Zomato for retroactively rewarding this vuln! :)
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 an unauthenticated Jenkins instance was exposed on a non-standard port, allowing access to source code and credentials.
Impact
The exposure led to a complete database and email takeover of the Zomato base alpha, as well as full access to the Android APK source code.
What the attacker needed
Internet access to the server; no authentication required
The fix
The issue was addressed in a timely manner by Zomato.
How it was found
- Found a self-signed SSL certificate with Zomato as the organization name during reconnaissance.
- Navigated to the server on port 80 and saw a default Laravel installation.
- Ran a port scan and discovered an alternate HTTP port 8081.
- Navigated to port 8081 and found an open Jenkins instance with source code and credentials.
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.
Jenkins is a tool that automates building and testing software. If it is left open without a password, anyone can see the projects and secrets inside. Here, that meant the source code and passwords for a product were visible to anyone who found the server.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.