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
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:
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:
- PostScript based infinite loops
- PostScript showpage redefinition
- Disable jobmedia with proprietary PJL
- Set the device to offline mode with PJL
Now exploitable from the web
All attacks can be carried out by anyone who can print, which includes:- Web attacker:
- A malicious website that uses XSP
- Network access:
- Wireless access:
- Apple Air Print (enabled by default)
- Cloud access:
- Google Cloud Print (disabled by default)
- Physical access:
- Printing via USB cable or USB drive
- Potentially NFC printing (haven't tested)
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…More articles
- Hacking Tools 2019
- Hacker Tools For Windows
- Hack Website Online Tool
- Hack Tools For Games
- Pentest Tools For Android
- Hacker Tools Github
- Pentest Reporting Tools
- Black Hat Hacker Tools
- Hacking Tools For Windows 7
- Hacking Tools For Windows
- Hacker Tools 2019
- Tools 4 Hack
- Hack Website Online Tool
- Hacking Tools For Games
- Hacking Tools Download
- Hacker Tools Windows
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Framework
- Hacker Tools For Windows
- Hacker Tools
- Hacker Tools For Pc
- Hacker Tools Apk
- Hacker Tool Kit
- Hack Tools Download
- Pentest Tools Github
- Pentest Tools Online
- Pentest Tools Alternative
- New Hacker Tools
- Game Hacking
- Hacker Tools For Pc
- Hack Tools 2019
- Hacks And Tools
- New Hack Tools
- Hack Tools Online
- Top Pentest Tools
- Hack Tools For Ubuntu
- Hacker Tool Kit
- Hack Tool Apk No Root
- Best Hacking Tools 2020
- Pentest Recon Tools
- Hacker Tools For Ios
- Best Hacking Tools 2019
- Hack Tools Download
- Hacker Tools For Ios
- Hack Website Online Tool
- Beginner Hacker Tools
- Pentest Recon Tools
- Hacker Tools 2020
- Hacker
- Hack Tool Apk
- Hack Tools Pc
- Hacking Tools For Windows Free Download
- Hack And Tools
- Hacking Tools For Windows Free Download
- Hacking Tools 2019
- Hack App
- Pentest Tools Bluekeep
- Hacking Tools Software
No comments:
Post a Comment