提交 #935194: wuzhicms <=4.1.0 SSRF信息

标题wuzhicms <=4.1.0 SSRF
描述The rich-text editor's remote-image-fetch feature, attachment::ckeditor(), performs no login-state/cookie validation whatsoever (in stark contrast to file_brower() in the same file, which does require authentication). The action=catchimage branch calls ckditor::saveRemote(), which takes URLs from the user-submitted source[] array and hands each one to Uploader::saveRemote(). That method's only validation on the URL is strpos($imgUrl,"http")!==0 (merely requiring an http prefix) — there is no internal/private IP blacklist, no domain whitelist, and no port restriction. It then directly calls get_headers($imgUrl,1) and readfile($imgUrl,false,$context), causing the server to issue a request, under its own network identity, to any attacker-specified host:port.
来源⚠️ https://github.com/wuzhicms/wuzhicms/issues/221
用户
 ZAST.AI (UID 87884)
提交2026-08-18 12時07分 (29 日前)
管理2026-09-16 09時43分 (29 days later)
状态已接受
VulDB条目405512 [WuzhiCMS 直到 4.1.0 Remote Image Fetch index.php ckditor::saveRemote source[] 权限提升]
积分19

Do you want to use VulDB in your project?

Use the official API to access entries easily!