NVD Vulnerability Detail
Search Exploit, PoC
CVE-2021-21276
Summary

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.

Publication Date Feb. 2, 2021, 12:15 a.m.
Registration Date Feb. 2, 2021, 10:01 a.m.
Last Update Nov. 21, 2024, 2:47 p.m.
CVSS3.1 : CRITICAL
スコア 9.3
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更あり
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
CVSS2.0 : MEDIUM
Score 6.4
Vector AV:N/AC:L/Au:N/C:P/I:P/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:polrproject:polr:*:*:*:*:*:*:*:* 2.3.0
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Polr における不正な認証に関する脆弱性
Title Polr における不正な認証に関する脆弱性
Summary

Polr には、不正な認証に関する脆弱性が存在します。

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Jan. 29, 2021, midnight
Registration Date Oct. 19, 2021, 5:23 p.m.
Last Update Oct. 19, 2021, 5:23 p.m.
Affected System
Polr Project
Polr 2.3.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2021年10月19日]
  掲載
Oct. 19, 2021, 5:23 p.m.