Lucene search
+L

Ruby Gem Creme Fraiche 0.6 Command Injection

🗓️ 14 May 2013 00:00:00Reported by Larry W. CashdollarType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 46 Views

Remote command Injection in Creme Fraiche 0.6 Ruby Gem. Converts Email to PDF files. Vendor notified on 5/13/2013, provided fix in 0.6.1 version released on 5/14/2013

Related
Code
`TITLE: Remote command Injection in Creme Fraiche 0.6 Ruby Gem  
  
DATE: 5/14/2013  
  
AUTHOR: Larry W. Cashdollar (@_larry0)  
  
DOWNLOAD: http://rubygems.org/gems/cremefraiche, http://www.uplawski.eu/technology/cremefraiche/  
  
DESCRIPTION: Converts Email to PDF files.  
  
VENDOR: Notifed on 5/13/2013, provided fix 5/14/2013  
  
FIX: Version in 0.6.1  
  
CVE: 2013-2090  
  
DETAILS: The following lines pass unsanitized user input directly to the command line.  
A malicious email attachment with a file name consisting of shell meta characters could inject commands into the shell.  
  
If the attacker is allowed to specify a filename (via a web gui) commands could be injected that way as well.  
  
218 cmd = "pdftk %s updateinfo %s output %s" %[pdf, infofile, tfile] 219 @log.debug('pdftk-command is ' << cmd) 220 pdftkresult = system( cmd)  
  
GREETINGS: @vladz,@quine,@BrandonTansey,@sushidude,@jkouns,@sub_space and @attritionorg  
  
ADVISORY: http://vapid.dhs.org/advisories/cremefraiche-cmd-inj.html  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation