Miggo Logo

CVE-2016-6637: Cloud Foundry vulnerable to Cross-Site Request Forgery

9.6

CVSS Score
3.0

Basic Information

EPSS Score
0.31438%
Published
5/13/2022
Updated
2/29/2024
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.cloudfoundry.identity:cloudfoundry-identity-servermaven>= 2.0.0, < 2.7.4.72.7.4.7
org.cloudfoundry.identity:cloudfoundry-identity-servermaven>= 3.0.0, < 3.3.0.53.3.0.5
org.cloudfoundry.identity:cloudfoundry-identity-servermaven>= 3.4.0, < 3.4.43.4.4
org.cloudfoundry.identity:cloudfoundry-identity-servermaven>= 3.5.0, < 3.7.03.7.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stemmed from missing CSRF protection on critical endpoints. The commits 37e0384, cded616, and f3d8a9e show that CSRF was explicitly enabled for /oauth/authorize and /profile POST endpoints in login-ui.xml. Prior to the fix, the Spring Security configuration in this file had CSRF disabled (csrf disabled="true") or improperly scoped, leaving these endpoints vulnerable. The addition of CSRF token checks and updated request matchers in the XML configuration directly addresses the CSRF flaw described in CVE-2016-6637.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

Multipl* *ross-sit* r*qu*st *or**ry (*SR*) vuln*r**iliti*s in Pivot*l *lou* *oun*ry (P**) ***or* ***; U** *.x ***or* *.*.*.*, *.x ***or* *.*.*.*, *n* *.*.x ***or* *.*.*; U** *OS* ***or* **.* *n* **.x ***or* **.*; *l*sti* Runtim* ***or* *.*.**, *.*.x

Reasoning

T** vuln*r**ility st*mm** *rom missin* *SR* prot**tion on *riti**l *n*points. T** *ommits *******, *******, *n* ******* s*ow t**t *SR* w*s *xpli*itly *n**l** *or `/o*ut*/*ut*oriz*` *n* `/pro*il*` POST *n*points in `lo*in-ui.xml`. Prior to t** *ix, t*