AI description
CVE-2025-27610 is a path traversal vulnerability found in Rack, a Ruby web server interface, specifically within the Rack::Static middleware. This vulnerability arises because Rack::Static doesn't properly sanitize user-supplied paths when serving files. This lack of sanitization allows attackers to use encoded path traversal sequences to access files outside the intended static file directory. By exploiting this vulnerability, an attacker could potentially gain unauthorized access to sensitive information, including configuration files, credentials, and other confidential data located within the specified "root" directory. To successfully exploit this, the attacker needs to be able to determine the path of the files they are trying to access.
- Description
- Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.13, 3.0.14, and 3.1.12, `Rack::Static` can serve files under the specified `root:` even if `urls:` are provided, which may expose other files under the specified `root:` unexpectedly. The vulnerability occurs because `Rack::Static` does not properly sanitize user-supplied paths before serving files. Specifically, encoded path traversal sequences are not correctly validated, allowing attackers to access files outside the designated static file directory. By exploiting this vulnerability, an attacker can gain access to all files under the specified `root:` directory, provided they are able to determine then path of the file. Versions 2.2.13, 3.0.14, and 3.1.12 contain a patch for the issue. Other mitigations include removing usage of `Rack::Static`, or ensuring that `root:` points at a directory path which only contains files which should be accessed publicly. It is likely that a CDN or similar static file server would also mitigate the issue.
- Source
- security-advisories@github.com
- NVD status
- Received
CVSS 3.1
- Type
- Secondary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Severity
- HIGH
- security-advisories@github.com
- CWE-23
Hype score is a measure of social media activity compared against trending CVEs from the past 12 months. Max score 100.
- Hype score
23
🚨 Multiple vulnerabilities found in Rack Ruby web server, risking unauthorized file access and data breaches. CVE-2025-27610 allows unauthenticated sensitive data access. ⚠️ #RackRuby #DataBreach #USA link: https://t.co/zdIDOklCV1 https://t.co/9sabljI3gx
@TweetThreatNews
25 Apr 2025
10 Impressions
0 Retweets
1 Like
0 Bookmarks
0 Replies
0 Quotes
👀 Hackers could be one path away from your sensitive files! 🚨 New CVEs expose major flaws in Rack & Infodraw systems: 🔹 CVE-2025-27610 lets attackers read config files & credentials via path traversal. 🔹 Infodraw CVE-2025-43928 allows any file to be read or
@TheHackersNews
25 Apr 2025
9897 Impressions
20 Retweets
66 Likes
8 Bookmarks
1 Reply
0 Quotes
Three vulnerabilities. One major wake-up call for anyone using Rack. OPSWAT’s 515 Security Team discovered critical flaws in the Ruby framework powering web apps around the world, including a path traversal vulnerability (CVE-2025-27610) that could expose sensitive files to htt
@OPSWAT
24 Apr 2025
52 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
🚨 CVE-2025-27610 🔴 HIGH (7.5) 🏢 rack - rack 🏗️ < 2.2.13 🔗 https://t.co/a8o8YIjBJQ 🔗 https://t.co/MZEOJr1s8y #CyberCron #VulnAlert #InfoSec https://t.co/jt2lPi0R8k
@cybercronai
12 Mar 2025
19 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
CVE-2025-27610 Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.13, 3.0.14, and 3.1.12, `Rack::Static` can serve files under the specified `… https://t.co/Ravm8A2S3C
@CVEnew
10 Mar 2025
548 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes