A Vulnerability in WordPress WP GDPR Compliance Plugin Could Allow for Arbitrary Code Execution

ITS Advisory Number: 
2018-116
Date(s) Issued: 
Wednesday, November 14, 2018
Subject: 
A Vulnerability in WordPress WP GDPR Compliance Plugin Could Allow for Arbitrary Code Execution
Overview: 

A vulnerability has been discovered in the WordPress WP GDPR Compliance Plugin that could allow for arbitrary code execution. WordPress is a web-based publishing application implemented in PHP, and the WP GDPR Compliance Plugin assists website owners with the European privacy regulations known as GDPR. Successful exploitation of this vulnerability could allow for arbitrary code execution with elevated privileges.

 

THREAT INTELLIGENCE:

A Proof-of-Concept has been developed by the researchers who discovered this vulnerability to demonstrate this issue. There are reports of this actively being exploited in the wild in November 2018.

Systems Affected: 

WordPress WP GDPR Compliance Plugin 1.4.2 and prior

RISK
GOVERNMENT
Large and medium government entities: 
High
Small government entities: 
Medium
BUSINESS
Large and medium business entities: 
High
Small business entities: 
Medium
Home Users: 
Low
Description: 

A vulnerability has been discovered in the WordPress WP GDPR Compliance Plugin that could allow for arbitrary code execution. This vulnerability exists because it fails to properly sanitize the 'save_setting' action. An attacker can exploit this issue by injecting arbitrary commands, which get stored until the plugin reaches its 'do_action()' call. Successful exploits may allow an attacker to gain administrative access to the site and make direct changes, including uploading malicious plugins for future attacks. Successful exploitation of this vulnerability could allow for arbitrary code execution with elevated privileges.

Actions: 
  • After appropriate testing, apply appropriate updates provided by WordPress manually to all affected sysytems.

  • Apply the Principle of Least Privilege to all systems and services.