CSS is so powerful that it is possible to get anonymous Facebook user information
Several new additions to the web standards Cascading Style Sheet (CSS) are so powerful that a security researcher has used them to decode anonymous people (de-anonymize) on a demo page, revealing usernames and images. Facebook photo as well as whether they like a page on Facebook.
Information leaked in this way can help advertisers attach IP addresses or advertising records to real people, seriously violating user privacy. The leak is not only on Facebook but also affects every other page if content is embedded through another website with an iframe.
The weakness lies in the browser, not the website
In essence, this weakness lies in implementing CSS's feature called mix-blend-mode of the browser, added to the CSS3 web standard in 2016. Mix-blend-mode allows developers to stack elements (components) on each other and add effects to control how they interact with each other.
These effects are inspired by photo editing software like Photoshop, Gimp, Paint.net . and blended together. For example, some familiar names like Overlay, Darken, Lighten, Multiply .
Mix-blend-mode feature supports 16 blending modes, full support on Chrome (from v49) and Firefox (from v59) and partial support on Safari (from v11 on macOS and v10.3 on iOS) .
The researcher uses a DIV stack to rebuild iframe content
In the newly published study, Ruslan Habalov worked at Google in Switzerland and colleagues revealed how to use CSS3 mix-blend-mode to get information from the page. This technique relies on coaxing users to a malicious page that embeds an iframe to another page. DIV layers are stacked with blending mode on iframe. These layers are 1x1 pixels in size, meaning only 1 pixel of the iframe.
Depending on the time required to render the entire DIV layer, the attacker determines the color for that pixel on the user screen. By slowly moving these DIV layers 'scanning' through an iframe, it will know the content of the iframe. Often an attacker does not have access to iframe content due to the browser and remote sites that allow embedded content via iframe that has anti-clickjacking and other security measures.
The two demos are extremely impressive
On the 2 demos posted on the Internet, the researchers obtained the names and representative images (low resolution) and the pages that they liked by Facebook users. It only takes about 20 seconds to get the user name, 500 milliseconds to know if he likes or dislikes a page and about 20 minutes to get the avatar.
The attack is easy to cover because the iframe can be easily moved out of the screen or hidden behind another element (see the demo below, behind the cat image). It is not difficult for users to stay on the page for a few minutes because just a short question or an article is enough.
The demo does attack with CSS taking user information
A patch for Chrome and Firefox is available
The two researchers reported bugs to Google and Mozilla, and the bug was fixed in Chrome 64 and Firefox 60. 'Errors are fixed by vectorizing the blending mode calculation'. Implementing CSS-mix-blend-mode on Safari is not affected by the vectorized capital.
See more:
- Using only HTML and CSS code, one can create a masterpiece full of aesthetics like this
- 5 interesting HTML and CSS features to look forward to in 2018
- Top 5 popular CSS Framework that you should keep in mind
You should read it
- Facebook users will not be able to avoid being tracked and collected for advertising purposes
- 5 Facebook privacy settings you should know
- Facebook charges from November, just 'tin duck'
- Facebook's new privacy policy raises questions
- It turns out Facebook has collected SMS and call information for Android users for years now
- Vietnam reached the top 10 countries with the most leaked Facebook information in the world
- 6 useful features of Facebook are rarely used
- Even Facebook employees can look at personal information whether you want it or not
May be interested
- The best free anonymous proxy serversan anonymous proxy server, also known as a cgi proxy, is a server that operates through a web form so that all requests on the internet are filtered through this form, hiding the identity of the user. in this article, tipsmake.com will provide you with the best anonymous proxy server list.
- The way Hacker uses to remain anonymoushackers use different ways to remain anonymous while hacking, but it must be said that anonymity is completely unthinkable, but hackers can be safe and anonymous to some degree and ensure backwardness. it is very difficult.
- Facebook provides a warning and allows users to edit application access to protect informationrecently, facebook sent all users a notification about security issues and also updated the feature to edit application access, restrict applications or games from developers on the social network. this association accesses the user's personal information.
- Facebook users will not be able to avoid being tracked and collected for advertising purposesthere is no way for people to refuse facebook's use of their information for advertising, a facebook spokesman told gizmodo.
- How to manage News Feed on Facebook applicationto be able to control the information that appears on facebook's bulletin board, we can proceed to customize the news feed, which helps the information appear at the user's discretion.
- How to view Facebook IDs, get user IDs on Facebookpreviously, facebook's social network would display an id on a link to a user's personal page. but in recent years, facebook has allowed users to replace that id with a url to make it easier to access. this makes it very difficult for users to obtain user ids on facebook.
- 6 useful features of Facebook are rarely usedsocial network facebook is so familiar to everyone, if you are a regular internet user, you probably have a facebook account for yourself to keep in touch with friends and relatives; make friends with new friends, follow the information of celebrities you care about ...
- Facebook admits storing millions of user passwords in plain textkrebs on security has shocked millions of users with the release of facebook's information about 200 million to 600 million user passwords in plain text, which is not encrypted.
- JavaScript takes user data via the 'Sign in with Facebook' featurethe javascript library of many advertising and analytics services is taking user data from websites that use the facebook login permission feature.
- Vietnam reached the top 10 countries with the most leaked Facebook information in the worldaccording to the latest information posted on facebook's blog, there are about 427,446 vietnamese facebook users leaked information. this is just the number that facebook estimates but it is enough for vietnam to rank 9th in the ranking of 10 countries affected by information security.