Bug 1672382 (CVE-2019-3464) - CVE-2019-3464 rssh: rsync bypass resulting in arbitrary code execution when built with popt
Summary: CVE-2019-3464 rssh: rsync bypass resulting in arbitrary code execution when b...
Status: NEW
Alias: CVE-2019-3464
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=important,public=20190202,repo...
Keywords: Security
Depends On: 1672383 1672384
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-04 19:54 UTC by Laura Pardo
Modified: 2019-02-04 19:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Laura Pardo 2019-02-04 19:54:34 UTC
A flaw was found in rssh. If rsync is built with popt (as it is in Debian), the popt library will attempt to open and parse ~/.popt on the server and interpret it  as configuration for command line option parsing.  If the client can rsync a .popt file to the home directory of the user protected with rssh, this allows arbitrary code execution on the server via several paths.  The most obvious is via the popt exec feature which execs an arbitrary program as an external option filter, but a more sneaky approach is through the popt alias feature which allows one to alias a benign option (such as --server) to one that will run arbitrary code (such as --rsh).


References:
https://sourceforge.net/p/rssh/mailman/message/36536555/

Comment 1 Laura Pardo 2019-02-04 19:54:50 UTC
Created rssh tracking bugs for this issue:

Affects: epel-all [bug 1672384]
Affects: fedora-all [bug 1672383]


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