Hey ppl, i thought it was time to post something again (been a long time i know) been busy with all kind of things I hope you enjoy this one, i saw there was a perl version of it. Tho , C simply rules
Here ya go:
CODE
/* \ remote exploit for NIPrint LPD-LPR Print Server (Version <= 4.10) / \ by xCrZx /BLack Sand Project/ /04.11.03/ / \ bug found by KF / successfully tested on Win XP 5.1.2600 / P.S.#1 coded just for fun... \ P.S.#2 this exploit can be compiled under Win32 and *nix */
printf("[+] Connecting to %s:%d\n",argv[1],SHELL); sprintf(tmp,"telnet %s %d\n",argv[1],SHELL); system(tmp); printf("[-] Not connected! NIPrint probably not vulnerable!\n");
return 0; }
/* woutiir 0wnZ YoU */
Enjoy it! Greetings, woutiir
T3cHn0b0y
Nov 4 2003, 10:19 PM
Where can I download the patch for this vulnerability and could post the executable for us to test our systems? I know nothing about C
Anddos
Nov 5 2003, 12:00 AM
wheres the compiled version ?
JDog45
Nov 4 2003, 11:52 PM
#define SHELL 7788 < would be the port to scan for?
Scan port 515... so far I've had no luck with any...
Anddos
Nov 5 2003, 12:38 AM
has that file been scaned for trojans?
agathos
Nov 5 2003, 12:52 AM
i´m not a noob that hides any trojans !! i have checked and compiled it myself
Anddos
Nov 5 2003, 01:17 AM
do u need any other files to run it it wont load for me
agathos
Nov 5 2003, 01:39 AM
nope i have only installed MSVC
Anddos
Nov 5 2003, 01:50 AM
so when u go to cmd and try to open it do u not get any erorrs ?
ssj4conejo
Nov 5 2003, 06:31 AM
Compiles fine in linux, and i've scanned for some but so far, had no luck in gettin a shell, btu there are many with port 515 open... just seem not to be the version or maybe the exploit is broken.
yuliang11
Nov 5 2003, 07:44 AM
thanks man
GhostCow
Nov 5 2003, 11:35 AM
any chance there's a scanner out there? woutir you got any more info about it? is it private?
T3cHn0b0y
Nov 5 2003, 04:08 PM
ok...thanx for compiling. What are the parameters to run this exploit? Username? Password? OS Type?
chrispen
Nov 5 2003, 04:38 PM
[+] Connected to xxxxxxxx:515! [+] Exploit code was sent! [+] Connecting to xxxxxxxxxx:7788 Connecting To xxxxxxx...Could not open connection to the host, on port 77 88: Connect failed [-] Not connected! NIPrint probably not vulnerable!
i get this all the time , do we need to scan 7788 instead of 515 ?
B3T4
Nov 5 2003, 06:00 PM
QUOTE (chrispen @ Nov 5 2003, 04:38 PM)
[+] Connected to xxxxxxxx:515! [+] Exploit code was sent! [+] Connecting to xxxxxxxxxx:7788 Connecting To xxxxxxx...Could not open connection to the host, on port 77 88: Connect failed [-] Not connected! NIPrint probably not vulnerable!
i get this all the time , do we need to scan 7788 instead of 515 ?
[+] Connected to xxxxxxxx:515!
now what do u think this those ? .... so were do u scan for ?? exactly
Basti
Nov 5 2003, 06:09 PM
OMG dumbass alert
Anddos
Nov 5 2003, 10:41 PM
so every port with 515 is this software?
manni
Nov 5 2003, 11:17 PM
i guess 515 is the default printer server port and you must be very lucky to get an niprint server
JdEeZy
Nov 5 2003, 11:21 PM
Port 7788 is what u [try to] connect to after u've attempted to exploit the box.
Anddos
Nov 5 2003, 11:25 PM
so its port 7788 i scan for now?
Photon
Nov 5 2003, 11:29 PM
LOL no scan for 515 but I tried over 2000 but noone.. so we need a good scanner for this..
r00tless
Nov 5 2003, 11:33 PM
Thanks Man!
neb
Nov 6 2003, 12:42 AM
Can i change this line :
#define SHELL 7788
to define my port for shell ???
manni
Nov 6 2003, 12:18 PM
lol dont think so
hcoca
Nov 6 2003, 03:02 PM
QUOTE (Photon @ Nov 5 2003, 11:29 PM)
LOL no scan for 515 but I tried over 2000 but noone.. so we need a good scanner for this..
like me :Confused:
agathos
Nov 6 2003, 04:49 PM
neb: Yes you change the port its binds then a shell on this port that you typed
All:
Scan Only for port 515 its the NiPrint Daemon!! Dont scan the shell port otherwise you found nothing
isaiah
Nov 7 2003, 03:10 PM
can one of you atactch the expliot please
0wn4g3
Nov 7 2003, 05:13 PM
nice exploit but i don`t find a vuln server at 515
johannes30
Nov 7 2003, 05:44 PM
have anyone a vuln checker for port 515?
isaiah
Nov 8 2003, 10:29 PM
As Some have Said Before...
Port 515 is the Universal Port for Print Servers/Daemons. So if you count the number of Print Servers out there (TONS). The likelyhood of getting a Vuln Server running NiPrint, is very small..
The exploit isnt broken..
Xxplozive
Nov 30 2003, 03:31 AM
i search a vulnerable checker scanner. have someone a scanner for this?
DownBload
Dec 2 2003, 12:16 PM
LOL... Shouldn't that system(tmp) be at least a little bit strange??? This is fake exploit - trojan maybe - try to "decrypt" shellcode and see what he does.
agathos
Dec 2 2003, 12:59 PM
so if you read correct
sprintf(tmp,"telnet ......."\n); system(tmp);
that means:
he saves the string "telnet ......" into the char tmp! and runs then over system procedure
biboupoki
Dec 2 2003, 01:20 PM
thanx i m gonna to try it
DownBload
Dec 3 2003, 12:38 PM
QUOTE (agathos @ Dec 2 2003, 12:59 PM)
so if you read correct
sprintf(tmp,"telnet ......."\n); system(tmp);
that means:
he saves the string "telnet ......" into the char tmp! and runs then over system procedure
Yes, my fault :-)
ivan288
Dec 3 2003, 01:05 PM
nice exploit but verry hard to find vuln. servers. if anyone has a tool for this please share with us.
Xion
Dec 4 2003, 09:06 PM
it's veru nice exploit I test now
Xxplozive
Dec 10 2003, 01:15 AM
I've written a niprint autohaxxor but i didn't found a vulnerable niprint!
trunks
Dec 10 2003, 03:30 AM
i scanned over 400 ips.. no luck yet
Xion
Dec 10 2003, 08:24 PM
thx for nice exploit
Knutinho
Feb 3 2004, 11:54 PM
Thx for the nice Exploit !!
Anybody able to Link the compiled version onlien again ??
Thx a lot !!
DerangeD
Feb 4 2004, 07:03 AM
compiled it but didn't get any results with this sploit
scanned over 500 ip's
anyone had luck using this ?
Feuerstein
Feb 4 2004, 02:17 PM
i added an option for hostlistfiles, but never ever had a shell. anyone ever got 1 ?
// also codet banner scanner for this purpose. see results below:
CODE
*.*.*.*: [/usr/sbin/lpd: zappa: Malformed from address ] *.*.*.*: [/usr/sbin/lpd: zappa: Malformed from address ] *.*.*.*: [/usr/sbin/lpd: zappa: Malformed from address ] *.*.*.*: [/usr/sbin/lpd: zappa: Malformed from address ] *.*.*.*: [/usr/sbin/lpd: zappa: Malformed from address
which look like *nix servers, and furthermore
CODE
*.*.*.*: [lpd: master : Malformed from address ] *.*.*.*: [lpd: master : Malformed from address ] *.*.*.*: [lpd: master : Malformed from address ]
which might be nt, but with enabled hostmask
already scanned bout 20000 ips, but no exploitation yet
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.