3 ms·
We are really surprised Facebook hasn't been hit with before, how do they allow running remote JavaScript execution. This should be easy to detect. Here is the
by nodesocket 15y ago
We are really surprised Facebook hasn't been hit with before, how do they allow running remote JavaScript execution. This should be easy to detect. Here is the JavaScript that is executed: http://plucketenhe.info/verify.js http://plucketenhe.info/verify.js
The domain (plucketenhe.info) resolves to: 173.239.26.21, and whois on that IP: http://www.ip-adress.com/whois/173.239.26.21 http://www.ip-adress.com/whois/173.239.26.21
- ricefield 15y agoso in other words, facebook is kind of dumb for allowing remote javascript execution...
- nodesocket 15y agoWell, it can be tricky, often times the XSS attack is masked quite deeply, but there are known methods. PHP strip_tags will assist, though would need to be beefed up a bit to handle the onclick, onhover, onblur, onfocus, etc events. In this particular case, simply looking for `javascript:` would have done the trick.