🇰🇷 한글 설명
Accounting for WooCommerce 플러그인의 PHP include/require 문에서 파일명을 부적절하게 제어하여 발생하는 로컬 파일 포함(LFI) 취약점입니다. 공격자가 플러그인의 파일 포함 기능을 악용하여 시스템의 민감한 파일에 접근할 수 있습니다. 버전 1.6.8 이하 모든 버전이 영향을 받습니다.
💡 쉬운 설명
WooCommerce 회계 플러그인이 사용자 입력을 검증하지 않아 공격자가 서버의 원하는 파일을 읽을 수 있습니다. 설정 파일, 데이터베이스 정보 등 민감한 정보가 노출될 수 있습니다.
🇺🇸 원문 (English)
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Bastien Ho Accounting for WooCommerce accounting-for-woocommerce allows PHP Local File Inclusion.This issue affects Accounting for WooCommerce: from n/a through <= 1.6.8.
📍 영향받는 시스템
Accounting for WooCommerce 플러그인 1.6.8 이하 모든 버전
⚔️ 공격 벡터
플러그인의 파일 포함 파라미터를 조작하여 /etc/passwd, wp-config.php 등의 파일 접근
🛡️ 대응 방법
플러그인을 1.6.9 이상으로 업데이트하거나 플러그인 비활성화/제거
🔧 검증 코드
플러그인이 설치된 경우 버전 번호를 확인하고, 1.6.8 이하이면 취약함. 플러그인이 없으면 영향 없음.
grep -r 'accounting-for-woocommerce' /path/to/wordpress/wp-content/plugins/ 2>/dev/null | head -1 && cat /path/to/wordpress/wp-content/plugins/accounting-for-woocommerce/accounting-for-woocommerce.php 2>/dev/null | grep 'Version:' | head -1