🔍 CVE-2026-54540

8.8
CVSS Score
HIGH
2026-07-27
2026-07-27 20:32
✅ 완료

🇰🇷 한글 설명

PHP 기반의 단일 파일 에디터 및 파일 관리자인 Pheditor 2.0.5 미만 버전에서 인증된 사용자가 터미널 명령 화이트리스트를 우회할 수 있는 취약점이 발견되었습니다. 공격자는 $()와 같은 쉘 명령 치환 구문을 사용하여 허용된 명령어를 넘어 임의의 쉘 명령을 웹 서버 권한으로 실행할 수 있습니다.

💡 쉬운 설명

허용된 명령어만 실행할 수 있도록 만든 제한 장치를 교묘하게 속여서, 공격자가 원하는 모든 명령을 컴퓨터에 내릴 수 있는 보안 구멍입니다. 로그인 권한이 있는 사용자가 이 기능을 악용하면 서버 전체를 위험에 빠뜨릴 수 있습니다.

🇺🇸 원문 (English)

Pheditor is a single-file editor and file manager written in PHP. Prior to version 2.0.5, there is an authenticated terminal command whitelist bypass. The terminal feature checks whether the submitted command starts with one of the configured TERMINAL_COMMANDS values, then passes the full command string to shell_exec(). Shell command substitution such as $() is not blocked, so an authenticated user with the terminal permission can bypass a restricted command allowlist and execute arbitrary shell commands as the web server user. This issue has been patched in version 2.0.5.

📍 영향받는 시스템

Pheditor 2.0.5 미만 버전

⚔️ 공격 벡터

인증된 사용자가 터미널 기능에 $()와 같은 쉘 명령 치환 구문을 포함하여 전송함으로써 화이트리스트 우회

🛡️ 대응 방법

Pheditor를 최신 보안 패치가 적용된 2.0.5 버전 이상으로 업데이트하십시오.

🔧 검증 코드

설치된 Pheditor의 버전을 확인하여 2.0.5 미만인 경우 취약한 상태로 판단합니다.

Shell / Script
php -r 'echo "Pheditor version check";' # 실제 버전 확인은 설치된 파일의 버전 정보 또는 composer.json 확인 필요

📊 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