Security: Scanner follows symlinks and can traverse outside source tree #192
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: medium
Category: security
Location:
src/client/scanner.c:102-109Description:
directory_scanner_next()usesstat()instead oflstat(). This causes two problems:Suggested fix:
lstat()to identify symlinks.--links/-loption (see feature issue) to preserve symlinks as symlinks instead of following them.Labels: security, traversal