🔍 CVE-2026-5060

6.5
CVSS Score
MEDIUM
2026-07-29
2026-07-30 14:01
✅ 완료

🇰🇷 한글 설명

MasterStudy LMS WordPress 플러그인의 모든 버전(3.7.14 포함)에서 부적절한 직접 객체 참조(IDOR) 취약점이 발견되었습니다. stm_lms_delete_cover() 함수가 파일 ID에 대한 소유권 검증을 수행하지 않아, 강사 권한 이상의 인증된 공격자가 임의의 첨부 파일을 삭제할 수 있습니다.

💡 쉬운 설명

강사 권한을 가진 사용자가 다른 사용자의 파일을 허락 없이 삭제할 수 있는 보안 결함입니다. 공격자가 파일 번호를 하나씩 바꿔가며 입력하면 사이트 내의 중요한 파일들을 마음대로 지울 수 있습니다.

🇺🇸 원문 (English)

The MasterStudy LMS WordPress Plugin – for Online Courses and Education plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 3.7.14. This is due to the `stm_lms_delete_cover()` function lacking ownership validation on the `file_id` parameter before passing it to `wp_delete_attachment()`. This makes it possible for authenticated attackers, with Instructor-level access and above, to delete arbitrary attachments belonging to any user by enumerating sequential attachment IDs.

📍 영향받는 시스템

MasterStudy LMS WordPress Plugin 버전 3.7.14 및 그 이하 모든 버전

⚔️ 공격 벡터

강사 권한을 가진 공격자가 순차적인 첨부 파일 ID를 추측하여 삭제 함수를 호출하는 방식

🛡️ 대응 방법

플러그인을 최신 버전으로 업데이트하거나, stm_lms_delete_cover() 함수에 파일 소유권 검증 로직을 추가해야 합니다.

🔧 검증 코드

출력된 플러그인 버전이 3.7.14 이하인지 확인하여 취약 여부를 판단합니다.

Shell / Script
wp plugin list --status=active | grep -i 'masterstudy-lms' && wp plugin list --all | grep -E 'masterstudy-lms' | awk '{print $2 " " $3}'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

WordPress