Bug 1269780 - lsyncd: Direct mode allwos injecting unauthorized filesystem operations
Summary: lsyncd: Direct mode allwos injecting unauthorized filesystem operations
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1269781 1269782
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-08 08:10 UTC by Adam Mariš
Modified: 2019-09-29 13:37 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-26 01:09:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2015-10-08 08:10:25 UTC
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:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801263

Comment 1 Adam Mariš 2015-10-08 08:11:10 UTC
Created lsyncd tracking bugs for this issue:

Affects: fedora-all [bug 1269781]
Affects: epel-all [bug 1269782]

Comment 2 Jason Taylor 2017-04-12 13:53:50 UTC
I believe this issue can be closed as the versions in fedora/epel have all been patched/updated.

JT


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