Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
elFinder: SSRF protection bypass via DNS rebinding in the `fsock_get_contents()` fallback
Vulnerability Description
elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Prior to 2.1.70, elFinder URL uploads in php/elFinder.class.php can bypass server-side request forgery protections when PHP cURL is unavailable because validate_address() validates $info['ip'], but get_remote_contents() selects fsock_get_contents(), which connects to $arr['host'] and performs a second DNS resolution. An attacker able to submit a URL upload can use DNS rebinding to have the first resolution return a public address and the connection resolution return a loopback or private address, causing the internal HTTP response body to be stored as an uploaded file and made readable through elFinder. After a successful fetch, get_headers($url, true) separately requests the original hostname without reusing the validated and pinned connection, creating an additional blind server-side request forgery path even when curl_get_contents() is selected. This issue is fixed in version 2.1.70.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Vulnerability Type
服务端请求伪造(SSRF)
Vulnerability Title
Studio 42 elFinder 服务端请求伪造漏洞
Vulnerability Description
Studio 42 elFinder是Studio 42团队的一款基于Web的文件管理组件。 Studio 42 elFinder 2.1.70之前版本存在服务端请求伪造漏洞,该漏洞源于在PHP cURL不可用时,URL上传功能中validate_address()与get_remote_contents()对主机名进行二次DNS解析,可被DNS重绑定绕过服务端请求伪造保护,导致内部HTTP响应体被存储为可读文件,并可能造成盲服务端请求伪造。
CVSS Information
N/A
Vulnerability Type
N/A