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...
Alias: CVE-2019-3464
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1672383 1672384
TreeView+ depends on / blocked
Reported: 2019-02-04 19:54 UTC by Laura Pardo
Modified: 2020-04-27 18:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-06-10 10:47:21 UTC

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).


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]

Comment 2 Product Security DevOps Team 2019-06-10 10:47:21 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.

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