From IE to Google Chrome, Researchers Target Cross-Site Scripting

執筆者
Brian Prince
Brian Prince
Published: May 20, 2009
Updated: Feb 2, 2021
2 minute read
eWeek のコンテンツおよび製品のおすすめは、編集上の独立性を保っています。パートナーへのリンクをクリックすると、当社が報酬を得る場合があります。 詳細を見る

For all the advances in browser security, cross-site scripting remains at the top of the list when it comes to Website vulnerabilities affecting users.

Browser vendors have started to address the security issue by building more protections into the browser. Microsoft, for example, added a cross-site scripting filter to Internet Explorer 8. The challenge for such technologies is to enable Web applications to accept complex HTML input while blocking malicious scripts. Now, two researchers from the University of Illinois at Chicago are talking up a new way to bolster browser protection by reducing the dependence of Web applications on unreliable browser parsers.

At the IEEE Symposium on Security and Privacy in Oakland, Calif., researchers Mike Ter Louw and V.N. Venkatakrishnan May 20 are offering up their answer to defending against cross-site scripting, which they call BluePrint. Inserted as a software layer between the Web app and the browser, BluePrint uses a whitelist of safe HTML elements to identify and remove untrusted content. To avoid potential script injection attacks, the whitelist content is carefully transported and reproduced safely in the browser, Venkatakrishnan told eWEEK.

In a paper, the researchers contended that today’s Web browsers cannot be trusted to make script identification decisions (PDF) involving suspicious HTML due to their unreliable parsing behavior. For that reason, the duo designed BluePrint to essentially take control of parsing decisions.

“On the application server, a parse tree is generated from untrusted HTML with precautions taken to ensure the absence of dynamic content (e.g., script) nodes in the tree,” the researchers wrote. “On the client browser, the generated parse tree is conveyed to the browser’s document generator without taking vulnerable paths … which involve unreliable browser parsing behavior.”

They continued, “This two-step process ensures untrusted content generated by the browser is consistent with the Web application’s understanding of the content. The generated document reflects the application’s intention that the untrusted content does not contain scripts, therefore all unauthorized script execution is prevented.”

The researchers tested the software on versions of Google Chrome, Firefox 2 and 3, Opera 9.6, Safari 3.1 and 3.2, and Internet Explorer 6 and 7. In principle, though, BluePrint is designed to work with all existing browsers that support JavaScript, Venkatakrishnan said in an e-mail interview.

Advertisement

“We transformed large-scale applications such as MediaWiki (the software
that hosts Wikipedia) and WordPress using BluePrint and there was
very little impact on the actual user experience in viewing BluePrint-transformed pages,” he said. “BluePrint doesn’t modify any trusted content, and if a page contains dynamic content that is trusted, BluePrint doesn’t affect these pages at all.”

Brian Prince

Brian Prince

Content Writer
eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

TechnologyAdvice が所有・運営しています。 © 2026 TechnologyAdvice. 無断転載を禁じます

広告主に関する開示:このサイトに掲載されている製品の一部は、TechnologyAdvice が報酬を受け取っている企業のものです。この報酬は、製品がこのサイトのどこにどのように表示されるか(表示される順序など)に影響する場合があります。TechnologyAdvice は、市場で入手可能なすべての企業やすべての種類の製品を掲載しているわけではありません。