CVE-2018-15758

Privilege Escalation in spring-security-oauth2

Critical · published October 18, 2018

CVSS v3.0
9.6
EPSS
2%
Percentile
82.0
In the wild
Unconfirmed
What it is

🚨 A crafty request can flip user privileges—this Spring Security OAuth vulnerability lets attackers escalate their access with just the right conditions! 🔥 It's like a restaurant where a diner tricks the staff into thinking they're a five-star food critic—suddenly, they're ordering the entire menu without paying! An attacker could gain unauthorized access to sensitive operations, potentially wreaking havoc on user data and application security. This is an absolute nightmare scenario for any app acting as an Authorization Server!

Put simply

It's like a restaurant where a diner tricks the staff into thinking they're a five-star food critic—suddenly, they're ordering the entire menu without paying! This privilege escalation flaw exists in Spring Security OAuth versions prior to 2.3.4, 2.2.3, 2.1.3, and 2.0.16. It occurs when a custom approval endpoint is used and allows malicious requests to modify saved authorization requests, leading to escalated privileges on subsequent approvals.

What to do

An attacker could gain unauthorized access to sensitive operations, potentially wreaking havoc on user data and application security. This is an absolute nightmare scenario for any app acting as an Authorization Server! To protect your application, immediately upgrade to Spring Security OAuth versions 2.3.4, 2.2.3, 2.1.3, or 2.0.16. Review your application configuration for any custom approval endpoints and ensure proper validation of authorization requests to mitigate this risk. You've got this! Follow these steps, and you’ll be on your way to securing your application in no time! 🛡️

The record
Technical detail
CVSS v3.0
9.6 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.02153 · 82.0th percentile
Published
2018-10-18T22:00Z
EPSS history
Timeline
  • 18 OCT 22:00Z
    Privilege Escalation in spring-security-oauth2
    cvelistv5