🔍 CVE-2025-62511

6.3
CVSS Score
MEDIUM
2025-10-17
2026-10-08 22:10
✅ 완료

🇰🇷 한글 설명

yt-grabber-tui 1.0 버전에서 설정 파일인 config.json을 생성할 때 TOCTOU(Time-of-Check to Time-of-Use) 레이스 컨디션 취약점이 존재합니다. 공격자가 설정 디렉토리에 쓰기 권한이 있다면 심볼릭 링크를 사용하여 애플리케이션 권한으로 임의의 파일을 덮어쓸 수 있습니다. 이는 데이터 손실이나 시스템 파일 손상으로 이어질 수 있습니다.

💡 쉬운 설명

프로그램이 설정 파일을 만들기 전에 파일이 있는지 확인하는 찰나의 순간을 이용한 공격입니다. 공격자가 가짜 연결 통로(심볼릭 링크)를 만들어 두면, 프로그램이 중요한 시스템 파일을 설정 파일로 착각해 덮어버릴 수 있습니다.

🇺🇸 원문 (English)

yt-grabber-tui is a C++ terminal user interface application for downloading YouTube content. yt-grabber-tui version 1.0 contains a Time-of-Check to Time-of-Use (TOCTOU) race condition (CWE-367) in the creation of the default configuration file config.json. In version 1.0, load_json_settings in Settings.hpp checks for the existence of config.json using boost::filesystem::exists and, if the file is missing, calls create_json_settings which writes the JSON configuration with boost::property_tree::write_json. A local attacker with write access to the application’s configuration directory (~/.config/yt-grabber-tui on Linux or the current working directory on Windows) can create a symbolic link between the existence check and the subsequent write so that the write operation follows the symlink and overwrites an attacker-chosen file accessible to the running process. This enables arbitrary file overwrite within the privileges of the application process, which can corrupt files and cause loss of application or user data. If the application is executed with elevated privileges, this could extend to system file corruption. The issue is fixed in version 1.0.1.

📍 영향받는 시스템

yt-grabber-tui version 1.0

⚔️ 공격 벡터

설정 디렉토리에 심볼릭 링크를 생성하여 파일 쓰기 동작을 유도하는 레이스 컨디션 공격

🛡️ 대응 방법

yt-grabber-tui를 버전 1.0.1 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 1.0이라면 취약한 상태이며, 1.0.1 이상이면 안전합니다.

Shell / Script
yt-grabber-tui --version 2>/dev/null || echo 'Version not found'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

💻 영향받는 소프트웨어

NVIDIA Cloud Gaming Guest Driver for Linux