🇰🇷 한글 설명
WordPress의 Auto Upload Images 플러그인 3.3.2 이하 버전에서 제한적인 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. 인증된 기여자(Contributor) 이상의 권한을 가진 공격자가 downloadImage 함수를 악용하여 내부 네트워크나 루프백 주소로 임의의 웹 요청을 보낼 수 있습니다. 이는 wp_remote_get() 함수를 사용하면서도 내부 IP 주소에 대한 검증이 미흡하기 때문에 발생합니다.
💡 쉬운 설명
웹사이트 관리 도구의 허점을 이용해 공격자가 서버 내부의 비밀 정보가 담긴 주소로 몰래 접속을 시도할 수 있는 문제입니다. 게시글에 특수한 이미지 태그를 넣어 서버가 내부 네트워크에 접근하도록 유도하는 방식입니다.
🇺🇸 원문 (English)
The Auto Upload Images plugin for WordPress is vulnerable to Limited Server-Side Request Forgery in all versions up to, and including, 3.3.2 via the downloadImage function. This makes it possible for authenticated attackers, with contributor-level access and above, to make web requests to arbitrary locations originating from the web application. The plugin uses wp_remote_get() rather than wp_safe_remote_get(), and the validate() method only rejects URLs whose host matches the site's own hostname, failing to block requests to private, loopback, or link-local addresses (e.g., 127.0.0.1, 10.0.0.0/8, 169.254.169.254). Attackers can trigger this by embedding a crafted <img> tag with a src attribute pointing to internal network hosts in post content and submitting it for processing.
📍 영향받는 시스템
WordPress Auto Upload Images plugin (버전 3.3.2 및 그 이하 모든 버전)
⚔️ 공격 벡터
기여자 이상의 권한을 가진 사용자가 내부 IP를 포함한 조작된 <img> 태그를 게시글에 삽입하여 전송
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, wp_safe_remote_get()을 사용하도록 코드를 수정하고 내부 IP 차단 로직을 강화해야 합니다.
🔧 검증 코드
출력 결과에 'auto-upload-images'가 포함되어 있다면 플러그인이 설치된 것이며, 이후 설치된 버전을 확인하여 3.3.2 이하인지 점검해야 합니다.
wp plugin list --status=active | grep -i 'auto-upload-images'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server