Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

Ruby Mail Gem Directory Traversal and Shell Command Injection Vulnerabilities

-

Release Date:  2012-04-26    Views:  1,804

Secunia Advisory SA48970

Where:

From remote

Impact:

Manipulation of data, System access

Solution Status:

Vendor Patch

CVE Reference(s):

Description


Some vulnerabilities have been reported in the Mail gem for Ruby, which can be exploited by malicious people to manipulate certain data and compromise a vulnerable system.

1) Input passed via the "to" parameter within the file delivery method is not properly verified before being used and can be exploited to modify arbitrary files via directory traversal attacks.

2) Certain input passed to the sendmail and exim delivery methods is not properly sanitised before being used as a command line argument and can be exploited to inject arbitrary shell commands.

Successful exploitation of this vulnerability may allow execution of arbitrary code, but requires an application using the gem to accept untrusted input.

The vulnerabilities are reported in versions prior to 2.4.4.


Solution:
Update to version 2.4.4.

Provided and/or discovered by:
Reported by the vendor.

Original Advisory:
https://github.com/mikel/mail/blob/master/CHANGELOG.rdoc

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Ruby Mail Gem Directory Traversal and Shell Command Injection Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability