Yahoo! Mail! Had! Nasty! XSS! Bug!

Finnish fellow scores $10k bug bounty for reporting malformed HTML mess

A stored XSS vuln in Yahoo! Mail has netted Finnish researcher Jouko Pynnönen of Klikki Oy a US$10,000 bug bounty.

Pynnönen turned up the bug with a bit of old-fashioned brute force: he fed the system an HTML e-mail containing “all known HTML tags and attributes” to see what survived the Purple Palace's filters.

What's supposed to happen is that Yahoo! Mail should filter malicious HTML code, and this mostly works. However, Pynnönen found, “certain malformed HTML code could pass the filter”. An attacker could embed malicious JavaScript in a correctly-formatted message, and get past the filters.

If an attacker puts the wrong value into a Boolean field, the filter strips it out, but leaving a mistake behind. In the example below, the field CHECKED is supposed to be Boolean:

input type="checkbox" checked="hello" name="check box"

After filtering it looked like this:

input type="checkbox" checked="name="check"

(Note, so The Register's CMS displays this correctly, the < and > symbols denoting the start and end of the tags have been left out.)

Browsers mishandle this, he writes, by treating NAME=”check as the value of the variable CHECKED, and leaving box” as something of an orphan – and that's where the exploit comes in, because in place of box” Pynnönen could “insert unrestricted HTML” in the Boolean tags.

Yahoo! fixed the bug after he reported it in December, Oy concludes. ®

Bootnote: This monolingual Australian writer originally mistook the name of a company, Klikki Oy, for the individual Jouko Pynnönen. My apologies, and thanks to Pynnönen for bring it to my attention. ®

Other stories you might like

  • Inside the RSAC expo: Buzzword bingo and the bear in the room
    We mingle with the vendors so you don't have to

    RSA Conference Your humble vulture never liked conference expos – even before finding myself on the show floor during a global pandemic. Expo halls are a necessary evil that are predominatly visited to find gifts to bring home to the kids. 

    Do organizations really choose security vendors based on a booth? The whole expo hall idea seems like an outdated business model – for the vendors, anyway. Although the same argument could be made for conferences in general.

    For the most part, all of the executives and security researchers set up shop offsite – either in swanky hotels and shared office space (for the big-wigs) or at charming outdoor chess tables in Yerba Buena Gardens. Many of them said they avoided the expo altogether.

    Continue reading
  • CISA and friends raise alarm on critical flaws in industrial equipment, infrastructure
    Nearly 60 holes found affecting 'more than 30,000' machines worldwide

    Updated Fifty-six vulnerabilities – some deemed critical – have been found in industrial operational technology (OT) systems from ten global manufacturers including Honeywell, Ericsson, Motorola, and Siemens, putting more than 30,000 devices worldwide at risk, according to private security researchers. 

    Some of these vulnerabilities received CVSS severity scores as high as 9.8 out of 10. That is particularly bad, considering these devices are used in critical infrastructure across the oil and gas, chemical, nuclear, power generation and distribution, manufacturing, water treatment and distribution, mining and building and automation industries. 

    The most serious security flaws include remote code execution (RCE) and firmware vulnerabilities. If exploited, these holes could potentially allow miscreants to shut down electrical and water systems, disrupt the food supply, change the ratio of ingredients to result in toxic mixtures, and … OK, you get the idea.

    Continue reading
  • 1Password's Insights tool to help admins monitor users' security practices
    Find the clown who chose 'password' as a password and make things right

    1Password, the Toronto-based maker of the identically named password manager, is adding a security analysis and advice tool called Insights from 1Password to its business-oriented product.

    Available to 1Password Business customers, Insights takes the form of a menu addition to the right-hand column of the application window. Clicking on the "Insights" option presents a dashboard for checking on data breaches, password health, and team usage of 1Password throughout an organization.

    "We designed Insights from 1Password to give IT and security admins broader visibility into potential security risks so businesses improve their understanding of the threats posed by employee behavior, and have clear steps to mitigate those issues," said Jeff Shiner, CEO of 1Password, in a statement.

    Continue reading

Biting the hand that feeds IT © 1998–2022