Miggo Logo

CVE-2016-3098: administrate vulnerable to Cross-Site Request Forgery

5.4

CVSS Score
3.1

Basic Information

EPSS Score
0.27958%
Published
8/6/2022
Updated
3/6/2023
KEV Status
No
Technology
TechnologyRuby

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
administraterubygems< 0.1.50.1.5

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*ross-sit* r*qu*st *or**ry (*SR*) vuln*r**ility in **ministr*t* *.*.* *n* **rli*r *llows r*mot* *tt**k*rs to *ij**k t** us*r's O*ut* *utoriz*tion *o**.

Reasoning

T** vuln*r**ility st*ms *rom t** **s*n** o* *SR* prot**tion in **ministr*t*'s **s* *ppli**tion*ontroll*r. T** **visory *xpli*itly st*t*s t**t **ministr*t*::*ppli**tion*ontroll*r l**k** t** prot**t_*rom_*or**ry m*t*o*, w*i** is R*ils' st*n**r* *SR* pr