Research

Staying one step ahead of the ever changing threat landscape is a strategic imperative for Veracode. Whether it’s desktop apps, web apps or mobile, we’re constantly looking for software vulnerabilities. If we discover something interesting this is where you’ll read about it.

DWR 2.0.5 Fixes XSS Vulnerability

DWR 2.0.5 addresses an XSS vulnerability that is likely to be exploitable in most 2.0.4 installations. If your web application uses DWR’s Ajax implementation, download and install this update now!

As an aside, I’ve been a fan of DWR for a while now, not only because of its ease of integration but also because it was the first Ajax framework to offer built-in CSRF protection. You could tell that Joe Walker was taking security seriously. For this particular vulnerability, I e-mailed him on a Saturday night, and within 12 hours, he had confirmed the problem, patched the code, and built a 2.0.5 release candidate. Granted, it was a tiny code change, but I’ve still never seen a response that fast. Less than a week later, the official 2.0.5 release was tested and available for download.

That’s it for now, but I’ll be referencing this example again when I get around to writing Part 2 of my Minimizing the Attack Surface post.

2 Comments »

[...] a close-to-home example related to my post about DWR 2.0.5 from the other day. DWR is an Ajax framework that has a variety of operating modes. In-house, we [...]

Pingback by Zero in a bit » Minimizing the Attack Surface, Part 2 — July 7, 2008 @ 4:10 pm

Hi,

According to your findings i justed upgraded my jar from DWR2.0.1 to 2.0.5 but still my we application isn’t checked for XSS attacks.

E.G: When i insert user name such as test i get a normal flow as if the DWR handling hasn’t checked the input for scripting tags at all.

Am i required to configure anything? Maybe to add an HTTP wrapper filter (as i saw implemented in several sites) ?

Comment by Liav — January 3, 2011 @ 10:30 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress