Almost all Chinese keyboards have severe security flaws that can be (mis)used for mass surveillance, report reveals

Cross posted from: beehaw.org/post/13390116

Typing logographic languages such as Chinese is more difficult than typing alphabetic languages, where each letter can be represented by one key. There is no way to fit the tens of thousands of Chinese characters that exist onto a single keyboard. Despite this obvious challenge, technologies have developed which make typing in Chinese possible. To enable the input of Chinese characters, a writer will generally use a keyboard app with an “Input Method Editor” (IME).

Almost all keyboard apps used by Chinese people around the globe share a security vulnerability that can be exploited to to detect what users are typing, researchers at the Citizen Lab, a technology and security research lab affiliated with the University of Toronto, have found.

Acvording to Citizen Lab, the keystroke data that these apps send to the cloud to be intercepted, has existed for years and could have been exploited by cybercriminals and state surveillance groups.

“Our analysis revealed critical vulnerabilities in keyboard apps from eight out of the nine vendors in which we could exploit that vulnerability to completely reveal the contents of users’ keystrokes in transit,” a new report says, adding that “most of the vulnerable apps can be exploited by an entirely passive network eavesdropper”.

Combining the vulnerabilities discovered in this and our previous report analyzing Sogou’s keyboard apps, Citizen Lab estimates that up to one billion users are affected by these vulnerabilities. “Given the scope of these vulnerabilities and the ease with which these vulnerabilities may have been discovered, it is possible that such users’ keystrokes may have also been under mass surveillance,” the report says.

In their report, the researchers analyzed the security of cloud-based pinyin keyboard apps from nine vendors: Baidu, Honor, Huawei, iFlytek, OPPO, Samsung, Tencent, Vivo, and Xiaomi.

We examined these apps’ transmission of users’ keystrokes for vulnerabilities.

In eght out of the nine vendor, the researchers could exploit the vulnerability to completely reveal the contents of users’ keystrokes in transit, the only exception being a phone by Huawei.

Having the capability to read what users type on their devices is of interest to a number of actors — including government intelligence agencies that operate globally — because it may encompass exceptionally sensitive information about users and their contacts including financial information, login credentials such as usernames or passwords, and messages that are otherwise end-to-end encrypted.

FZDC,

I wonder how the built-in Google and Apple IMEs compare.

tesseract,

I think you misspelled ‘backdoors’.

ryannathans,

Why do these keyboards make web requests while you type?

esaru,

Keyboards for typing Chinese can work completely without Internet connection. There’s one in the F-Droid store: Guileless Bopomofo.

Melkath,

Because the world has long since surpassed far beyond 1984 levels of spying on unsuspecting innocent civilians.

tardigrada,

As one user in this thread said, it might be a feature required by the CCP.

milicent_bystandr,

Essentially for predictive text: to make it easier to give good Chinese character suggestions when typing in Pinyin.

CanadaPlus,

From the article:

Because of the complexities of predicting which characters a user may want to type next, especially in logographic languages like Chinese, IMEs often offer “cloud-based” prediction services which reach out over the network. Enabling “cloud-based” features in these apps means that longer strings of syllables that users type will be transmitted to servers elsewhere.

ryannathans,

Must have missed that, cheers

CanadaPlus,

Yeah, no hate intended. Sometimes you can actually comment intelligently without reading the article at all.

card797,

Is my KU-0225 a security risk?

Melkath,

As long as you ensure a US based entity is spying on you with it, and not a China based entity, then no.

aprentic,

Isn't that the case for almost all services that do any amount of predictive typing?

Is there a reason to think that sending keystrokes to a Chinese prediction engine is inherently less secure than sending them to a prediction engine that works in any other language?

moon_matter,
moon_matter avatar

Isn't that the case for almost all services that do any amount of predictive typing?

Look for keyboards that don't require network access like OpenBoard.

aprentic,

That's a matter of OSS vs proprietary software though. It has nothing to do with Chinese vs other languages.

Melkath,

So the NSA, FBI and CIA are thanking China for assisting in their efforts, right?

drwho,
@drwho@beehaw.org avatar

Thanking? No. That would be impolitic.

Quietly using? They’d be foolish not to.

beefcat,
@beefcat@beehaw.org avatar

Given that the FBI’s targets probably don’t type in Chinese or other logographic languages very often i doubt they care.

Norgur,

Can we all agree to call this vulnerability "Poobear"?

Zworf, (edited )

This is something that the amazing Naomi Wu brought up for years before, and was ordered to stop publishing by the local government. It was about the same thing. It’s sometimes misrepresented as being about Signal, but her point was: There’s no point in using a secure messaging app like Signal if your keyboard (IME) leaks everything you write! So she was making the exact same point as in this article.

I really miss her content. 😢

wahming,

Hope she’s doing well, shame what the CCP did to her

some_guy,

Didn’t know about her, but now I do. Sounds like a great person on the side of users / the people.

Wu has been absent from social media since June 2023, reportedly after receiving a police visit due to her public criticisms of Signal and Chinese keyboard apps.

Sigh…

Zworf,

Yeah she clarified that literally, it’s not linked in the article.

twitter.com/RealSexyCyborg/…/1677480809450835969

I can’t find the source of her saying it was about the IME thing but I recall reading that from a person close to her. She had just raised it before all this happened. Edit: Oh wait, that’s here: skepchick.org/…/maker-naomi-wu-is-silenced-by-chi… (This was linked on wikipedia)

And yes she’s a great person, she was often criticised for being a CCP stooge but that was BS. She was as outspoken as one can be being in China (and unfortunately, clearly a bit more than that).

MrSpArkle,

The real nightmare here is that her girlfriend is a Uyghur.

tardigrada,
Frederic,

yeah, it’s a feature required by CCP

mozz,
@mozz@mbin.grits.dev avatar

"Flaws"

CanadaPlus,

Given that they explicitly ruled out interception at the cloud endpoint in this report, maybe? Then again, it could be a way of getting at it in situations where the server isn’t totally compromised.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • technology@beehaw.org
  • PowerRangers
  • DreamBathrooms
  • tacticalgear
  • magazineikmin
  • vwfavf
  • Youngstown
  • ngwrru68w68
  • ethstaker
  • slotface
  • rosin
  • mdbf
  • thenastyranch
  • kavyap
  • modclub
  • provamag3
  • Durango
  • cubers
  • osvaldo12
  • GTA5RPClips
  • everett
  • khanakhh
  • InstantRegret
  • Leos
  • tester
  • normalnudes
  • cisconetworking
  • anitta
  • megavids
  • All magazines