Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-29034— CarrierWave's Content-Type allowlist bypass vulnerability which possibly leads to XSS remained

Quick assessment

Affected
carrierwaveuploader carrierwave
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Mshibuya CarrierWave是美国Mshibuya个人组织的一个上传工具。提供了一种简单且极为灵活的方式来从Ruby应用程序上传文件。 CarrierWave存在安全漏洞。攻击者利用该漏洞执行跨站脚本攻击。

CVSS 6.8 · Medium EPSS 0.44% · P38

Possible ATT&CK Techniques 1 AI

T1505.003 · Web Shell
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-29034

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

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
CarrierWave's Content-Type allowlist bypass vulnerability which possibly leads to XSS remained
Source: CVE Program / CVE List V5
Vulnerability Description
CarrierWave is a solution for file uploads for Rails, Sinatra and other Ruby web frameworks. The vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by `content_type_allowlist`, by providing multiple values separated by commas. This bypassed value can be used to cause XSS. Upgrade to 3.0.7 or 2.2.6.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
解释冲突
Source: CVE Program / CVE List V5
Vulnerability Title
CarrierWave 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mshibuya CarrierWave是美国Mshibuya个人组织的一个上传工具。提供了一种简单且极为灵活的方式来从Ruby应用程序上传文件。 CarrierWave存在安全漏洞。攻击者利用该漏洞执行跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
carrierwaveuploader carrierwave >= 3.0.0, < 3.0.7 -

II. Public POCs for CVE-2024-29034

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-29034

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-29034 (1)

Vendor Advisories for CVE-2024-29034 (1)

IV. Related Vulnerabilities