---------------------------------------------------------------------- Do you need accurate and reliable IDS / IPS / AV detection rules? Get in-depth vulnerability details: http://secunia.com/binary_analysis/sample_analysis/ ---------------------------------------------------------------------- TITLE: JHead "DoCommand()" Shell Command Injection Security Issue SECUNIA ADVISORY ID: SA32420 VERIFY ADVISORY: http://secunia.com/advisories/32420/ CRITICAL: Less critical IMPACT: Privilege escalation WHERE: Local system SOFTWARE: JHead 2.x http://secunia.com/advisories/product/20202/ DESCRIPTION: A security issue has been reported in JHead, which can be exploited by malicious, local users to gain escalated privileges. The security issue is caused due to the "DoCommand()" function improperly sanitising filenames before using them in a call to "system()". This can be exploited to execute arbitrary commands with escalated privileges by tricking a user into using the "-cmd" argument to process a file having a specially crafted filename. The security issue is reported in version 2.84. Other versions may also be affected. SOLUTION: Do not process untrusted files using the "-cmd" argument. PROVIDED AND/OR DISCOVERED BY: Reported by John Dong in an Ubuntu bug report. ORIGINAL ADVISORY: https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/271020 http://www.openwall.com/lists/oss-security/2008/10/16/3 ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------