Bug 1026910 (CVE-2013-4495) - CVE-2013-4495 torque: arbitrary code execution via job submission
Summary: CVE-2013-4495 torque: arbitrary code execution via job submission
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2013-4495
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1029752 1029754
Blocks: 1026918
TreeView+ depends on / blocked
 
Reported: 2013-11-05 15:56 UTC by Vincent Danen
Modified: 2023-05-12 00:53 UTC (History)
1 user (show)

Fixed In Version: torque 4.2.6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-24 16:02:24 UTC
Embargoed:


Attachments (Terms of Use)

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]


Note You need to log in before you can comment on or make changes to this bug.