WordPress Plugin WF Cookie Consent 1.1.3 CVE-2018-10371- Cross-Site Scripting

Authors:B0UG                Risk:High

CVE:CVE-2018-10371         0day:Cross-Site Scripting  

0day -id:0DAY-176143        Date:2018-05-07

Description

An issue was discovered in the wunderfarm WF Cookie Consent plugin 1.1.3 for WordPress. A persistent cross-site scripting vulnerability has been identified in the web interface of the plugin that allows the execution of arbitrary HTML/script code to be executed in a victim’s web browser via a page title.

BACKGROUND

WF Cookie Consent is a WordPress plugin which has been designed to display cookie consent notifications on a WordPress website.

POC

1) Access WordPress control panel.
2) Navigate to the 'Pages'.
3) Add a new page and insert the script you wish to inject into the page title.
4) Now navigate to 'Settings' and select 'WF Cookie Consent'.
5) Your injected script will now be executed.

IMPACT

An attacker can execute malicious code in a victim’s browser to perform various activities such as stealing cookies, session tokens, credentials and personal data amongst others.

SYSTEMS AFFECTED

WordPress websites running “WF Cookie Consent” plugin version 1.1.3 (older versions may also be affected).

REMEDIATION

Implement a web application such as Wordfence or uninstall the plugin.

DISCLOSURE TIMELINE

April 23, 2018 1: Vulnerability identified.
April 23, 2018 2: Informed developer of the vulnerability.
May 2, 2018 3: No reply from the developer.

Leave a Reply