ID CVE-2013-6421
Summary The unpack_zip function in archive_unpacker.rb in the sprout gem 0.7.246 for Ruby allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a (1) filename or (2) path.
References
Vulnerable Configurations
  • cpe:2.3:a:projectsprouts:sprout:0.7.246:-:-:*:-:ruby:*:*
    cpe:2.3:a:projectsprouts:sprout:0.7.246:-:-:*:-:ruby:*:*
CVSS
Base: 7.5 (as of 20-12-2013 - 04:38)
Impact:
Exploitability:
CWE CWE-94
CAPEC
  • Code Injection
    An adversary exploits a weakness in input validation on the target to inject new code into that which is currently executing. This differs from code inclusion in that code inclusion involves the addition or replacement of a reference to a code file, which is subsequently loaded by the target and used as part of the code of some application.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
refmap via4
bugtraq 20131214 Command injection vulnerability in Ruby Gem sprout 0.7.246
misc http://vapid.dhs.org/advisories/sprout-0.7.246-command-inj.html
mlist
  • [oss-security] 20131202 Command injection vulnerability in Ruby Gem sprout 0.7.246
  • [oss-security] 20131202 Re: Command injection vulnerability in Ruby Gem sprout 0.7.246
Last major update 20-12-2013 - 04:38
Published 12-12-2013 - 18:55
Last modified 20-12-2013 - 04:38
Back to Top