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
Kirby: Access to image files and limited access to JSON files outside of the site root via path traversal in the media handling
Vulnerability Description
Kirby is an open-source content management system. Prior to 4.9.5 and 5.5.2, depending on the release line, Kirby's media handler in src/Cms/Media.php allowed Kirby\Cms\Media::thumb() to append a path-bearing filename to a validated parent media directory. On nginx, PHP's built-in server, or Apache with AllowEncodedSlashes enabled, a remote attacker could submit encoded slash characters such as %2f in the filename and traverse outside the parent's media directory. Differences between responses for existing and nonexistent thumbnail configurations disclosed whether an arbitrary .json file existed, and a .json file containing a valid filename key could cause the referenced image to be returned and the job file to be deleted. The related file::version path in src/Filesystem/Asset.php also accepted ../ sequences outside the intended index root. This issue is fixed in versions 4.9.5 and 5.5.2.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Kirby 路径遍历漏洞
Vulnerability Description
Kirby是Kirby个人开发者的一款内容管理服务。 Kirby 4.9.5之前版本和5.0.0至5.5.2之前版本存在路径遍历漏洞,该漏洞源于src/Cms/Media.php中的媒体处理器允许将包含路径的文件名附加到已验证的父媒体目录,且src/Filesystem/Asset.php中的相关路径接受../序列,可能导致远程攻击者通过编码斜杠字符遍历目录,泄露任意.json文件是否存在,并可能导致相关文件被删除。
CVSS Information
N/A
Vulnerability Type
N/A