🇰🇷 한글 설명
BuddyPress XProfile Custom Image Field 플러그인의 경로 순회(Path Traversal) 취약점으로, 공격자가 제한된 디렉토리를 벗어나 시스템의 임의 파일에 접근할 수 있습니다. 버전 3.0.1 이하가 영향을 받으며, 부적절한 경로명 검증으로 인해 발생합니다.
💡 쉬운 설명
이미지 업로드 기능에서 '../../../' 같은 특수 경로를 사용하면 본래 접근할 수 없는 서버의 민감한 파일들에 접근할 수 있는 보안 문제입니다. 공격자가 설정 파일, 데이터베이스 백업, 개인정보 등을 탈취할 수 있게 됩니다.
🇺🇸 원문 (English)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Alex Githatu BuddyPress XProfile Custom Image Field buddypress-xprofile-image-field allows Path Traversal.This issue affects BuddyPress XProfile Custom Image Field: from n/a through <= 3.0.1.
📍 영향받는 시스템
BuddyPress XProfile Custom Image Field 플러그인 버전 3.0.1 이하
⚔️ 공격 벡터
이미지 업로드 기능에서 상대 경로(../)를 포함한 파일명을 제출하여 웹루트 상위 디렉토리의 파일에 접근
🛡️ 대응 방법
플러그인을 3.0.2 이상으로 긴급 업그레이드하거나, 업그레이드 전까지 플러그인 기능 비활성화 및 WAF 규칙으로 경로 순회 패턴 차단
🔧 검증 코드
Version 필드에서 3.0.1 이하이면 취약, 3.0.2 이상이면 패치됨. 플러그인이 없으면 'cannot open' 에러 출력
grep 'Version' /var/www/html/wp-content/plugins/buddypress-xprofile-image-field/buddypress-xprofile-image-field.php 2>/dev/null | head -1