exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Grindr 2.1.1 Breach Attack

Grindr 2.1.1 Breach Attack
Posted May 7, 2015
Authored by Benjamin Kunz Mejri, Vulnerability Laboratory | Site vulnerability-lab.com

Grindr version 2.1.1 has been found susceptible to the breach attack.

tags | exploit
SHA-256 | c290a215a6fb335ae34ca6896d60242350ccf436e31821e5607aab4bf2f0074e

Grindr 2.1.1 Breach Attack

Change Mirror Download
Document Title:
===============
Grindr v2.1.1 iOS & Account System - Breach Attack Vulnerability


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1420


Release Date:
=============
2015-05-03


Vulnerability Laboratory ID (VL-ID):
====================================
1420


Common Vulnerability Scoring System:
====================================
6.7


Product & Service Introduction:
===============================
Grindr, which first launched in 2009, has exploded into the largest and most popular all-male location-based social network out there.
With more than 5 million guys in 192 countries around the world -- and approximately 10,000 more new users downloading the app
every day -- you’ll always find a new date, buddy, or friend on Grindr. Grindr is a simple app that uses your mobile device’s
location-based services to show you the guys closest to you who are also on Grindr. How much of your info they see is
entirely your call.

(Copy of the Vendor Homepage: http://grindr.com/learn-more )


Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered the well known Breach Attack issue in the official Grindr v2.1.1 iOS mobile application and connected account system.


Vulnerability Disclosure Timeline:
==================================
2015-01-23: Researcher Notification & Coordination (Benjamin Kunz Mejri - Evolution Security)
2015-01-23: Vendor Notification (Grinder - Bug Bounty Program)
2015-02-12: Vendor Response/Feedback (Grinder - Bug Bounty Program)
2015-04-01: Vendor Fix/Patch (Grindr Developer Team - Reward: x & Manager: x)
2015-05-04: Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Exploitation Technique:
=======================
Remote


Severity Level:
===============
High


Technical Details & Description:
================================
The grindr v2.1.1 & connected account system is vulnerable to the famous `breach attack`. Remote and local attackers can leverage data leaked by compression to recover targeted sections of the plain-text, inject partial plain-text into application-side or client-side victim requests or aeasure the data size of encrypted traffic of the mobile application and connected account system. The following conditions must match to become a target of the issue ...

- Become served from a server that uses HTTP-level compression
- Reflection of user-inputs in HTTP responses (context body)
- Reflect a secret data (token, csrf-x) in HTTP response bodies

The vulnerability affects the ./user module of the server online-service. The following issues are matching to grant the successful exploitation ...

- We verified that the page content is served via HTTPS protocol
- We verified that the server is using the HTTP-level compression
- We verified that URL encoded GET input locale was reflected into the HTTP response context body
- We verified that the HTTP response contains in the body a secret token named authenticity_token that is already known as broken of the reports due to the pentest


Proof of Concept (PoC):
=======================
--- PoC Session Logs ---
Request
POST /users?locale=en_997546 HTTP/1.1
Content-Length: 235
Content-Type: application/x-www-form-urlencoded
Referer: https://account.grindr.com
Cookie: _primus-web_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJThjODcyYjAyMmFjZDc2NWZkOTk2OGVjYWY2Y2M1ZmYwBjsAVEkiEF9jc3JmX3Rv
a2VuBjsARkkiMTRuTzd2WEpwRGtnNjNnNk9rVWFoNXVGbjdJV0NkU3ZsU21iRURtMG5SbE09BjsARkkiCmZsYXNoBjsARm86JUFjdGlvbkR
pc3BhdGNoOjpGbGFzaDo6Rmxhc2hIYXNoCToKQHVzZWRvOghTZXQGOgpAaGFzaHsGOgplcnJvclQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOw
pJIj9Zb3UgdHlwZWQgdGhlIENBUFRDSEEgd29yZHMgaW5jb3JyZWN0bHkuIFBsZWFzZSB0cnkgYWdhaW4uBjsAVDoJQG5vd286JEFjdGlvb
kRpc3BhdGNoOjpGbGFzaDo6Rmxhc2hOb3cGOgtAZmxhc2hACw%3D%3D--5f136cf6ae9f490b9ef2d65424bce34afeb59be7
Host: account.grindr.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
authenticity_token=4nO7vXJpDkg63g6OkUah5uFn7IWCdSvlSmbEDm0nRlM%3d&commit=Create%20Account&opt_in=true
&recaptcha_response_field=1&user%5bemail%5d=sample%40email.tst&user%5bpassword%5d=g00dPa%24%24w0rD&user%5bprofileId%5d=&utf8=%e2%9c%93

Response
HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Content-Type: text/html; charset=utf-8
Date: Fri, 23 Jan 2015 19:23:31 GMT
ETag: "7d2e9f335d5d83fea93c15bcb81eea84"
Server: nginx/1.2.3 + Phusion Passenger 3.0.17 (mod_rails/mod_rack)
Status: 200
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.17
X-Rack-Cache: invalidate, pass
X-Request-Id: 89fc8be001a8329aec428209c08529ab
X-Runtime: 0.175325
X-UA-Compatible: IE=Edge,chrome=1
Content-Length: 4425
Connection: keep-alive
Original-Content-Encoding: gzip


Reference(s):
https://account.grindr.com
http://breachattack.com/


Solution - Fix & Patch:
=======================
Disabling the HTTP protocol compression
Separating secrets from user input in the application
Randomizing of secrets in separate request
Masking of secrets (XORing)
Protecting the vulnerable pages with CSRF issues by usage of a secure token
Length hiding by adding own random numbers of bytes to the responses itself
Rate-limiting the requests to prevent


Security Risk:
==============
The security risk of the Breach Attack issue in the iOS application that is connected to the account system is estimated as high. (CVSS 6.7)


Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm@evolution-sec.com) [www.vulnerability-lab.com]


Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either expressed
or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers are not liable
in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab
or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for
consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any vendor licenses,
policies, deface websites, hack into databases or trade with fraud/stolen material.

Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com
Section: magazine.vulnerability-db.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register/

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to
electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by
Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website
is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact
(admin@vulnerability-lab.com or research@vulnerability-lab.com) to get a permission.

Copyright © 2015 | Vulnerability Laboratory - [Evolution Security GmbH]™



--
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com
CONTACT: research@vulnerability-lab.com
PGP KEY: http://www.vulnerability-lab.com/keys/admin@vulnerability-lab.com%280x198E9928%29.txt

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close