Permissions, Privileges, and Access Controls in Minimal Coming Soon & Maintenance Mode - CVE-2020-6166

 

Permissions, Privileges, and Access Controls in Minimal Coming Soon & Maintenance Mode - CVE-2020-6166

Published: January 9, 2020


Vulnerability identifier: #VU24151
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2020-6166
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: WebFactory Ltd
Affected software:
Minimal Coming Soon & Maintenance Mode

Detailed vulnerability description

The vulnerability allows a remote user to escalate privileges on the system.

The vulnerability exists due to improper permission check in the "is_admin()" function. A remote user can export the plugin settings as a .txt file or modify the theme of the maintenance page on a vulnerable site.

PoC:

/wp-admin/admin.php?action=csmm_export_settings&redirect=/wp-admin/

/wp-admin/admin.php?action=csmm_activate_theme&theme=minimal&redirect=/wp-admin/


How to mitigate CVE-2020-6166

Install updates from vendor's website.

Sources