3 ms·
/dev/tcp doesn't exist on the filesystem, only in bash, and only if enabled; some distributions like Debian disable it.
by JoshTriplett 9y ago
/dev/tcp doesn't exist on the filesystem, only in bash, and only if enabled; some distributions like Debian disable it.
- gnu8 9y agoI can imagine why that would be useful, but that seems like a fundamentally misguided feature. The shell is a key partner in the Unix philosophy of small programs that do a particular thing. The maintainers of bash should have known better than to add this. What does /dev/tcp add to bash, other than security vulnerabilities, that couldn't be better accomplished with wget, curl, netcat, or similar programs external to bash?
- sillysaurus3 9y agoYeah, it was a wild guess. I just looked over all the new bug tracker entries in Tor since Oct 28th, but none of them seem particularly critical. Our best bet would be to look at Firefox's commit history since the 28th. One crafty way to determine the exploit would be to bindiff the hotfix'd firefox binary vs the previous release and examine the diffs in a disassembler to see what code changed. Non-deterministic builds make that tricky, but it's a neat technique to be aware of.
- qeternity 9y agoIsn't this pretty standard practice?
- sillysaurus3 9y agoIt is. But no one has posted details of the exploit yet. I was hoping someone would go find that out. (I can't right now else I would.)