Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-11102-OAuth2-Implicit-Grant-Fragment-Hijacking | Kitploit
Tools/GitHubGitHub/george0papasotiriou/cve-2026-11102-oauth2-implicit-grant-fragment-hijacking
Authentication & AuthorizationExploitationWeb Application ExploitationWeb SecurityPenetration TestingAPI Security
GitHubgeorge0papasotiriou/cve-2026-11102-oauth2-implicit-grant-fragment-hijacking

CVE-2026-11102-OAuth2-Implicit-Grant-Fragment-Hijacking

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
16 days agoNot yet reviewed

CVE-2026-11102 – OAuth2 Implicit Grant Fragment Hijacking

Program Code (Node.js + Exploit)

root@kitploit:~
// oauth_server.js - OAuth2 provider issuing tokens in fragment
const express = require('express');
const app = express();

app.get('/authorize', (req, res) => {
    const redirectUri = req.query.redirect_uri;
    const state = req.query.state || '';
    // Simulate user approval: redirect with access token in fragment
    const token = 'secret_access_token';
    res.redirect(`${redirectUri}#access_token=${token}&state=${state}`);
});

app.listen(3000, () => console.log('OAuth server on :3000'));

CVE-2026-11102 – OAuth2 Implicit Grant Fragment Hijacking

Severity: Critical

Overview

An OAuth2 provider implements the implicit grant flow without validating the redirect_uri against a whitelist. An attacker can supply a malicious URI and, after the user authenticates, the access token is leaked via the URL fragment to the attacker’s page.

Vulnerability Details

  • Type: Insecure Direct Object Reference / Redirect URI Validation
  • Impact: Account takeover via stolen access token.
  • Root Cause: The authorization server does not validate that the redirect_uri exactly matches a pre-registered value, allowing redirection to an attacker-controlled domain.

Exploit Demonstration

  1. Start the OAuth server:
    root@kitploit:~
    npm install express
    node oauth_server.js
    
  2. Run the exploit:
    root@kitploit:~
    python exploit_fragment_hijack.py
    
Download Tool