Shell Usage

Bug reports and enhancement requests
Post Reply
Evan Langlois
Posts: 1
Joined: Thu Oct 16, 2014 2:49 am

Shell Usage

Post by Evan Langlois »

I found a very strange thing the other day. I went to debug something and pulled up WireShark and noticed very strange traffic. A couple of looks at netstat revealed that sockets were owned by the shell script that passes data to SteadyFlow! Not, steadyflow or the browser, but the /bin/sh. Doesn't make any sense does it? I closed the browser, and it made no change. Quitting steadyflow (which showed no downloads) stopped the (likely malicious) traffic and killed the script.

Needless to say, I don't like to see my computer transferring data from sites I didn't click on! I did look at the script. It looks like it just does a quick echo and then passes some parameters. I would get rid of the script completely (would help for people that need a non-executable /tmp for example). You really don't need it since you can do a fork/exec and set environment variables and all that (or are plug-ins not allowed to fork?). To what is the 'echo' being sent? I'd really like to know what those extra connections were all about. I didn't save the data, but I certainly will if I see it again. I keep Wireshark pretty handy these days.

At the very least, throw some quotes around the site being passed around (why the program name is quoted and not the URL seems odd). A malicious URL could easily take over the shell with stuff that looks like a valid URL. Letting the shell look at it could be a security issue.
Mozilla/5.0 (X11; Linux) AppleWebKit/538.15+ Midori/0.5
User avatar
therube
Ambassador
Posts: 7930
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Shell Usage

Post by therube »

What is steadyflow?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30
Post Reply