Feeds

Researchers release point-and-click website exploitation tool

'Tons' of vulnerable sites

SANS - Survey on application security programs

Researchers have released software that exposes private information and executes arbitrary code on sensitive websites by exploiting weaknesses in a widely used web development technology.

Short for Padding Oracle Exploitation Tool, Poet is able to decrypt secret data encrypted by the JavaServer Faces web development framework without knowing the secret key. Attackers can use the technique to access private customer data on websites operated by banks, e-commerce companies and other businesses, according to a paper (PDF) released in February by researchers Juliano Rizzo and Thai Duong. In some cases, the exploit can be used to run malicious software on the underlying server.

Released Monday, Poet exploits a well-known vulnerability in the way many websites encrypt text stored in cookies, hidden HTML fields and request parameters. The text is designed to help servers keep track of purchases, user preferences and other settings while at the same time ensuring account credentials and other sensitive data can't be intercepted. By modifying the encrypted information and sending it back to the server, the attackers can recover the plaintext for small chunks of the data, allowing them to access passwords and restricted parts of a webserver.

The fatal flaw making exploitation possible is the failure of JavaServer Faces to implement AES/DES encryption algorithms correctly. The scheme provides no way to sign the ciphertext or authenticate the block cipher mode.

“The tool exploits a very common mistake -- using encryption alone instead of encryption + authentication/integrity protection," Rizzo told The Register. "You can get information about the plaintext from the server reaction.”

The attack can be used by crawling a target website for strings of encrypted strings and then modifying the last block of the ciphertext by a random value and sending it back to the server. The resulting error messages are then used to decipher the text, allowing attackers to bypass CAPTCHAs, view customer account numbers and even create webpages that will execute malicious software on the underlying server. Attackers can also use the technique to map all ciphertexts to corresponding plaintexts, a feat that breaks a website's underlying cryptosystem.

Attackers can also use Google to find websites that are vulnerable to attack. Queries such as “Given final block not properly padded” and “javax.crypto.BadPaddingException” reveal “tons” of exposed web applications, the researchers said.

The researchers tested the attack in JavaServer Faces implemented into the Apache webserver, as well as Sun's Mojarra. They said many other implementations are also likely to be vulnerable.

Poet runs on Windows, Mac OS X and Linux and is available here . Video showing the exploit code in action is here. ®

High performance access to file storage

More from The Register

next story
Parent gabfest Mumsnet hit by SSL bug: My heart bleeds, grins hacker
Natter-board tells middle-class Britain to purée its passwords
Obama allows NSA to exploit 0-days: report
If the spooks say they need it, they get it
Mounties always get their man: Heartbleed 'hacker', 19, CUFFED
Canadian teen accused of raiding tax computers using OpenSSL bug
Web data BLEEDOUT: Users to feel the pain as Heartbleed bug revealed
Vendors and ISPs have work to do updating firmware - if it's possible to fix this
Samsung Galaxy S5 fingerprint scanner hacked in just 4 DAYS
Sammy's newbie cooked slower than iPhone, also costs more to build
Snowden-inspired crypto-email service Lavaboom launches
German service pays tribute to Lavabit
One year on: diplomatic fail as Chinese APT gangs get back to work
Mandiant says past 12 months shows Beijing won't call off its hackers
prev story

Whitepapers

Top three mobile application threats
Learn about three of the top mobile application security threats facing businesses today and recommendations on how to mitigate the risk.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
SANS - Survey on application security programs
In this whitepaper learn about the state of application security programs and practices of 488 surveyed respondents, and discover how mature and effective these programs are.