Code Monkey home page Code Monkey logo

gameloop-cve's Introduction

Multiple vulnerabilities in Tencent Gameloop - privilege escalation, remote code execution

CVEID Name of the affected product(s) and version(s) Problem type
CVE-2020-29008 Tencent Gameloop (all versions) CWE-284: Improper Access Control
CVE-2020-29009 Tencent Gameloop (all versions prior to 3.21.736.100) CWE-284: Improper Access Control

Summary

Gameloop is an Android emulator released by Tencent. During our tests, we have identified multiple vulnerabilitieswhich can lead to code execution and privilege escalation inside the guest operating system.

All versions of Gameloop emulator up to 3.21.736.100 allow remote code execution in guest operating system with root privileges by unsecured ADB connection to port 5555. Additionally, all versions of Gameloop allow unprivileged local attackers to gain root privileges.

Description

Every version of Tencent GameLoop emulator allows local attackers (e.g., any installed apps, as well as attackers who achieved code execution through a different vulnerability) to obtain root privileges by calling the unprotected su binary. The user will not be informed about the attempt to obtain root privileges, as they would be if the Android root access manager application were used. This is known as CVE-2020-29008.

Additionally, Tencent GameLoop emulator before 3.21.736.100 accepts ADB connections on TCP port 5555. Those connections might come from remote machines and allow the attacker to access the emulated Android system with the permissions of root user. Users of the affected emulator do not receive any prompt to accept or reject the connection, as they would on most ADB-enabled Android devices. This bug is designated CVE-2020-29009.

Reproduction

  • CVE-2020-29008: su -c [command_to_execute]
  • CVE-2020-29009: adb connect [emulator_ip_address]:5555; adb shell

Mitigation

Update Gameloop to the newest version. Do not install any untrusted applications in Gameloop’s guest operating system.

gameloop-cve's People

Contributors

mmiszczyk avatar

Watchers

 avatar

Forkers

mmiszczyk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.