Giter Club home page Giter Club logo

chocapikk / cve-2024-22899-to-22903-exploitchain Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 3.0 6.29 MB

Comprehensive Exploit Chain for Multiple Vulnerabilities in VinChin Backup & Recovery <= 7.2

Home Page: https://blog.leakix.net/2024/01/vinchin-backup-rce-chain/

Python 73.94% PHP 26.06%
cybersecurity ethical-hacking exploit-development hacking-tools infosec open-source-security penetration-testing reverse-engineering security-research security-vulnerability vulnerability-research authenticated-rce cve-2024-22899 cve-2024-22900 cve-2024-22901 cve-2024-22902 cve-2024-22903 exploit-chain vinchin-exploit

cve-2024-22899-to-22903-exploitchain's Introduction

CVE-2024-22899-to-22903-ExploitChain ๐Ÿ› ๏ธ๐Ÿ”“

This repository houses a full exploit chain for Authenticated Remote Code Execution (RCE) on VinChin version 7.2 and earlier, addressing vulnerabilities CVE-2024-22899 through CVE-2024-22903.

Usage ๐Ÿš€

To use the exploit script, execute:

$ python exploit.py --help

Options ๐Ÿ“‹

  • -h, --help - Show this help message and exit.
  • -u URL, --url URL - URL of the login page.
  • -user USERNAME, --username USERNAME - Username for login (optional if trying CVE-2024-22902 or CVE-2024-22901).
  • -p PASSWORD, --password PASSWORD - Password for login (optional if trying CVE-2024-22902 or CVE-2024-22901).
  • -rip RSHELL_IP, --rshell_ip RSHELL_IP - Reverse shell IP address.
  • -rport RSHELL_PORT, --rshell_port RSHELL_PORT - Reverse shell port.
  • --payload_type {setNetworkCardInfo,syncNtpTime,deleteUpdateAPK,getVerifydiyResult} - Type of payload to send.
  • --payload {nc,bash,python,perl,php} - Type of payload to use (choices: 'nc', 'bash', 'python', 'perl', 'php'), default='nc'.

Credential-Free Usage ๐Ÿšซ๐Ÿ”‘

The script can attempt to exploit the system without provided credentials by leveraging:

  • CVE-2024-22902: Attempts to connect via SSH as the root user.
  • CVE-2024-22901: Tries default MySQL database credentials to rewrite the admin hash and authenticate.

Browser Compatibility ๐ŸŒ

The exploit requires Chrome 114 for compatibility with the WebDriver used in the exploit process. It is crucial to have Chrome installed on the host system. The exploit has been tested with Chrome version 114.

Requirements ๐Ÿ“ฆ

Install the necessary dependencies from requirements.txt:

$ pip install -r requirements.txt

Disclaimer โš ๏ธ

This exploit is for educational and security research purposes only. Unauthorized testing on systems without explicit permission is illegal. The exploit could potentially damage the target instance; use it with caution. The author is not responsible for misuse or any damage that might occur.

Further Reading ๐Ÿ“–

For an in-depth writeup on the exploit and vulnerabilities, visit the LeakIX blog post or consult the ./docs/index.md file in this repository.

cve-2024-22899-to-22903-exploitchain's People

Contributors

chocapikk avatar

Stargazers

5l1v3r1 avatar Abang Obed avatar Ryan Emmons avatar christbowel avatar biubiu avatar

Watchers

 avatar  avatar

Forkers

zha0 zxc2007 5l1v3r1

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.