🇰🇷 한글 설명
WordPress용 WebToffee WooCommerce PDF Invoices 플러그인의 get_image_src_in_base64 함수에서 디렉토리 트래버설 취약점이 발견되었습니다. 이를 통해 구독자 권한 이상의 인증된 공격자가 서버의 임의 파일을 읽어 민감한 정보를 탈취할 수 있습니다.
💡 쉬운 설명
로그인 권한이 있는 사용자가 플러그인의 허점을 이용해 서버 내부의 중요한 파일을 몰래 훔쳐볼 수 있는 문제입니다. 공격자는 이를 통해 비밀번호나 설정 파일 같은 민감한 정보를 읽어낼 수 있습니다.
🇺🇸 원문 (English)
The WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 4.9.8 via the get_image_src_in_base64 function. This makes it possible for authenticated attackers, with subscriber-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information. The base64-encoded file contents are embedded into the cached invoice HTML and served directly to the attacker via the plugin's own Print/Download invoice endpoints, which require only a valid nonce and access key.
📍 영향받는 시스템
WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels plugin (버전 4.9.8 이하)
⚔️ 공격 벡터
인증된 사용자가 특정 엔드포인트를 통해 디렉토리 경로를 조작하여 임의의 파일을 요청함
🛡️ 대응 방법
해당 플러그인을 최신 버전으로 업데이트하여 취약점이 해결된 버전을 사용하십시오.
🔧 검증 코드
출력된 결과에서 플러그인 이름과 현재 설치된 버전을 확인하여 4.9.8 이하인지 체크합니다.
wp plugin list --allow-root | grep -E 'webtoffee-woocommerce-pdf-invoices'