🔍 CVE-2026-1257

7.5
CVSS Score
HIGH
2026-01-24
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

Administrative Shortcodes 플러그인의 get_template 숏코드에서 'slug' 속성에 대한 경로 검증 부족으로 인해 Local File Inclusion 취약점 발생. 기여자 이상의 권한을 가진 인증된 사용자가 서버의 임의 파일을 포함 및 실행 가능하여 PHP 코드 실행, 접근 제어 우회, 민감 정보 탈취 가능.

💡 쉬운 설명

WordPress 플러그인에서 파일 경로를 제대로 검증하지 않아 사용자가 원하는 임의의 파일을 읽고 실행할 수 있는 보안 결함. 플러그인 접근 권한이 있는 사용자라면 누구나 악용 가능.

🇺🇸 원문 (English)

The Administrative Shortcodes plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 0.3.4 via the 'slug' attribute of the 'get_template' shortcode. This is due to insufficient path validation on user-supplied input passed to the get_template_part() function. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other "safe" file types can be uploaded and included.

📍 영향받는 시스템

Administrative Shortcodes plugin for WordPress version 0.3.4 and below

⚔️ 공격 벡터

인증된 기여자(Contributor) 이상 권한 사용자가 get_template 숏코드의 'slug' 속성을 조작하여 임의 파일 포함 및 실행

🛡️ 대응 방법

Administrative Shortcodes 플러그인을 0.3.5 이상 버전으로 업데이트하거나 플러그인 비활성화

🔧 검증 코드

반환된 버전 번호가 0.3.4 이하이면 취약 상태, 0.3.5 이상이면 패치됨

Shell / Script
find /var/www/html/wp-content/plugins/administrative-shortcodes -name '*.php' -exec grep -m1 'Version:' {} \; 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP