Re:What The Rails Security Issue Means For Your Startup
by delinka on Thursday January 31, 2013 @02:41PM
(#5146911)
You're right. I wasn't seeing all the angles here. But to say this is limited to Macs seems disingenuous.
Re:What The Rails Security Issue Means For Your Startup
by patio11 on Thursday January 31, 2013 @02:57PM
(#5147015)
It is a tongue-in-cheek reference to widespread perceptions about Rails developers' hardware of choice.
1. You load the evil JavaScript.
2. That JavaScript adds an image with a URL pointing at localhost:3000.
3. When you load that URL, it causes code execution, causing your computer to open a connection somewhere and start taking instructions.
4. The instructions that arrive includes downloading and installing software that takes advantage of known local root vulnerabilities in OS X.
5. Congratulations! Someone rooted your machine!
Nothing in this path required Rails to be run as root, or JavaScript to directly connect anywhere.