Justdial
Breach Date
April 1, 2019
Records Affected
100,000,000
Verified
Yes
Source
wikipedia
Summary
In 2019, Justdial — India's largest local search and discovery platform with over 100 million users — was found to have an unprotected API endpoint that exposed the personal data of its entire user base. The vulnerability was discovered by independent security researcher Rajshekhar Rajaharia, who reported that the API returned sensitive user information without requiring any authentication or authorization.
The exposed data included names, email addresses, phone numbers, physical addresses, gender, dates of birth, and profile photos. The API could be queried with a simple phone number, returning the complete user profile associated with that number. This meant that anyone with basic technical knowledge could systematically harvest data on all 100 million Justdial users without any credentials or rate limiting.
When Rajaharia initially reported the vulnerability, Justdial publicly denied any data breach, stating that their systems were secure and no data had been compromised. However, after the report gained significant media attention and independent verification by journalists, Justdial acknowledged the issue and patched the API. The incident highlights a pattern common in the Indian tech ecosystem: rapid growth prioritized over security, inadequate API security practices, and a defensive response to responsible vulnerability disclosures.
Breach Details
- Breach Date
- April 1, 2019
- Records Affected
- 100,000,000
- Source
- Wikipedia
- Verified
- Verified
- Industry
- Technology
- Type
- Poor Security
Impact Analysis
Scale of Impact
- 100 million+ users had their personal data exposed through the unprotected API
- Justdial is India's largest local search engine, comparable to Yelp or Yellow Pages
- The platform had been collecting user data since its founding in 1996, meaning decades of accumulated personal information was at risk
- Users who had registered even briefly or used the service casually were exposed
Data Types Exposed
- Full names
- Email addresses
- Phone numbers (mobile and landline)
- Physical addresses
- Gender
- Dates of birth
- Profile photographs
- Usage history and preferences
Risk Assessment
| Risk Category | Severity | Rationale |
|---|---|---|
| Identity theft | High | Combination of name, DOB, address, and phone enables identity fraud |
| Phishing and social engineering | Critical | Complete user profiles enable highly targeted attacks |
| Phone-based scams | Critical | 100M+ phone numbers exposed in a market with high phone-scam prevalence |
| Stalking and harassment | High | Physical addresses combined with personal details |
| Credential stuffing | Medium | Email addresses usable for cross-platform attacks |
Downstream Effects
- Massive phishing risk: The combination of verified phone numbers, email addresses, and personal details enabled highly convincing phishing campaigns targeting Justdial users
- Phone scam exposure: India already faces a significant phone scam problem; the exposure of 100 million phone numbers with associated personal details created a goldmine for scammers
- Trust erosion: The incident damaged trust in India's growing tech sector and raised questions about data protection practices among Indian startups
- No user notification: There is no evidence that Justdial proactively notified affected users about the exposure, leaving 100 million people unable to take protective measures
- Regulatory gap: At the time of the breach, India lacked a comprehensive data protection law (the Personal Data Protection Bill was still under consideration), limiting legal recourse for affected users
Timeline
- 1996: Justdial founded by VSS Mani as a telephone-based local search service
- 2013: Justdial goes public on BSE and NSE stock exchanges
- 2019 (early): Security researcher Rajshekhar Rajaharia discovers that Justdial's API endpoints return full user profiles without authentication
- 2019: Rajaharia reports the vulnerability to Justdial and publicly discloses the issue after no adequate response
- 2019: Justdial publicly denies any data breach, claiming systems are secure
- 2019: Multiple media outlets independently verify the vulnerability; journalists demonstrate that user data is accessible via the unprotected API
- 2019: Justdial acknowledges the issue and patches the vulnerable API endpoints
- 2019: No formal data breach notification issued to affected users
- 2021: Reliance Retail acquires majority stake in Justdial for approximately $870 million
- 2023: India's Digital Personal Data Protection Act enacted, establishing a framework that would have applied to such incidents
Lessons Learned
1. APIs Are the Most Common Attack Surface — Secure Them
Justdial's API returned complete user profiles to unauthenticated requests. This is a textbook example of OWASP API Security Top 10 risk A2: Broken Authentication. Every API endpoint that returns user data must enforce authentication, authorization, and proper access controls. API security cannot be an afterthought — it must be designed in from the start.
2. Never Trust the Client — Implement Server-Side Validation
The vulnerability worked because the API trusted that requests came from legitimate Justdial applications. There was no server-side verification that the requester was authorized to access the requested data. Rate limiting, API keys, OAuth tokens, and request signing should all be implemented as defense-in-depth measures.
3. Denying a Breach Makes It Worse
Justdial's initial denial of the vulnerability — despite clear evidence — damaged their credibility more than the breach itself. When a security researcher reports a valid vulnerability with proof, the appropriate response is acknowledgment, triage, and remediation, not denial. Companies should have a responsible disclosure policy and treat researchers as allies, not adversaries.
4. Data Minimization Reduces Breach Impact
The API returned every field in a user's profile, including information that was not necessary for the requested service. Implementing data minimization — only returning the minimum data required for each API function — would have significantly reduced the impact even if the authentication bypass existed.
5. Regulatory Frameworks Drive Accountability
At the time of the Justdial exposure, India lacked a comprehensive data protection law. Without legal requirements for breach notification, security standards, or penalties for negligent data handling, companies face minimal consequences for poor security practices. India's 2023 Digital Personal Data Protection Act now addresses these gaps, but the Justdial incident illustrates why such frameworks are necessary.
6. Security Audits Must Include API Testing
Traditional web application security testing may miss API vulnerabilities if testing is focused on the web interface. Organizations must include dedicated API security testing in their security audit programs, using tools and methodologies specifically designed for API assessment.
Technical Details
Vulnerability Type
OWASP API Security Top 10 — A2:2019 Broken Authentication
The vulnerability was a missing authentication check on Justdial's API endpoints. The API was designed to serve Justdial's mobile applications and website, but the endpoints were publicly accessible without any form of authentication.
How the API Exposure Worked
- Endpoint Discovery: The API endpoints used by Justdial's mobile app were discoverable through basic traffic analysis (intercepting HTTP requests from the app)
- No Authentication Required: API requests did not require any authentication tokens, API keys, session cookies, or other credentials
- Phone Number as Lookup Key: The API accepted a phone number as input and returned the complete user profile associated with that number
- No Rate Limiting: There were no rate limits or request throttling, allowing automated mass harvesting of user data
- Complete Data Exposure: Each API response included all stored user fields — name, email, phone, address, gender, DOB, and photo
Attack Complexity
| Factor | Assessment |
|---|---|
| Technical skill required | Very low — basic HTTP requests |
| Tools needed | Any HTTP client (curl, Postman, browser) |
| Authentication bypass | None needed — authentication was absent |
| Data harvesting | Trivially automatable via scripting |
| Detection risk | Low — requests appeared as normal API traffic |
Scope of Exposure
The unprotected API effectively turned Justdial's entire user database into a publicly queryable directory. Given that a sequential or random phone number enumeration could reach the entire Indian mobile phone number space, the practical exposure was the complete user base.
Discovery and Disclosure
Security researcher Rajshekhar Rajaharia discovered the vulnerability during independent security research. His disclosure timeline:
- Discovered the unprotected API and verified the data exposure
- Reported the vulnerability to Justdial
- Justdial did not respond adequately
- Public disclosure via media reporting
- Independent verification by journalists
- Justdial initially denied, then acknowledged and patched
Remediation
After public pressure, Justdial implemented authentication requirements on the affected API endpoints. However, no public post-mortem or security audit results were released, and it remains unclear whether the exposed data was harvested by malicious actors during the exposure window.
Frequently Asked Questions
How many users were affected by the Justdial data exposure?
Over 100 million Justdial users had their personal data exposed through the unprotected API. This represented the platform's entire user base at the time of discovery in 2019.
What data was exposed?
The exposed data included full names, email addresses, phone numbers, physical addresses, gender, dates of birth, and profile photographs. The API returned complete user profiles when queried with a phone number.
Who discovered the vulnerability?
Independent security researcher Rajshekhar Rajaharia discovered the unprotected API. He reported the vulnerability to Justdial and, after receiving an inadequate response, disclosed it publicly through media channels.
Was this a hack or a data breach?
Technically, this was an API misconfiguration rather than a traditional hack. The data was openly accessible through the API without any authentication — no exploitation, credentials, or sophisticated techniques were needed. However, the result was the same: 100 million users' personal data was exposed to anyone who knew how to query the API.
Did Justdial notify affected users?
There is no evidence that Justdial proactively notified its users about the data exposure. The company initially denied the issue entirely. At the time, India lacked mandatory data breach notification laws.
Were there any legal consequences?
No known fines or legal penalties were imposed. At the time of the incident, India did not have a comprehensive data protection law. The Personal Data Protection Bill was under consideration, and the Digital Personal Data Protection Act was not enacted until 2023.
How long was the data exposed?
The exact duration of the exposure is unknown. The API vulnerability was discovered by a security researcher in 2019, but it is unclear when the API endpoints were first made accessible without authentication. It is possible the exposure existed for an extended period before discovery.
What should affected users do?
Users who had Justdial accounts should be vigilant about phishing attempts using their personal information, monitor their email and phone for suspicious contacts, use unique passwords across services, enable two-factor authentication where available, and be cautious about unsolicited calls or messages that reference personal details.
Protect Your Organization From Data Breaches
Our security experts can help you identify vulnerabilities and strengthen your defenses.