Red Hat Bugzilla – Bug 1269780
lsyncd: Direct mode allwos injecting unauthorized filesystem operations
Last modified: 2017-04-12 09:53:50 EDT
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.