🔍 CVE-2026-35196

8.8
CVSS Score
HIGH
2026-04-14
2026-07-24 21:10
✅ 완료

🇰🇷 한글 설명

Chamilo LMS의 특정 엔드포인트에서 OS 명령 주입 취약점이 발견되었습니다. 세션 변수인 _cid를 검증 없이 shell_exec() 함수에 직접 전달하여 공격자가 임의의 명령을 실행할 수 있습니다. 이 취약점은 시스템 파일 탈취나 데이터베이스 변조 등 심각한 피해를 초래할 수 있습니다.

💡 쉬운 설명

프로그램이 사용자의 정보를 처리할 때 검사 과정 없이 컴퓨터 명령어로 바로 사용하면서 발생하는 문제입니다. 해커가 이 틈을 타서 서버에 몰래 명령을 내려 시스템을 장악할 수 있습니다.

🇺🇸 원문 (English)

Chamilo LMS is an open-source learning management system. In versions prior to 2.0.0-RC.3, an OS Command Injection vulnerability exists in the main/inc/ajax/gradebook.ajax.php endpoint within the export_all_certificates action, where the course code retrieved from the session variable $_SESSION['_cid'] via api_get_course_id() is concatenated directly into a shell_exec() command string without sanitization or escaping using escapeshellarg(). If an attacker can manipulate or poison their session data to inject shell metacharacters into the _cid variable, they can achieve arbitrary command execution on the underlying server. Successful exploitation grants full access to read system files and credentials, alters the application and database, or disrupts server availability. This issue has been fixed in version 2.0.0-RC.3.

📍 영향받는 시스템

Chamilo LMS 2.0.0-RC.3 미만 버전

⚔️ 공격 벡터

세션 데이터($_SESSION['_cid'])를 조작하여 쉘 메타문자를 주입하는 방식

🛡️ 대응 방법

Chamilo LMS를 2.0.0-RC.3 이상의 버전으로 업데이트하십시오.

🔧 검증 코드

설치된 Chamilo LMS의 버전이 2.0.0-RC.3 미만인지 확인하십시오.

Shell / Script
php -r 'echo "Chamilo version check";' # 실제 버전 확인은 설치된 소스 코드의 버전 정의 파일을 확인해야 함

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server