Bug 1026910 (CVE-2013-4495)

Summary: CVE-2013-4495 torque: arbitrary code execution via job submission
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: torque 4.2.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-24 16:02:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1029752, 1029754    
Bug Blocks: 1026918    

Description Vincent Danen 2013-11-05 15:56:09 UTC
The TORQUE pbs_server daemon was found to pass some user-input data to popen() in order to send an email.  Because pbs_server runs as root, this could allow an authenticated attacker to execute arbitrary code on the pbs_server host with root privileges.

The upstream 4.2.6 release corrects this flaw by forking and calling exec() to the sendmail program instead of passing the entire user-supplied string to popen().


Acknowledgements:

Red Hat would like to thank David Beer of Adaptive Computer for reporting this issue.  Upstream acknowledges Matt Ezell of Oak Ridge National Labs as the original reporter.

Comment 2 Kurt Seifried 2013-11-13 06:23:00 UTC
Created torque tracking bugs for this issue:

Affects: fedora-all [bug 1029752]
Affects: epel-all [bug 1029754]