PT-2018-4245 · Ruby · Ciborg

Larry W. Cashdollar

+1

·

Published

2018-01-10

·

Updated

2018-07-23

·

CVE-2014-5003

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions ciborg gem version 3.0.0
Description The issue concerns a /tmp file race condition in the chef/travis-cookbooks/ci environment/perlbrew/recipes/default.rb file of the ciborg gem. This allows a malicious local user to create a symlink attack on /tmp/perlbrew-installer, potentially overwriting the file's contents with their own code. This could lead to the execution of arbitrary code with the privileges of the ciborg process owner.
Recommendations For ciborg gem version 3.0.0, consider restricting access to the /tmp/perlbrew-installer file to prevent a malicious user from creating a symlink attack. As a temporary workaround, avoid using the chef/travis-cookbooks/ci environment/perlbrew/recipes/default.rb recipe until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2014-5003
GHSA-G982-9R8G-6QXW

Affected Products

Ciborg