polrproject polr 授权机制不正确

admin 2023-12-01 16:32:31 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
polrproject polr 授权机制不正确

CVE编号

CVE-2021-21276

利用情况

暂无

补丁情况

N/A

披露时间

2021-02-02
漏洞描述
Polr is an open source URL shortener. in Polr before version 2.3.0, a vulnerability in the setup process allows attackers to gain admin access to site instances, even if they do not possess an existing account. This vulnerability exists regardless of users' settings. If an attacker crafts a request with specific cookie headers to the /setup/finish endpoint, they may be able to obtain admin privileges on the instance. This is caused by a loose comparison (==) in SetupController that is susceptible to attack. The project has been patched to ensure that a strict comparison (===) is used to verify the setup key, and that /setup/finish verifies that no users table exists before performing any migrations or provisioning any new accounts. This is fixed in version 2.3.0. Users can patch this vulnerability without upgrading by adding abort(404) to the very first line of finishSetup in SetupController.php.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
http://packetstormsecurity.com/files/171743/POLR-URL-2.3.0-Shortener-Admin-Ta...
https://github.com/cydrobolt/polr/commit/b1981709908caf6069b4a29dad3b6739c322c675
https://github.com/cydrobolt/polr/releases/tag/2.3.0
https://github.com/cydrobolt/polr/security/advisories/GHSA-vg6w-8w9v-xxqc
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 polrproject polr * Up to (excluding) 2.3.0
CVSS3评分 9.3
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 无
  • 影响范围 已更改
  • 用户交互 无
  • 可用性 无
  • 保密性 高
  • 完整性 低
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
CWE-ID 漏洞类型
CWE-863 授权机制不正确
NVD-CWE-Other
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0