Security Experts:

Connect with us

Hi, what are you looking for?



Facebook Rewards Researchers for Bad Casting Flaw Detection Technique

A group of Georgia Tech researchers have been awarded $100,000 by Facebook for coming up with a novel technique for detecting bad casting vulnerabilities.

A group of Georgia Tech researchers have been awarded $100,000 by Facebook for coming up with a novel technique for detecting bad casting vulnerabilities.

The money was awarded as part of the Internet Defense Prize, an initiative launched by Facebook in partnership with the USENIX Security Symposium in an effort to “recognize superior quality research that combines a working prototype with significant contributions to the security of the Internet — particularly in the areas of protection and defense.”

The Internet Defense Prize was launched last year, when German researchers received $50,000 from Facebook for a paper titled “Static Detection of Second-Order Vulnerabilities in Web Applications.”

This year, Facebook decided to double the Internet Defense Prize and awarded $100,000 to Georgia Tech Ph.D. students Byoungyoung Lee and Chengyu Song, and professors Taesoo Kim and Wenke Lee.

The researchers have identified a new method for detecting bad casting (also known as type confusion) vulnerabilities, a category of security flaws that has often been exploited by malicious actors in their attacks. A perfect example is CVE-2015-0336, a Flash Player vulnerability that cybercriminals started exploiting one week after it was patched by Adobe.

The Georgia Tech researchers said they focused on bad casting because these types of bugs are increasingly common and they believe the community has not put enough effort into their detection.

“Many applications such as the Chrome and Firefox browsers are largely implemented in C++ for its performance and modularity. Type casting, which converts one type of an object to another, plays an essential role in enabling polymorphism in C++ because it allows a program to utilize certain general or specific implementations in the class hierarchies,” the researchers explained in their paper.

“However, if not correctly used, it may return unsafe and incorrectly casted values, leading to so-called bad-casting or type-confusion vulnerabilities. Since a bad-casted pointer violates a programmer’s intended pointer semantics and enables an attacker to corrupt memory, bad-casting has critical security implications similar to those of other memory corruption vulnerabilities,” they added.

The researchers demonstrated their technique by developing a tool, dubbed “CAVER,” which has helped them identify a total of 11 previously unknown type confusion flaws in Firefox and the GNU libstdc++ library. The vulnerabilities have been fixed.

“The authors suggested a novel technique for detecting bad type casts by combining both static and dynamic analysis. Their prototype substantially improved upon the state of the art, offering better coverage and compatibility with existing applications,” Facebook said.

Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Expert Insights

Related Content

Mobile & Wireless

Technical details published for an Arm Mali GPU flaw leading to arbitrary kernel code execution and root on Pixel 6.

Mobile & Wireless

Apple rolled out iOS 16.3 and macOS Ventura 13.2 to cover serious security vulnerabilities.

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

Mobile & Wireless

Apple’s iOS 12.5.7 update patches CVE-2022-42856, an actively exploited vulnerability, in old iPhones and iPads.


Security researchers have observed an uptick in attacks targeting CVE-2021-35394, an RCE vulnerability in Realtek Jungle SDK.

Mobile & Wireless

Two vulnerabilities in Samsung’s Galaxy Store that could be exploited to install applications or execute JavaScript code by launching a web page.


Several vulnerabilities have been patched in OpenText’s enterprise content management (ECM) product.


Google has awarded more than $25,000 to the researchers who reported the vulnerabilities patched with the release of the latest Chrome update.