Printed from

Wordpress login cookies unencrypted, vulnerable to easy hijacking

updated 04:26 pm EDT, Wed May 28, 2014

Technologist warns not to use over unsecure networks

A staff technologist for the Electronic Frontier Foundation has stumbled across a cookie that uses to transmit login credentials in plain text to the authentication endpoint, leaving sites open to simple hijacking attempts. Yan Zhu posted about the discovery, detailing the information about how the information in the cookie could be used to access another's site if intercepted.

The cookie contains a tag labeled "wordpress_logged_in" that is set once a user logs into Wordpress. Once the login is successful the cookie is set to an expiration in three years, even if a user logs out of the system. If the cookie is snagged by someone over an unsecured network, they can control certain aspects of the blog and privileges of

Even though this type tag in a cookie is common, there is a larger problem because it is sent in plain text rather than utilizing any sort of encryption. This makes the process of getting into a blog easier since a malicious person can use the cookie on their own without much hassle. They only need to paste the cookie into a new browser profile. This leaves users two options to invalidate the cookie, either wait three years or change the account password.

Luckily someone hijacking the account won't be able to change the password on the account with the cookie, but there are a number of other things that can be seen and done. Of the actions, several are ones that could be undone, like creating new posts and entire blog sites that could be created or posting in comments under the captured login. Others, like the ability to activate two-factor authentication if it isn't already active on the account, pose a larger problem of getting access back.

Even though the problem seems to be related to account, it doesn't mean that self-hosted Wordpress sites are excluded from the problem. It is recommended that these sites are on servers that use SSL, with Wordpress set to auth flag "secure" for the cookies. Zhu recommends that users refrain from logging in on unsecured, untrusted networks until Wordpress has a fix in place.

Zhu was contacted by Andrew Nacin of Wordpress after cluing the company in on the problem. Nacin said that the auth cookies would be invalidated when a session ends in the next Wordpress release. The company is also looking to improve SSL support.

By Electronista Staff
Post tools:




Login Here

Not a member of the MacNN forums? Register now for free.


Network Headlines


Most Popular


Recent Reviews

Dell AD211 Bluetooth speaker

For all of the high-priced, over-engineered Bluetooth speakers in the electronics market, there is still room for mass-market solution ...

VisionTek 128GB USB Pocket SSD

USB flash drives dealt the death blow to both the floppy and Zip drives. While still faster than either of the old removable media, sp ...

Kodak PixPro SL10 Smart Lens Camera

Smartphone imagery still widely varies. Large Megapixel counts don't make for a good image, and the optics in some devices are lacking ...



Most Commented


Popular News