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 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 used incomplete filesystem containment checks in src/Filesystem/Dir.php and src/Filesystem/F.php through Kirby\Filesystem\Dir::realpath() and Kirby\Filesystem\F::realpath(). The checks accepted a sibling directory whose path shared the intended root's string prefix, such as /var/www/site2 next to /var/www/site, because they did not require an exact match or a DIRECTORY_SEPARATOR boundary. A remote attacker could use Kirby\Cms\Media::thumb() to create and access thumbnails from image files in a PHP-readable sibling directory when that directory contained a valid .json thumbnail job file, potentially exposing staging sites, backups, or other internal sites and deleting the job file during processing. 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:N/VI:N/VA:N/SC:H/SI:N/SA:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Kirby 路径遍历漏洞
Vulnerability Description
Kirby是Kirby个人开发者的一款内容管理服务。 Kirby 4.9.5之前版本和5.0.0至5.5.2之前版本存在路径遍历漏洞,该漏洞源于文件系统包含检查不完整,远程攻击者可能通过Kirby\Cms\Media::thumb()创建和访问PHP可读兄弟目录中图像文件的缩略图,暴露暂存站点、备份或其他内部站点,并删除作业文件。
CVSS Information
N/A
Vulnerability Type
N/A