mailing list archives
Amusing xss against some lexmark printers
From: dave b <db.pub.mail () gmail com>
Date: Thu, 6 Jan 2011 13:28:49 +1100
Good morning. I think for most people on this list, the PJL RDYMSG
printer display message prank would not be new.
However, what is amusing is that some lexmark (and dell) printers
display the actual text on the printer display in their web interface
without escaping it. This can be used to xss the web interface.
Side note: a lot of printers will display it(the text) in an image and
are not vulnerable.
Here is one device which is known to have this problem and you can
easily find via google
1. Lexmark X651de (google for 'Lexmark X651de "Device Status" ')
You can use nmap to set the RDYMSG of a printer and xss the printer
--script-args='pjl_ready_message="<script>alert(1);</script>"' . 
Note: you should also be able to use OPMSG and STMSG to xss the web interface.
 - http://nmap.org/nsedoc/scripts/pjl-ready-message.html
Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia - http://secunia.com/
- Amusing xss against some lexmark printers dave b (Jan 06)