🔍 CVE-2026-34161

5.4
CVSS Score
MEDIUM
2026-04-14
2026-07-24 22:10
✅ 완료

🇰🇷 한글 설명

Chamilo LMS 2.0.0-RC.3 미만 버전에서 소셜 게시물 첨부 파일 업로드 기능에 저장형 XSS 취약점이 존재합니다. 인증된 사용자가 악성 HTML 파일을 업로드하면 서버에서 적절한 검증 없이 파일을 제공하여, 브라우저에서 자바스크립트가 실행될 수 있습니다. 이를 통해 세션 탈취, 계정 권한 탈취 및 관리자 권한 상승 공격이 가능합니다.

💡 쉬운 설명

게시판에 파일을 올릴 때 악성 코드가 담긴 파일을 올리면, 다른 사용자가 그 파일을 볼 때 컴퓨터가 해킹될 수 있는 문제입니다. 해커가 사용자의 로그인 정보를 훔치거나 관리자 권한을 가로챌 위험이 있습니다.

🇺🇸 원문 (English)

Chamilo LMS is an open-source learning management system. In versions prior to 2.0.0-RC.3, a Stored Cross-Site Scripting (XSS) vulnerability exists in the social post attachment upload functionality, where an authenticated user can upload a malicious HTML file containing JavaScript via the /api/social_post_attachments endpoint. The uploaded file is served back from the application at the generated contentUrl without sanitization, content type restrictions, or a Content-Disposition: attachment header, causing the JavaScript to execute in the browser within the application's origin. Because the payload is stored server-side and runs in the trusted origin, an attacker can perform session hijacking, account takeover, privilege escalation (if an admin views the link), and arbitrary actions on behalf of the victim. This issue has been fixed in version 2.0.0-RC.3.

📍 영향받는 시스템

Chamilo LMS 2.0.0-RC.3 미만 모든 버전

⚔️ 공격 벡터

/api/social_post_attachments 엔드포인트를 통한 악성 HTML 파일 업로드

🛡️ 대응 방법

Chamilo LMS를 보안 패치가 적용된 버전인 2.0.0-RC.3 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 2.0.0-RC.3 이상의 버전 정보가 출력되면 안전하며, 그 미만 버전이면 취약합니다.

Shell / Script
curl -s http://<target_url>/api/version | grep -E '2\.0\.0-RC\.3'

📊 CVSS Vector String

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