news4geeks.net
29Dec/110

Flaw in Web app frameworks pushes Microsoft to patch ASP.net promptly

Many Web app frameworks are vulnerable to a denial-of-service attack targeting the way they handle hash tables, researchers revealed Wednesday, prompting Microsoft to announce an "out-of-band" patch for its ASP.Net platform just hours later.

Hash tables are used to store and retrieve data rapidly, allocating the data to different slots in the table based on the results of a calculation -- the hash function -- performed on the data itself. Ideally, the hash function would return a different result, or hash, for each possible item of data, but this is not achievable in practice, so implementations of hash tables have to deal with "hash collisions," where two or more different pieces of data generate the same hash.

A collision slows the storage and retrieval of the data involved, the time taken for those operations typically increasing with the square of the number of items involved in the collision, according to Alexander Klink of German security consultancy N.runs and Julian Wälde of Darmstadt Technical University.


An attacker with knowledge of how a Web application calculates hashes can send it a batch of data sure to result in many collisions, "making it possible to exhaust hours of CPU time using a single HTTP request," Klink and Wälde warned in an advisory on Wednesday. PHP 5, Java and ASP.Net are all vulnerable to the attack, the two said in their advisory and in a related presentation at the Chaos Communication Congress in Berlin.

Microsoft published a security advisory later Wednesday, acknowledging that a vulnerability in ASP.Net could allow a denial-of-service attack, and suggesting a workaround for the problem. Shortly afterwards the company announced that it broke from its regular monthly security update schedule to release a patch for the vulnerability today.

Klink and Wälde said in their security advisory that the Java application server Apache Tomcat had already been patched "to limit the number of request parameters using a configuration parameter," stopping an attacker from causing too many hash collisions at once. "The default value of 10,000 should provide sufficient protection," they wrote. The update can be found in Tomcat versions 7.0.23 and 6.0.35 onwards.

Web application platform developers had plenty of warning of the problem, according to Klink and Wälde: The attack was described as long ago as 2003, they said, in the Usenix Security paper "Denial of Service via Algorithmic Complexity Attacks" by Scott A. Crosby and Dan S. Wallach. Changes were made to Perl that year to randomize the way hashes are calculated, preventing attackers from calculating collisions ahead of time, and similar changes were subsequently made to CRuby from version 1.9, they said.

(Source: infoworld.com)

 

Apache's Hadoop technologies are becoming critical in helping enterprises manage vast amounts of data, with users ranging from NASA to Twitter to Netflix increasing their reliance on the ...
READ MORE
Google's Chrome is about to grab the top browser spot for a full month for the first time from Microsoft's Internet Explorer, data from a Web analytics company ...
READ MORE
You are naked on the Internet
Unless you’re Ted Kaczynski circa 1985, living deep in the woods of Montana far from one of the roving homeless 4G connections we so conveniently enjoy here at South by ...
READ MORE
A Russian man who was accused Monday by Microsoft of creating the Kelihos botnet worked for a pair of security-related firms from 2005 to 2011, according to evidence ...
READ MORE
Last week Microsoft announced it is changing how Internet Explorer upgrades on Windows users' PCs in 2012. Taking users out of the equation, Microsoft said, will make the ...
READ MORE
Hadoop becomes critical cog in the big data
Chrome to take world’s top browser spot for
You are naked on the Internet
Accused Kelihos botnet maker worked for two security
FAQ: Microsoft’s new IE auto-upgrade scheme explained

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

Trackbacks are disabled.