CVE-2019-16109 Authentication Bypass in Devise
Attackers can bypass account confirmation if database records have blank tokens, potentially taking over accounts in Devise Ruby library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-16109?
CVE-2019-16109 is a medium-severity authentication bypass vulnerability in n/a, published on 8 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in Plataformatec Devise before 4.7.1. It confirms accounts upon receiving a request with a blank confirmation_token, if a database record has a blank value in the confirmation_token column. (However, there is no scenario within Devise itself in which such database records would exist.)
Which versions are affected by CVE-2019-16109?
2 open source packages ship an affected version, including devise. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
devise RubyGems | All versions | 4.7.1 |
devise RubyGems | All versions | 4.7.1 |
Products include Plataformatec Devise.
How do I fix CVE-2019-16109?
Upgrade devise to 4.7.1 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2019-16109 being exploited?
There is no known exploitation of CVE-2019-16109 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-fcjw-8rhj-gwwc, UBUNTU-CVE-2019-16109.