🇰🇷 한글 설명
W-Agora 4.0의 bn_dir_default 매개변수를 통한 원격 파일 포함(RFI) 취약점으로, 공격자가 외부 URL을 입입력하여 임의의 PHP 코드를 실행할 수 있습니다. 이 취약점은 add_user.php, create_forum.php 등 9개의 파일에 존재합니다.
💡 쉬운 설명
W-Agora 웹 애플리케이션의 폴더 경로 설정을 조작하면 공격자가 원격 서버의 파일을 실행할 수 있는 문제입니다. 이를 통해 공격자는 서버에 악성 코드를 심고 웹사이트를 제어할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in W-Agora 4.0 allow remote attackers to execute arbitrary PHP code via a URL in the bn_dir_default parameter to (1) add_user.php, (2) create_forum.php, (3) create_user.php, (4) delete_notes.php, (5) delete_user.php, (6) edit_forum.php, (7) mail_users.php, (8) moderate_notes.php, and (9) reorder_forums.php. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
⚔️ 공격 벡터
bn_dir_default 매개변수에 공격자 제어 URL을 입력하여 원격 PHP 파일 포함 및 코드 실행
🛡️ 대응 방법
W-Agora를 최신 버전으로 업데이트하거나, PHP 설정에서 allow_url_include를 OFF로 설정하고 입력값 검증 추가
🔧 검증 코드
W-Agora가 설치되어 있으면 해당 파일의 경로가 출력되고, 설치되어 있지 않으면 아무것도 나타나지 않습니다.
find /var/www -type f -name 'add_user.php' -o -name 'create_forum.php' 2>/dev/null | head -1