CyberRota Analysis
AI-GeneratedThe vulnerability exists in btrbk versions 0.29.0 to 0.32.7, where the ssh_filter_btrbk.sh script allows users to bypass command restrictions by appending arbitrary commands after a valid btrbk command prefix. This can lead to unauthorized command execution with the privileges of the backup-target SSH account, posing a significant risk to system integrity. Organizations using affected versions of btrbk for backup operations should prioritize upgrading to version 0.32.7 to mitigate this high-severity risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
btrbk is a tool for creating snapshots and remote backups of Btrfs subvolumes. From 0.29.0 until 0.32.7, btrbk's ssh_filter_btrbk.sh constructs allow_stream_match with a start anchor but without an end-of-string anchor for the complete command. A user restricted through an authorized_keys forced command can append a trailing pipe command after a valid btrbk command prefix, bypassing the allowlist and executing arbitrary commands with the privileges of the backup-target SSH account. Deployments that do not use ssh_filter_btrbk.sh in authorized_keys are not affected. This issue is fixed in version 0.32.7.