Web 2.0 Security Means Fighting Malicious Third-Party Content
Security questions posed by third-party content are nothing new for Website owners. But a look at how widespread third-party widgets, applications and advertisements are on the Web-and how that affects the security landscape-underscores how much of a challenge this is becoming for Web 2.0 organizations.
According to security company Dasient, a new Web page is infected every 1.3 seconds. In 2009, nearly 2 million Web pages were infected with malware every month, the company said. For site owners, many of these compromises are the result of what Dasient CTO Neil Daswani referred to in a report released July 26 as "structural vulnerabilities"-security problems caused by third-party applications, widgets and malicious advertisements that if exploited can threaten the entire site.
"Traditional implementation vulnerabilities like SQL injection or cross-site scripting can 'be fixed' by fixing the software," Daswani said. "But one of the things that's distinctive about structural vulnerabilities is that it's not anything that can really be fixed. Websites rely on third parties for part of their content and deciding not to ... use the ads typically is not an option."
In many ways, this is a new twist on an old issue, Gartner analyst John Pescatore pointed out.
"This is pretty similar to all the problems with CGI [Common Gateway Interface] scripts in the early days of Web 1.0-lots of vulnerabilities in little things like guestbooks, hit counters, etc. that get reused," Pescatore said. "First wave-lots of those have vulnerabilities and hackers exploit them. Second wave-smarter attackers put out Trojaned versions and then just exploit their own backdoor code."
Today, the same problem is occurring with content like third-party widgets.
"Organizations should have a well-defined and enforced process for vetting the security and trustworthiness of third-party Web widgets before they are deployed," Grossman wrote.
"This will require the third-party Web widget provider to legally consent to a security assessment," he noted. "Secondly, while not always possible for business reasons, Web widgets should not be used on Websites that require a high level of security assurance."
"[Attackers] can compromise one widget and then they've effectively taken every Web site, thousands, tens of thousands or even more, that already use that widget to make all those Websites part of the malware distribution platform," Daswani said.
In addition, the company found third-party advertisements are used by 89 percent of publisher sites, and 91 percent of businesses had outdated software powering their sites.
"While businesses and enterprises typically have good control over the parts of the sites that they do directly run themselves, they typically do not have as direct control over the software development life-cycle processes or other aspects of security of the third parties they use," Daswani said.
The problems this can pose can be seen for example on sites such as Facebook, which has a large third-party developer community and has taken several steps to ensure application security. In the end, Daswani said, the answer comes down to monitoring for problems as well as vetting third-party content providers. Pescatore suggested whitelisting as well.