जमा करें #1071609: xiaomalover Yii2 CMS 64888f281cbf52e4cf3677da8509beaccc73d5b7 Incorrect Authorizationजानकारी

शीर्षकxiaomalover Yii2 CMS 64888f281cbf52e4cf3677da8509beaccc73d5b7 Incorrect Authorization
विवरणThe RBAC manager is configured with `'defaultRoles' => ['guest', 'admin']`. In Yii2 a default role is granted to every request automatically and, as the framework documents, "regardless of the state of authentication"; the access check also treats a requested permission as granted when any of its parent roles is a default role. The backend authorises an action as soon as `Yii::$app->admin->can('/<route>')` returns true. In any deployment where the `admin` role exists — the role the installation guide requires the operator to create so the backend becomes usable at all — an anonymous request to a backend route that is a child of that role satisfies the check and the page renders without a login.
स्रोत⚠️ https://github.com/weison-tech/yii2-cms/issues/9
उपयोगकर्ता
 Wuwj (UID 101900)
सबमिशन03/11/2026 01:21 PM (25 दिन पहले)
संयम27/11/2026 09:40 PM (24 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि445016 [weison-tech yii2-cms तक 1.0.2 RBAC Authorization common.php अधिकार वृद्धि]
अंक20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!