Go Back   Wireless and Wifi Forums > News > Newsgroups > alt.computer.security
Register FAQ Forum Rules Members List Calendar Search Today's Posts Advertise Mark Forums Read

 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-22-2011, 12:56 AM
Harry
Guest
 
Posts: n/a
Default Re: netcat -e, the GAPING_SECURITY_HOLE. But, really?

I didn't realize it would be a problem. The reason I posted the link because the original link also has comments by other folks, which I thought members on this forum would like to read in context. Anyway, I'm including the question body inline now. Please reply... and don't be sarcastic this time, :-)

----------

Why does the BSD version 1.10 of `nc` disable the `-e` option found in other, so-called insecure distributions when the same dangerous feature could be trivially achieved as follows even with the 'secure' version of `nc`:

$ # Machine A
$ mkfifo pipe
$ nc -l 4000 <pipe | bash >pipe

$ # Machine B
$ nc MachineA 4000

Now, if I were to wrap-up the incantation on Machine A in a script (that, if passed a `-e` argument, effectively does the above), I have essentially introduced the 'gaping security hole' without having to step down to the Makefile and build level.

So, why go to the extent of `#define`-ing GAPING_SECURITY_HOME in `netcat.c`?

Regards,
/HS

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
netcat -e, the GAPING_SECURITY_HOLE. But, really? Harry alt.computer.security 1 02-21-2011 06:23 PM
Encrypted Reverse Shell Utilizing Netcat & Stunnel Ubourgeek@gmail.com comp.security.misc 2 01-23-2008 07:41 PM
Re: Encrypted Reverse Shell Utilizing Netcat & Stunnel Todd H. alt.computer.security 0 01-23-2008 07:27 PM
Encrypted Reverse Shell Utilizing Netcat & Stunnel Ubourgeek@gmail.com alt.computer.security 1 01-23-2008 07:24 PM


All times are GMT. The time now is 01:05 PM.



Powered by vBulletin® Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 PL2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45