🔍 CVE-2026-6070

9.1
CVSS Score
CRITICAL
2026-07-01
2026-07-01 13:56
✅ 완료

🇰🇷 한글 설명

WordPress용 WP-BusinessDirectory 플러그인 4.0.1 이하 버전에서 인증되지 않은 사용자가 임의의 파일을 삭제할 수 있는 취약점이 발견되었습니다. JBusinessDirectoryControllerUpload 클래스의 remove() 메서드에서 경로 검증이 미흡하여, 공격자가 경로 탐색(Path Traversal) 공격을 통해 서버의 핵심 설정 파일인 wp-config.php 등을 삭제할 수 있습니다.

💡 쉬운 설명

로그인하지 않은 해커가 웹사이트의 중요한 설정 파일을 마음대로 지워버릴 수 있는 위험한 보안 결함입니다. 이 공격을 받으면 웹사이트가 작동을 멈추거나 데이터가 손실될 수 있습니다.

🇺🇸 원문 (English)

The WP-BusinessDirectory plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Deletion in versions up to and including 4.0.1. This is due to insufficient path validation in the remove() method of the JBusinessDirectoryControllerUpload class. The task=upload.remove endpoint is accessible without authentication via the plugin's frontend routing system. The _filename parameter is accepted with RAW filter (no sanitization), and the helper function makePathFile() only normalizes directory separator characters without stripping path traversal sequences (../). When combined with the _path_type=2 parameter, which sets the base directory to the plugin's site folder, an attacker can supply a _filename value containing ../ sequences to traverse outside the plugin directory and call PHP's unlink() on arbitrary files — including wp-config.php, wp-config-backup.php, or other critical server files accessible to the web server process. This makes it possible for unauthenticated attackers to delete arbitrary files on the server.

📍 영향받는 시스템

WP-BusinessDirectory plugin (versions up to and including 4.0.1)

⚔️ 공격 벡터

인증되지 않은 상태에서 task=upload.remove 엔드포인트에 경로 탐색 문자(../)가 포함된 _filename 파라미터를 전송하여 공격

🛡️ 대응 방법

WP-BusinessDirectory 플러그인을 최신 버전으로 업데이트하거나, 해당 취약점이 해결된 패치를 적용하십시오.

🔧 검증 코드

출력된 결과에서 wp-businessdirectory의 버전이 4.0.1 이하인지 확인하십시오.

Shell / Script
wp-cli plugin list --allow-root | grep -E 'wp-businessdirectory'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP