Discussion:
Amusing xss against some lexmark printers
(too old to reply)
dave b
2011-01-06 02:28:49 UTC
Permalink
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
web interface:
nmap --script=pjl-ready-message.nse
--script-args='pjl_ready_message="<script>alert(1);</script>"' . [0]

Note: you should also be able to use OPMSG and STMSG to xss the web interface.

[0] - http://nmap.org/nsedoc/scripts/pjl-ready-message.html

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
p***@sydney.edu.au
2011-01-06 03:00:14 UTC
Permalink
... the PJL RDYMSG prank ... can be used to xss the web interface.
... google for 'Lexmark X651de "Device Status" ' ...
Amusing, but not very useful to have an XSS on such a website.
The web interface should be locked down, or anyone can lock up your
device or read your "fax job log".

Cheers, Paul

Paul Szabo ***@maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics University of Sydney Australia

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
Dan Kaminsky
2011-01-06 03:14:49 UTC
Permalink
Post by dave b
You can use nmap to set the RDYMSG of a printer and xss the printer
nmap --script=pjl-ready-message.nse
--script-args='pjl_ready_message="<script>alert(1);</script>"' . [0]
*chuckles*

What's the rendering engine? WebKit?

Loading...