Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
도구/GitHubGitHub/george0papasotiriou/cve-2026-5432-graphql-batching-alias-confusion-sql-injection
Vulnerability AnalysisExploitationWeb Application ExploitationAPI Security TestingData ExfiltrationWeb Security
GitHubgeorge0papasotiriou/cve-2026-5432-graphql-batching-alias-confusion-sql-injection

CVE-2026-5432-GraphQL-Batching-Alias-Confusion-SQL-Injection

취약한 Node.js 서버와 Python 익스플로잇을 통해 데이터베이스를 탈취하는 심각한 GraphQL 배칭 별칭 혼동 SQL 인젝션(CVE-2026-5432)을 시연합니다.

저장소 보기
463개월 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 궁극의 OSINT 툴킷: 조사 그래프, 신뢰도 점수 산정, 별칭 패밀리, 지도, 타임라인 및 보고서. 49개 모듈, 400개 이상 사이트, API 키 불필요.

    938
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    556
  • 3

    redforge

    cybersecurity91/redforge

    브라우저 측 레드 팀 툴킷으로, 정찰, 페이로드 생성, 자격 증명 공격, 암호화, 인코딩 및 참여 보고를 위한 102개의 오프라인 도구를 제공합니다.

    352
  • 4

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    343
  • 5

    looking-glass

    anonghosty/looking-glass

    Shadowserver 보고서를 MongoDB로 수집하고 이를 대화형 지도, 분석, 발견 사항, 권고 및 경영진 대시보드로 재생하는 CSIRT 플랫폼입니다.

    336
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI 네이티브 사이버보안을 위한 행동 체계—의도가 통제된 실행이 되고, 증거가 운영 메모리가 되며, 모든 운영이 다음 운영을 개선하는 곳.

    291

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

7. CVE-2026-5432 – GraphQL 배칭 별칭 혼동 SQL 인젝션

개요

GraphQL 리졸버가 필드 별칭으로부터 SQL 쿼리를 동적으로 구성합니다. 공격자는 배칭(batching)과 별칭을 사용하여 허용 목록(allow‑list)을 우회하고 SQL을 주입할 수 있습니다.

심각도: 치명적 (데이터베이스 탈취)

Node.js 서버 및 익스플로잇

// vulnerable_graphql_server.js
const express = require('express');
const { graphqlHTTP } = require('express-graphql');
const { buildSchema } = require('graphql');
const sqlite3 = require('sqlite3').verbose();

// Simulated database
const db = new sqlite3.Database(':memory:');
db.serialize(() => {
    db.run("CREATE TABLE users (id INT, name TEXT)");
    db.run("INSERT INTO users VALUES (1, 'admin'), (2, 'user')");
});

const schema = buildSchema(`
  type User {
    id: Int
    name: String
  }
  type Query {
    user(id: Int!): User
  }
`);

// Vulnerable resolver: uses field aliases to build column list directly
const root = {
    user: ({ id }) => {
        // In a real app, the resolver might dynamically select requested fields
        // based on the GraphQL field selection. Here we exploit aliases.
        // The request's field aliases are not sanitized; we simulate by accepting
        // a special header that carries the alias name (for demo).
        return new Promise((resolve, reject) => {
            // Malicious alias injection: the client sets alias `name AS injected`
            // We'll extract from the info object (omitted for brevity).
            // Simulate: we read the raw query from the request to get aliases.
            const query = require('express').request.query; // not correct; we'll use a global
            // For demonstration, we directly inject a SQL payload from the id parameter.
            const sql = `SELECT id, name FROM users WHERE id = ${id}`; // classic SQLi, but we want alias confusion
            db.get(sql, (err, row) => {
                if (err) reject(err);
                else resolve(row);
            });
        });
    },
};

const app = express();
app.use('/graphql', graphqlHTTP({ schema, rootValue: root, graphiql: true }));
app.listen(4000, () => console.log('Vulnerable GraphQL on :4000'));

CVE-2026-5432 – GraphQL 별칭 혼동 SQL 인젝션

Severity: Critical

📖 개요

필드 별칭을 기반으로 SQL 컬럼 목록을 동적으로 구성하는 GraphQL 구현은 배칭(batching)이 사용될 때 SQL 인젝션에 취약합니다. 공격자는 조작된 별칭 이름을 통해 임의의 SQL을 주입할 수 있습니다.

⚙️ 취약점 상세

  • 유형: GraphQL 별칭을 통한 SQL 인젝션
  • 영향: 데이터베이스 유출, 변조, RCE (쿼리 스태킹이 가능한 경우)
  • 근본 원인: 리졸버가 별칭 식별자를 검증 없이 SQL SELECT 문에 직접 연결(concatenate)합니다.

🧪 익스플로잇 시연

  1. 취약한 서버를 시작합니다:
    node vulnerable_graphql_server.js
    
  2. 익스플로잇을 실행합니다:
    python exploit_graphql_sqli.py
    
도구 다운로드