The screenshot that is following an HTTP GET demand containing the ultimate XSS payload (part parameter):
The event produces A api call to the host. UsersвЂ™ be2 profile cookies are provided for the host because the XSS payload is executed into the context of this applicationвЂ™s WebView.
The host responds having A json that is vast the usersвЂ™ id therefore the verification token too:
An HTTP is created by the function request endpoint.
On the basis of the information exfiltrated within the steal_token function, the demand will be delivered using the verification token while the userвЂ™s id.
The host reacts with the information about the victimвЂ™s profile, including email, intimate orientation, height, family members status, etc.
The big event produces a POST request into the attackerвЂ™s host containing all the details retrieved in the function that is previous (steal_token and steal_data functions).
The after screenshot shows an HTTP POST demand provided for the attackerвЂ™s host. The demand human anatomy contains all the victimвЂ™s delicate information:
An attacker can perform actions such as forward messages and alter profile data because of the information exfiltrated when you look at the function that is steal_token
Note: An attacker cannot perform complete account takeover considering that the snacks are protected with HTTPOnly.
the knowledge exfiltrated into the steal_token function:
Note: An attacker cannot perform account that is full because the snacks are protected with HTTPOnly.
for the duration of the research, we’ve discovered that the CORS policy regarding the API host api.OkCupid.com isn’t configured precisely and any beginning can deliver needs towards the host and read itsвЂ™ reactions. The request that is following a demand delivered the API host through the beginning
The host doesn’t correctly validate the foundation and reacts because of the required information. Furthermore, the host reaction contains Access-Control-Allow-Origin: and Access-Control-Allow-Credentials: real headers:
As of this true point on, we recognized that people can deliver needs to the API host from our domain without having to be obstructed by the CORS policy.
Once a target is authenticated on OkCupid browsing and application towards the attackerвЂ™s internet application, an HTTP GET demand is provided for containing the victimвЂ™s snacks. The serverвЂ™s reaction has A json that is vast containing the victimвЂ™s verification token and also the victimвЂ™s user_id.
We’re able to find more helpful data in the bootstrap API endpoint вЂ“ sensitive and painful API endpoints when you look at the API host:
The after screenshot shows sensitive and painful PII data exfiltration from the /profile/ API endpoint, utilising the victimвЂ™s user_id plus the access_token:
The screenshot that is following exfiltration associated with the victimвЂ™s communications through the /1/messages/ API endpoint, with the victimвЂ™s user_id therefore the access_token:
The field of online-dating apps is rolling out quickly across the years, and matured to where it is at today utilizing the transformation up to a electronic globe, particularly in the past 6 months вЂ“ considering that the outbreak of Coronavirus around the world. The вЂњnew normalвЂќ habits such as as вЂњsocial distancingвЂќ have actually forced the dating globe to entirely depend on electronic tools for help.
The study introduced right here shows the potential risks connected with one of several longest-established & most apps that are popular its sector. The serious requirement for privacy and information safety becomes much more important whenever a great deal personal and intimate information being stored, handled and analyzed within an application. The application and platform is made to create individuals together, but needless to say where people get, crooks will observe, hunting for simple pickings.