🔍 CVE-2025-13641

8.8
CVSS Score
HIGH
2025-12-18
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

WordPress NextGEN Gallery 플러그인 3.59.12 이하에서 'template' 숏코드 파라미터의 부실한 경로 검증으로 인해 Local File Inclusion 취약점이 발생합니다. Contributor 권한 이상의 인증된 공격자가 절대 경로를 통해 임의의 PHP 파일을 포함하고 실행할 수 있으며, 파일 업로드 취약점과 결합 시 원격 코드 실행으로 이어질 수 있습니다.

💡 쉬운 설명

WordPress 사진 갤러리 플러그인에서 파일을 잘못 불러오는 결함으로, 권한이 있는 사용자가 서버의 중요한 파일을 읽거나 악의적인 코드를 실행할 수 있습니다. 이를 통해 웹사이트 전체가 해킹되거나 개인정보가 유출될 수 있습니다.

🇺🇸 원문 (English)

The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 3.59.12 via the 'template' shortcode parameter. This is due to insufficient path validation that allows absolute paths to be provided. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary PHP files on the server, bypassing web server restrictions like .htaccess. Successful exploitation could lead to information disclosure, code execution in the WordPress context, and potential remote code execution if combined with arbitrary file upload capabilities.

📍 영향받는 시스템

WordPress NextGEN Gallery 플러그인 버전 3.59.12 이하 모든 버전

⚔️ 공격 벡터

Contributor 이상의 권한을 가진 인증 사용자가 'template' 파라미터에 절대 경로(예: /etc/passwd)를 입력하여 임의의 PHP 파일 실행

🛡️ 대응 방법

NextGEN Gallery 플러그인을 버전 3.59.13 이상으로 즉시 업그레이드하고 Contributor 이상의 권한 사용자 계정 재검토

🔧 검증 코드

출력된 버전 번호가 3.59.13 이상이면 패치됨, 3.59.12 이하이면 즉시 업그레이드 필요

Shell / Script
grep -i 'Version' /var/www/html/wp-content/plugins/nextgen-gallery/nextgen-gallery.php 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP