Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

PoC Exploits Published for Unpatched RCE Bugs in rConfig

A security researcher has published proof of concept exploits for two remote code execution vulnerabilities in rConfig that haven’t been patched yet.

A security researcher has published proof of concept exploits for two remote code execution vulnerabilities in rConfig that haven’t been patched yet.

An open source network device configuration management utility, rConfig provides network engineers with the ability to take snapshots of routing tables, MACs, and running configurations, among others, and can also help improve overall network security.

rConfig is impacted by two remote code execution (RCE) vulnerabilities, one unauthenticated (CVE-2019-16662) and another authenticated (CVE-2019-16663), penetration tester Mohammad Askar explains.

The issues, Askar says, were found in two different files, namely ajaxServerSettingsChk.php and search.crud.php.

The first of the bugs is an unauthenticated RCE that an attacker could trigger by sending a crafted GET request via the “rootUname” parameter to execute a malicious OS command on the server.

The ajaxServerSettingsChk.php file, Askar explains, saves a GET request called ‘rootUname’ to a specific variable, then concatenates it and saves it to another variable, which is then passed to an exec function.

Thus, an attacker only needs to inject their command and then escape the string at the execution line to ensure the command runs.

The second vulnerability, an authenticated RCE, could be triggered via a crafted GET request containing two parameters, namely “searchTerm” and “catCommand.” The first contains any desired value, while the second contains the payload that will be passed to the exec function.

Advertisement. Scroll to continue reading.

The researcher has published proof of concept code for both of these vulnerabilities (on GitHub, here and here) and explains that he contacted rConfig’s main developer on the matter at the end of September, but that both issues remain unpatched.

While Askar says these vulnerabilities were found in rConfig v3.9.2, security researcher Sudoka reports that the unauthenticated flaw (CVE-2019-16662) actually impacts all versions of the application.

The authenticated vulnerability (CVE-2019-16663) can actually be exploited without authentication in all versions of rConfig prior to 3.6.0, Sudoka says.

Related: Rockwell Automation Patches Critical DoS/RCE Flaw in RSLinx Software

Related: Research Firm Offers $3 Million for iOS, Android 0-Days

Related: Drupal RCE Flaw Exploited in Attacks Days After Patch

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

Vulnerabilities

The latest Chrome update brings patches for eight vulnerabilities, including seven reported by external researchers.