Path traversal in ruby-actionmailer (Alpine package)



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2014-7818
CWE-ID CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
ruby-actionmailer (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Path traversal

EUVDB-ID: #VU32464

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2014-7818

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.20, 4.0.x before 4.0.11, 4.1.x before 4.1.7, and 4.2.x before 4.2.0.beta3, when serve_static_assets is enabled,. A remote authenticated attacker can send a specially crafted HTTP request and remote attackers to determine the existence of files outside the application root via a /.%2F sequence.

Mitigation

Install update from vendor's website.

Vulnerable software versions

ruby-actionmailer (Alpine package): 3.2.13-r0 - 4.0.10-r1

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=dad2215438e3ff0d93efdc6b8a7c4f03bd9a4292
https://git.alpinelinux.org/aports/commit/?id=6c9332933b4506fd7325c6066adabc32d2a6fac0
https://git.alpinelinux.org/aports/commit/?id=e9cf2371bef95401aee294e176db38d939df2b13
https://git.alpinelinux.org/aports/commit/?id=0d683347f6dbd7b6c31cc7800d8be4203045431e


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###