|
|
|
A more plausible E4X attack |
Si vous voulez bloquer ce service sur vos fils RSS
Si vous voulez nous contacter ou nous proposer un fil RSS
Menu > Articles de la revue de presse : - l'ensemble [ tous | francophone] - par mots clé [ tous] - par site [ tous] - le tagwall [ voir] - Top bi-hebdo de la revue de presse [ Voir]
A more plausible E4X attack Par SecurityLe [2009-06-25] à 06:37:18
Présentation : As a quick recap, "E4X" is the name of a Javascript standard relating to strong XML support in the language. Firefox has had an implementation for quite some time but no other major browser seems to have followed suit. My colleages Filipe Almeida and Michal Zalewski led the way in E4X security; check out: http://code.google.com/p/doctype/wiki/ArticleE4XSecurity However, the attack scenarios in that document are in my opinion not likely to occur in many web apps. It so happens that I was fiddling around the night before my HiTB talk (which briefly covers E4X) and I came up with something more compelling. Take a hypothetical web mail service which provides an XML feed format of the inbox, which might look something like this: evil@hacker.com{ x = 'PWN... bank@bank.comSuper sensitive!New pin: 9976 ' }...ed!! One general concept of interest in the above fragment is the ability of the attacker to echo little pieces of attacker-controlled text onto a trusted domain. Specifically, in e-mail subject text! More on this in another post. With this realization, we're all set to mount an E4X-based theft attack. First, you'll want to see it in action. You'll need Firefox to see the popup alert indicating cross-domain XML theft: https://cevans-app.appspot.com/static/e4xtheft.html The attack works by cross-domain including the XML formatted inbox into the attacker's page via . Raw XML is valid Javascript in Firefox, thanks to E4X, so this parses and executes in the attacker's context. The reason the attacker is able to mount a theft is that E4X looks for curly braces in XML values and tries to interpret the surrounded text as a Javascript expression to evaluate. Looking again at our above XML, we see the following in the middle: { x = 'PWN... bank@bank.comSuper sensitive!New pin: 9976 ' } As you can see, the attacker's sneaky choice of subject lines has caused an expression to be evaluated which: * Wraps a part of the XML in single quotes, forming a Javascript string literal. * Assigns said string literal to a Javascript variable in the attacker's domain! * Leaves the XML tag structure balanced, thanks to the repeating nature of the XML tree. For the attack to work, there are constraints: * There must be no newlines in the part of the XML structure that you are stealing, because Javascript literals cannot span unescaped newlines. * There must be no XML prolog or DTD since these break the Firefox E4X parser. * The single quote character must be rendered into XML values unescaped and double quotes must be used to surround XML attributes (or visa versa). There will be real-world services matching these constraints. When you find them, drop me an e-mail or leave a comment. As always, Mozilla security responded wonderfully to this advance in E4X theft. A behavioural tweak was committed and is due in Firefox 3.5, which will break this attack.[]
Les mots clés de la revue de presse pour cet article : attack Les videos sur SecuObs pour les mots clés : attack Les éléments de la revue Twitter pour les mots clé : attack
Les derniers articles du site "Security" :
- iPhone will be first mobile device to fall at Pwn2Own 2010 - Malicious Advertising Threatens the Popular Ad-supported Business Model - There's Privacy Then There's Privacy - vsftpd HTTP lunacy - Impressions from the RSA 2010 USA Conference - Classmates.com settles suit over misleading e-mails - 0-day exploits for IE flaw another reason to switch to IE 8 - Medicine, Taxation, and Identity in Cyberspace - etc Another botnet takes a beating as Kazakh ISP Troyak is taken offline, temporarily disabling most of the command-and-control servers for the Zeus network. - Bad employee 12pourcents knowingly violate company IT policies
Menu > Articles de la revue de presse : - l'ensemble [ tous | francophone] - par mots clé [ tous] - par site [ tous] - le tagwall [ voir] - Top bi-hebdo de la revue de presse [ Voir]
Si vous voulez bloquer ce service sur vos fils RSS :
- avec iptables "iptables -A INPUT -s 88.191.75.173 --dport 80 -j DROP"
- avec ipfw et wipfw "ipfw add deny from 88.191.75.173 to any 80"
- Nous contacter par mail
| Mini-Tagwall des articles publiés sur SecuObs : | | | | sécurité, exploit, windows, microsoft, réseau, attaque, outil, vulnérabilité, audit, système, virus, internet, données, présentation, metasploit, linux, bluetooth, protocol, vista, scanner, réseaux, shell, engineering, rootkit, paquet, conférence, trames, wishmaster, téléphone, source, sysun, noyau, mobile, https, mémoire, rapport, botnet, téléphones, libre, reverse, navigateur, patch, snort, scapy, intel |
| Mini-Tagwall de l'annuaire video : | | | | vmware, security, virus, biometric, windows, lockpicking, password, botnet, metasploit, tutorial, attack, crypt, linux, network, iphone, server, exploit, wimax, conficker, virtu, virtual, engineering, cisco, reverse, shmoocon, wireshark, ettercap, hacker, firewall, internet, knoppix, rootkit, arduino, wireless, source, conference, backtrack, openbsd, brucon, systm, overflow, openssh, access, buffer, remote |
| Mini-Tagwall des articles de la revue de presse : | | | | security, microsoft, windows, hacker, attack, network, vulnerability, google, exploit, malware, internet, remote, iphone, server, inject, patch, apple, twitter, mobile, virus, ebook, facebook, vulnérabilité, crypt, source, linux, password, intel, research, virtual, phish, access, tutorial, trojan, social, privacy, firefox, adobe, overflow, office, cisco, conficker, botnet, pirate, sécurité |
| Mini-Tagwall des Tweets de la revue Twitter : | | | | security, linux, botnet, attack, metasploit, cisco, defcon, phish, exploit, google, inject, server, firewall, network, twitter, vmware, windows, microsoft, compliance, vulnerability, python, engineering, source, kernel, crypt, social, overflow, nessus, crack, hacker, virus, iphone, patch, virtual, javascript, malware, conficker, pentest, research, email, password, adobe, apache, proxy, backtrack |
|
|
|
|
|