Approved changes feed: RSS · Atom
cpe:2.3:a:polrproject:polr:*:*:*:*:*:*:*:*part: a version: * update: *
| Vendor | Polrproject (a1ec6468-9b3a-5260-a365-bc2c55e5a493) |
|---|---|
| Product | Polr (88dd7bbc-5329-5420-bd9e-0d88a24357c2) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
Notes
Imported from purl2cpe mapping
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:bitbucket/cydrobolt/polr |
purl2cpe | 2026-06-01 10:17:56.984554 |
pkg:github/cydrobolt/polr |
purl2cpe | 2026-06-01 10:17:56.984557 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2021-21276 |
vulnerable | 2026-06-08 05:29:11.499633 |
Privilege escalation in Polr
CRITICAL (9.3)
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.
Published: 2021-02-01T00:00:00.000Z
Updated: 2024-08-03T18:09:15.162Z Reference links |
Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.
Inspect record JSON
Open this panel to browse, search, copy or download the JSON record.