Miggo Logo

CVE-2025-31691: Drupal OAuth2 Server Missing Authorization vulnerability

9.8

CVSS Score
3.1

Basic Information

EPSS Score
0.19596%
Published
4/1/2025
Updated
4/2/2025
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
drupal/oauth2_servercomposer< 2.1.02.1.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability centers around missing authorization checks for disabled OAuth2 servers. Based on:

  1. The security advisory explicitly mentions disabled servers still processing authentications
  2. OAuth2 token endpoints are the primary authentication vector
  3. The 'isEnabled' status check would be the natural authorization control point
  4. Drupal's typical controller-based architecture for endpoint handling

While the exact patch isn't available, these functions represent the most likely locations where authorization checks were either missing (in vulnerable versions) or added (in the patch). The TokenController would handle incoming requests, while ServerInterface would manage server status checks - together forming the authorization boundary that was improperly enforced.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

Missin* *ut*oriz*tion vuln*r**ility in *rup*l O*ut** S*rv*r *llows *or***ul *rowsin*. T*is issu* *****ts O*ut** S*rv*r: *rom *.*.* ***or* *.*.*.

Reasoning

T** vuln*r**ility **nt*rs *roun* missin* *ut*oriz*tion ****ks *or *is**l** O*ut** s*rv*rs. **s** on: *. T** s**urity **visory *xpli*itly m*ntions *is**l** s*rv*rs still pro**ssin* *ut**nti**tions *. O*ut** tok*n *n*points *r* t** prim*ry *ut**nti**ti