Lucene search

K
wpvulndbPablo SanchezWPVDB-ID:5085EC75-0795-4004-955D-E71B3D2C26C6
HistorySep 25, 2023 - 12:00 a.m.

Bookly < 22.4 - Admin+ SQLi

2023-09-2500:00:00
Pablo Sanchez
wpscan.com
5
sql injection
admin privilege
bookly plugin

7.2 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

5.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

MULTIPLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.001 Low

EPSS

Percentile

16.3%

Description The plugin does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by high privilege users such as admin

PoC

Go to Bookly> Settings > Logs Do a search and intercept the request The parameter columns%5B0%5D%5Bdata%5D with value created_at is vulnerable to payloads like the following (select*from(select(sleep(10)))a) See the delay in the SQL query.

CPENameOperatorVersion
eq22.4

7.2 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

5.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

MULTIPLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.001 Low

EPSS

Percentile

16.3%

Related for WPVDB-ID:5085EC75-0795-4004-955D-E71B3D2C26C6