CVE-2016-3098: administrate vulnerable to Cross-Site Request Forgery
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.27958%
CWE
Published
8/6/2022
Updated
3/6/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| administrate | rubygems | < 0.1.5 | 0.1.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the absence of CSRF protection in Administrate's base ApplicationController. The advisory explicitly states that Administrate::ApplicationController lacked the protect_from_forgery method, which is Rails' standard CSRF protection mechanism. The provided workaround involves adding protect_from_forgery to this controller, confirming that its absence was the root cause. Since all controller actions inherit from this vulnerable base class, the entire controller's lack of protection is the key issue.