PT-2014-8296 · Ruby · Ruby On Rails

Published

2014-11-18

·

Updated

2019-08-08

·

CVE-2014-7829

CVSS v2.0

5.0

Medium

VectorAV:N/AC:L/Au:N/C:P/I:N/A:N
Name of the Vulnerable Software and Affected Versions Action Pack in Ruby on Rails versions 3.x through 3.2.20 Action Pack in Ruby on Rails versions 4.0.x through 4.0.11 Action Pack in Ruby on Rails versions 4.1.x through 4.1.7 Action Pack in Ruby on Rails versions 4.2.x through 4.2.0.beta3
Description A directory traversal vulnerability exists in the actionpack/lib/action dispatch/middleware/static.rb file in Action Pack in Ruby on Rails. This issue allows remote attackers to determine the existence of files outside the application root via vectors involving a /..%2F sequence or a (backslash) character when serve static assets is enabled.
Recommendations For Action Pack in Ruby on Rails versions 3.x through 3.2.20, update to version 3.2.21 or later. For Action Pack in Ruby on Rails versions 4.0.x through 4.0.11, update to version 4.0.12 or later. For Action Pack in Ruby on Rails versions 4.1.x through 4.1.7, update to version 4.1.8 or later. For Action Pack in Ruby on Rails versions 4.2.x through 4.2.0.beta3, update to version 4.2.0.beta4 or later. As a temporary workaround, consider disabling the serve static assets option until a patch is available.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2014-7829
GHSA-29GR-W57F-RPFW
GHSA-5XMJ-WM96-FMW8
GHSA-H56M-VWXC-3QPW
OPENSUSE-SU-2024:10332-1
SUSE-SU-2015:0863-1

Affected Products

Ruby On Rails