jueves, agosto 20, 2020

New Printers Vulnerable To Old Languages

When we published our research on network printer security at the beginning of the year, one major point of criticism was that the tested printers models had been quite old. This is a legitimate argument. Most of the evaluated devices had been in use at our university for years and one may raise the question if new printers share the same weaknesses.

35 year old bugs features

The key point here is that we exploited PostScript and PJL interpreters. Both printer languages are ancient, de-facto standards and still supported by almost any laser printer out there. And as it seems, they are not going to disappear anytime soon. Recently, we got the chance to test a $2,799 HP PageWide Color Flow MFP 586 brand-new high-end printer. Like its various predecessors, the device was vulnerable to the following attacks:
  • Capture print jobs of other users if they used PostScript as a printer driver; This is done by first infecting the device with PostScript code
  • Manipulate printouts of other users (overlay graphics, introduce misspellings, etc.) by infecting the device with PostScript malware
  • List, read from and write to files on the printers file system with PostScript as well as PJL functions; limited to certain directories
  • Recover passwords for PostScript and PJL credentials; This is not an attack per se but the implementation makes brute-force rather easy
  • Launch denial of Service attacks of various kinds:

Now exploitable from the web

All attacks can be carried out by anyone who can print, which includes:
Note that the product was tested in the default configuration. To be fair, one has to say that the HP PageWide Color Flow MFP 586 allows strong, Kerberos based user authentication. The permission to print, and therefore to attack the device, can be be limited to certain employees, if configured correctly. The attacks can be easily reproduced using our PRET software. We informed HP's Software Security Response Team (SSRT) in February.

Conclusion: Christian Slater is right

PostScript and PJL based security weaknesses have been present in laser printers for decades. Both languages make no clear distinction between page description and printer control functionality. Using the very same channel for data (to be printed) and code (to control the device) makes printers insecure by design. Manufacturers however are hard to blame. When the languages were invented, printers used to be connected to a computer's parallel or serial port. No one probably thought about taking over a printer from the web (actually the WWW did not even exist, when PostScript was invented back in 1982). So, what to do? Cutting support for established and reliable languages like PostScript from one day to the next would break compatibility with existing printer drivers. As long as we have legacy languages, we need workarounds to mitigate the risks. Otherwise, "The Wolf" like scenarios can get very real in your office…

Related posts
  1. Hack Tools Mac
  2. Pentest Tools For Ubuntu
  3. Best Hacking Tools 2019
  4. Pentest Tools Windows
  5. Tools For Hacker
  6. Hack Tools For Games
  7. Hacking Tools 2019
  8. Hacker Tools 2019
  9. Hack Tools 2019
  10. Hack Tools For Mac
  11. Best Hacking Tools 2020
  12. Hacker Tools Github
  13. Black Hat Hacker Tools
  14. Beginner Hacker Tools
  15. Hacking Tools For Beginners
  16. Nsa Hack Tools
  17. Hacker Tools Free Download
  18. Hacking Tools 2019
  19. Hacking App
  20. Hacker Tools For Ios
  21. Hacker Tools List
  22. Github Hacking Tools
  23. Nsa Hacker Tools
  24. Free Pentest Tools For Windows
  25. Pentest Tools Bluekeep
  26. Hack Tools For Ubuntu
  27. Hacking Tools Download
  28. Pentest Tools For Ubuntu
  29. Hackrf Tools
  30. Hacking Tools Pc
  31. Physical Pentest Tools
  32. Hacking Tools Github
  33. Hacker Security Tools
  34. Top Pentest Tools
  35. Hacking App
  36. Pentest Reporting Tools
  37. Hacking Tools Free Download
  38. Pentest Tools Online
  39. Hacker Tools Apk
  40. Hack Website Online Tool
  41. Pentest Recon Tools
  42. Pentest Tools Android
  43. Hacking Tools Github
  44. Nsa Hacker Tools
  45. Hack And Tools
  46. Hacking Tools For Windows Free Download
  47. Hacker Tools Linux
  48. Bluetooth Hacking Tools Kali
  49. Hack Tools For Windows
  50. Pentest Tools Github
  51. Pentest Tools Url Fuzzer
  52. Hacking Tools 2020
  53. Hacker Security Tools
  54. Pentest Tools Tcp Port Scanner
  55. Hacking Tools
  56. Pentest Tools Tcp Port Scanner
  57. Nsa Hack Tools
  58. Pentest Tools Alternative
  59. Kik Hack Tools
  60. How To Make Hacking Tools
  61. Pentest Tools Apk
  62. Hacker Tools For Windows
  63. Pentest Tools Alternative
  64. Hacker Tools Free Download
  65. Hacker Tools For Ios
  66. Tools 4 Hack
  67. Pentest Tools Linux
  68. Hack Apps