Therefore I reverse engineered two dating apps.

Therefore I reverse engineered two dating apps.

Photo and video clip drip through misconfigured S3 buckets

Typically for images or any other asserts, some form of Access Control List (ACL) could be in position. For assets such as for instance profile photos, a standard method of applying ACL will be:

The main element would act as a “password” to get into the file, in addition to password would simply be offered users who require usage of the image. When it comes to an app that is dating it is whoever the profile is presented to.

I’ve identified several misconfigured buckets that are s3 The League throughout the research. All images and videos are inadvertently made general general public, with metadata such as which user uploaded them when. Generally the software would obtain the pictures through Cloudfront, a CDN on top of this S3 buckets. Unfortunately the underlying S3 buckets are severely misconfigured.

Side note: as much as i can tell, the profile UUID is randomly produced server-side if the profile is established. In order that right part is not likely to be very easy to imagine. The filename is managed because of the customer; any filename is accepted by the server. In your client app it’s hardcoded to upload.jpg .

The seller has since disabled general public ListObjects. Nonetheless, we nevertheless think there must be some randomness within the key. A timestamp cannot act as key.

internet protocol address doxing through website link previews

Link preview is something that is difficult to get appropriate in a complete great deal of messaging apps. You will find typically three approaches for website website link previews:

The League utilizes recipient-side website link previews. Whenever an email includes a teen dating apps hyperlink to a outside image, the hyperlink is fetched on user’s unit as soon as the message is viewed. This could efficiently enable a malicious transmitter to submit an external image URL pointing to an assailant managed host, obtaining recipient’s ip once the message is exposed.

A much better solution may be simply to connect the image when you look at the message if it is delivered (sender-side preview), or have actually the server fetch the image and place it into the message (server-side preview). Server-side previews allows anti-abuse scanning that is additional. It may be a far better choice, yet still maybe perhaps maybe not bulletproof.

Zero-click session hijacking through talk

The software will attach the authorization sometimes header to needs which do not need verification, such as for instance Cloudfront GET demands. It will happily give fully out the bearer token in requests to outside domain names in some instances.

Those types of situations may be the outside image website link in chat messages. We know already the application utilizes link that is recipient-side, in addition to demand towards the outside resource is executed in recipient’s context. The authorization header is roofed within the GET demand to your outside image Address. So that the bearer token gets leaked towards the outside domain. Each time a sender that is malicious a graphic website website link pointing to an attacker managed host, not merely do they get recipient’s internet protocol address, however they additionally obtain victim’s session token. That is a critical vulnerability as it permits session hijacking.

Observe that unlike phishing, this assault will not need the target to click the website website website link. If the message containing the image website website website link is seen, the software immediately leaks the session token towards the attacker.

It appears to be a bug linked to the reuse of a okHttp client object that is global. It might be most readily useful if the designers make certain the application just attaches authorization bearer header in demands towards the League API.

Conclusions

I didn’t find any specially interesting vulnerabilities in CMB, but that doesn’t suggest CMB is more protected compared to League. (See Limitations and future research). I did so locate a few safety dilemmas within the League, none of that have been specially hard to learn or exploit. I suppose it truly is the typical errors individuals make over and over repeatedly. OWASP top anybody?

As customers we must be aware with which companies we trust with your information.

Vendor’s reaction

I did so get a prompt reaction from The League after delivering them a contact alerting them for the findings. The bucket that is s3 ended up being swiftly fixed. One other weaknesses had been patched or at the very least mitigated within a couple weeks.

I do believe startups could offer bug bounties certainly. It really is a gesture that is nice and much more significantly, platforms like HackerOne offer scientists a appropriate road to the disclosure of weaknesses. Regrettably neither of this two apps within the post has such system.

Restrictions and research that is future

This research is maybe perhaps not comprehensive, and may not be regarded as a safety review. All of the tests on this page had been done regarding the system IO degree, and almost no from the customer it self. Particularly, we did not test for remote rule execution or buffer overflow kind vulnerabilities. In future research, we’re able to look more in to the protection associated with the customer applications.

This may be completed with powerful analysis, utilizing techniques such as for instance:

redirect...