Red Hat Bugzilla – Bug 1269780
lsyncd: Direct mode allwos injecting unauthorized filesystem operations
Last modified: 2018-01-25 20:09:16 EST
In the default-direct.lua file in the "event.etype == 'Move'" branch, instead of using a direct fork/exec, a shell is spawned. Its arguments aren't quoted so one can inject additional parameters using whitespace characters.
Original bug report containing reproducer and proposed patch:
Created lsyncd tracking bugs for this issue:
Affects: fedora-all [bug 1269781]
Affects: epel-all [bug 1269782]
I believe this issue can be closed as the versions in fedora/epel have all been patched/updated.