Bug 1005918 (CVE-2013-4319)

Summary: CVE-2013-4319 torque: remote arbitrary command execution as root on cluster
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: fotis, garrick, karlthered, nixon
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:30:29 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: 1005919, 1005920    
Bug Blocks:    

Description Vincent Danen 2013-09-09 16:44:35 UTC
Upstream released a TORQUE security advisory [1] that indicated that a non-privileged user who was able to run jobs or login to a node which ran pbs_server or pbs_mom, could submit arbitrary jobs to a pbs_mom daemon to queue and run the job, which would run as root.  All versions of TORQUE are affected.

The advisory also notes the following mitigating factors:

- The user must be logged in on a node that is already legitimately able to
contact pbs_mom daemons or submit jobs.

- If a user submits a job via this defect and pbs_server is running,
pbs_server will kill the job unless job syncing is disabled. It may take up
to 45 seconds for pbs_server to kill the job.

A patch for 2.5 is available [2], as well as 4.x [3].  Fedora ships with TORQUE 3.x, so will need to backport (or forwardport) one of these patches.


[1] http://www.supercluster.org/pipermail/torqueusers/2013-September/016098.html
[2] http://www.adaptivecomputing.com/torquepatch/fix_mom_priv_2.5.patch
[3] http://www.adaptivecomputing.com/torquepatch/fix_mom_priv.patch


A CVE request has been made:

http://www.openwall.com/lists/oss-security/2013/09/09/4

Comment 1 Vincent Danen 2013-09-09 16:45:47 UTC
Created torque tracking bugs for this issue:

Affects: fedora-all [bug 1005919]
Affects: epel-all [bug 1005920]

Comment 2 Vincent Danen 2013-09-10 05:12:48 UTC
CVE-2013-4319 was assigned:

http://www.openwall.com/lists/oss-security/2013/09/09/11

Comment 3 Leif Nixon 2013-12-13 10:15:29 UTC
The Torque package in EPEL is no longer maintained, as far as I am aware. I recommend that it be withdrawn.

Comment 4 Fedora Update System 2014-10-18 16:59:39 UTC
torque-3.0.4-6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2014-10-18 17:00:08 UTC
torque-3.0.4-5.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Product Security DevOps Team 2019-06-08 02:30:29 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.