🔍 CVE-2026-110251

5.4
CVSS Score
MEDIUM
2026-10-31
2026-11-06 19:17
✅ 완료

🇰🇷 한글 설명

Photo Reviews for WooCommerce 플러그인 1.2.31 이하 버전에는 권한 검증이 없는 미디어 라이브러리 파일 삭제 취약점이 존재합니다. 공격자는 리뷰 댓글에 임의의 첨부파일 ID를 삽입하여 관리자 계정 없이도 해당 파일을 영구 삭제할 수 있습니다.

💡 쉬운 설명

이 취약점은 쇼핑몰 리뷰에 사진을 첨부하는 기능의 결함입니다. 로그인하지 않은 사람도 워드프레스 미디어 라이브러리의 다른 파일을 지울 수 있습니다.

🇺🇸 원문 (English)

The Photo Reviews for WooCommerce plugin for WordPress is vulnerable to unauthorized Media Library File Deletion in all versions up to, and including, 1.2.31. This is due to the `delete_reviews_image()` function's `delete_comment` hook trusting attachment IDs supplied via the `wcpr_image_upload_id` POST parameter that were stored in comment meta without any ownership or capability check — `viwcpr_filter_review_image_ids()` verifies only that each submitted ID refers to an attachment post type, not that the submitter uploaded or owns it. This makes it possible for unauthenticated attackers to permanently delete any WordPress media library attachment — including its files on disk as recorded by `wp_delete_attachment()` — by embedding attacker-chosen attachment IDs into a review comment, then waiting for a moderator to remove the review or for WordPress core's `wp_scheduled_delete` cron to purge it after `EMPTY_TRASH_DAYS`. The nonce required to submit the parameter (`wcpr_image_upload`) is a shared public value printed on every product page for guest commenters and does not function as an authentication barrier, making this trivially exploitable without any account.

📍 영향받는 시스템

WordPress용 Photo Reviews for WooCommerce 플러그인 1.2.31 이하 모든 버전

⚔️ 공격 벡터

비로그인 사용자가 리뷰 작성 시 wcpr_image_upload_id 파라미터에 임의의 첨부파일 ID를 넣어 리뷰를 등록한 뒤, 관리자가 삭제하거나 휴지통 자동 비우기가 실행되면 해당 파일이 영구 삭제됩니다.

🛡️ 대응 방법

Photo Reviews for WooCommerce 플러그인을 1.2.32 이상 버전으로 즉시 업데이트하고, 업데이트 전까지는 플러그인을 비활성화하거나 리뷰 이미지 업로드 기능을 차단하며, 미디어 라이브러리 백업을 점검하십시오.

🔧 검증 코드

출력된 버전이 1.2.31 이하이면 취약하므로 1.2.32 이상으로 업데이트해야 하며, 결과가 없으면 플러그인이 설치되지 않은 것입니다.

Shell / Script
wp plugin list --name=photo-reviews-for-woocommerce --field=version 2>/dev/null || grep -m1 'Version' wp-content/plugins/photo-reviews-for-woocommerce/*.php 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

WordPress