CVE-20XX-?
agent?

CVE-2021-21276

9.3 CRITICAL 7% exploit odds Fix listed Auth & access Web app

What it is

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.

At a glance

Exploitability
Can be exploited over the network without logging in. High risk of data exposure.
Exploit odds
7.2% chance of exploitation in the next 30 days (EPSS).
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Why it ranks here

Details

Published
Last modified
Exploit probability
7.2% · EPSS, next 30 days
Weakness
CWE-863 · Incorrect authorization
Record status
Modified

Affected

Attack profile CVSS 3.1 · 9.3

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None
Raw vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Is it in your code?

Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.

Read https://cve-list.com/agent/cve/CVE-2021-21276.md and follow it. Check whether this project is affected by CVE-2021-21276. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.

· More options · Status badge

Meme: I wake up, CVE-2021-21276
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record