🔍 CVE-2026-34106

9.8
CVSS Score
CRITICAL
2026-07-01
2026-07-14 19:17
✅ 완료

🇰🇷 한글 설명

Guardian language-system의 subtitles.php 파일에서 id GET 파라미터를 적절한 검증 없이 PHP exec() 함수에 직접 전달하여 발생하는 취약점입니다. 인증되지 않은 원격 공격자가 쉘 메타문자를 사용하여 서버에서 임의의 운영체제 명령을 실행할 수 있습니다.

💡 쉬운 설명

해커가 웹사이트 주소에 특수 문자를 섞어 넣는 것만으로도 서버를 마음대로 조종할 수 있는 심각한 보안 구멍입니다. 로그인 없이도 누구나 서버에 명령을 내려 파일을 삭제하거나 정보를 빼낼 수 있습니다.

🇺🇸 원문 (English)

Guardian language-system passes the id GET parameter directly into a PHP exec() call in subtitles.php (line 19) without sanitization: exec(\"php jobs/subtitle_rendering.php \".$login_session.\" \".$_GET['id'].\" ...\"). No authentication is required. An unauthenticated remote attacker can append shell metacharacters to the id parameter to execute arbitrary OS commands on the server.

📍 영향받는 시스템

Guardian language-system (subtitles.php 사용 버전)

⚔️ 공격 벡터

인증되지 않은 원격 공격자가 URL의 id 파라미터에 쉘 메타문자를 삽입하여 명령 실행

🛡️ 대응 방법

id 파라미터에 대한 입력값 검증(Sanitization)을 실시하고, exec() 대신 안전한 함수를 사용하거나 파라미터를 인자로 전달할 때 쉘 인젝션을 방지하는 처리를 적용해야 합니다.

🔧 검증 코드

명령어 실행 결과로 서버의 사용자 ID(uid)나 그룹 ID(gid) 정보가 출력되면 취약한 상태입니다.

Shell / Script
curl -s 'http://<target>/subtitles.php?id=;id' | grep -E 'uid=|gid='

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP