漏洞标题
carrierWave 有一个 content-type 允许列表绕过漏洞,可能导致 XSS 攻击。
漏洞描述信息
载波(CarrierWave)是一个解决 Rails、Sinatra 和其他 Ruby Web 框架中的文件上传解决方案。载波具有 Content-Type 允许列表绕过漏洞,这可能导致 XSS。在 `allowlisted_content_type?` 中,通过进行部分匹配来确定 Content-Type 权限。如果 `allowlisted_content_type?` 中的 `content_type` 参数传递一个由攻击者创建的值,则允许包含在 `content_type_allowlist` 之外的内容类型。此问题已在 2.2.5 和 3.0.5 版本中修复。
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
漏洞类别
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
漏洞标题
CarrierWave has a content-type allowlist bypass vulnerability, possibly leading to XSS
漏洞描述信息
CarrierWave is a solution for file uploads for Rails, Sinatra and other Ruby web frameworks. CarrierWave has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in `allowlisted_content_type?` determines Content-Type permissions by performing a partial match. If the `content_type` argument of `allowlisted_content_type?` is passed a value crafted by the attacker, Content-Types not included in the `content_type_allowlist` will be allowed. This issue has been patched in versions 2.2.5 and 3.0.5.
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
漏洞类别
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
漏洞标题
CarrierWave 跨站脚本漏洞
漏洞描述信息
Mshibuya CarrierWave是美国Mshibuya个人组织的一个上传工具。提供了一种简单且极为灵活的方式来从Ruby应用程序上传文件。 CarrierWave 3.0.5之前、2.2.5之前版本存在跨站脚本漏洞,该漏洞源于应用内存在 Content-Type 白名单绕过漏洞,可能导致跨站脚本。
CVSS信息
N/A
漏洞类别
跨站脚本