🔍 CVE-2026-48796

5.3
CVSS Score
MEDIUM
2026-08-18
2026-09-09 21:13
✅ 완료

🇰🇷 한글 설명

CefSharp의 FolderSchemeHandlerFactory에서 경로 검증 시 디렉토리 경계 확인이 누락되어 발생하는 보안 취약점입니다. 공격자가 특수하게 조작된 URL을 사용하여 설정된 루트 디렉토리를 벗어나 인접한 다른 디렉토리의 로컬 파일에 접근할 수 있습니다. 이 문제는 버전 148.0.90 이전 버전에서 발생합니다.

💡 쉬운 설명

웹 브라우저 기능을 사용하는 프로그램에서 파일 접근 권한을 제대로 확인하지 못하는 문제입니다. 이를 통해 공격자는 원래 접근해서는 안 되는 컴퓨터 내부의 다른 폴더에 있는 파일을 몰래 읽어갈 수 있습니다.

🇺🇸 원문 (English)

CefSharp provides .NET bindings for the Chromium Embedded Framework for Windows Forms and Windows Presentation Foundation applications. Prior to version 148.0.90, CefSharp/SchemeHandler/FolderSchemeHandlerFactory.cs used filePath.StartsWith(rootFolder, StringComparison.OrdinalIgnoreCase) to decide whether a decoded and canonicalized request path remained inside rootFolder. That raw prefix test did not enforce a directory boundary, so a request such as ..%2fwww2/secret.txt could escape a configured www directory into a sibling www2 directory whose path shared the same string prefix. Applications that register FolderSchemeHandlerFactory for a custom scheme or an HTTP or HTTPS scheme can therefore serve local files outside the intended root when an attacker can cause the embedded browser to request the crafted URL. The issue affects both Unix-style paths such as /tmp/app/www2 and Windows paths such as C:\app\www2, and the fix appends a directory separator to the normalized root before comparison while rejecting null bytes and alternate data stream syntax. This issue is fixed in version 148.0.90.

📍 영향받는 시스템

CefSharp 148.0.90 미만 버전

⚔️ 공격 벡터

조작된 URL(예: ..%2f)을 사용하여 루트 디렉토리 경계를 우회하는 경로 탐색 공격

🛡️ 대응 방법

CefSharp를 최신 버전인 148.0.90 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 CefSharp의 버전이 148.0.90보다 낮은지 확인하십시오.

Shell / Script
dotnet list package | grep CefSharp

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

.NET