Exploit database

Vulnerability

CVE-2019-16662

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

An issue was discovered in rConfig 3.9.2. An attacker can directly execute system commands by sending a GET request to ajaxServerSettingsChk.php because the rootUname parameter is passed to the exec function without filtering, which can lead to command execution.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

6 sources
rConfig install Command Execution
MSF-unix--webapp--rconfig_install_cmd_execMetasploitLinux,Unix / remote

This module exploits an unauthenticated command injection vulnerability in rConfig versions 3.9.2 and prior. The `install` directory is not automatically removed after installation, allowing unauthenticated users to execute arbitrary commands via the `ajaxServerSettingsChk.php` file as the web server user. This module has been tested successfully on rConfig version 3.9.2 on CentOS 7.7.1908 (x64).

2019-10-28rconfig_install_cmd_exec.rb
arpsyndicate/kenzer-templates
GH-e5a0867366963da7a3617cf6f32fda4bGitHubUnofficial GitHub source

essential templates for kenzer [DEPRECATED]

2020-09-185,308 files · 118 stars
mhaskar/cve-2019-16662
GH-637e208b162c84eeeeac4801f6d5ba75GitHubUnofficial GitHub source

The official exploit for rConfig 3.9.2 Pre-auth Remote Code Execution CVE-2019-16662

2019-11-102 files · 13 stars
mhaskar/cve-2019-16663
GH-8208f1cba53fb2a4f24c0478d5092f1cGitHubUnofficial GitHub source

The official exploit for rConfig 3.9.2 Post-auth Remote Code Execution CVE-2019-16663

2019-11-102 files · 6 stars