New vulnerability found in Java 7 opens door to 10-year-old attack, researchers say

The vulnerability allows attackers to bypass the Java security sandbox, researchers from Security Explorations said

Security researchers from Polish vulnerability research firm Security Explorations claim to have identified a new vulnerability in Java 7 that could allow attackers to bypass the software's security sandbox and execute arbitrary code on the underlying system.

The vulnerability was reported Thursday to Oracle along with proof-of-concept (PoC) exploit code, said Adam Gowdiak, the CEO and founder of Security Explorations, in a message to the Full Disclosure mailing list.

According to Gowdiak, the vulnerability is located in the Reflection API (application programming interface), a feature that was introduced in Java 7 and which has been the source of many critical Java vulnerabilities so far. Security Explorations confirmed that its PoC exploit code works against Java SE 7 Update 25 and earlier versions, he said.

The new issue identified by Security Explorations can allow hackers to implement a "classic" attack that has been known for at least 10 years, Gowdiak said.

This kind of attack used to affect the Java virtual machine (VM) in its early days, in the late '90s, he said via email.

"It's one of those risks one should protect against in the first place when new features are added to Java at the core VM level," Gowdiak said. It is surprising to discover that protection against this type of attack was not implemented for the Reflection API when Java 7 was being developed, he said.

The researcher claims that the vulnerability allows attackers to violate a fundamental Java VM security feature -- the safety of its type system.

"As a result of the attack, one can conduct arbitrary cast operations between Java data types like an integer and a pointer," he said via email. "In Java, cast operations need to follow strict rules, so that memory is accessed in a safe way."

Gowdiak has criticized the implementation of the Reflection API in the past, saying that the feature doesn't seem to have been subjected to a thorough security review.

He believes that the presence of this new vulnerability in Java 7 raises questions about the effectiveness of Oracle's software security assurance and security-code review practices. "A huge pile of bugs go undetected by these policies and procedures," he said.

At the end of May, Nandini Ramani, Oracle's vice president of engineering for the Java Client and Mobile Platforms, reaffirmed in a blog post the company's commitment to strengthening the security of Java.

"The Java development team has expanded the use of automated security testing tools, facilitating regular coverage over large sections of Java platform code," Ramani said at the time. The team worked with Oracle's primary provider of source-code analysis services to make those tools more effective in the Java environment and developed so-called "fuzzing" analysis tools to weed out certain types of vulnerabilities, she said.

"Sophisticated analysis tools should not miss simple Reflection API flaws," Gowdiak said. "That should speak for itself."

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags online safetySecurity ExplorationssecurityExploits / vulnerabilities

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lucian Constantin

IDG News Service
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?