Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Chrome Bug Allows Webpages to Replace Clipboard Contents

A vulnerability in Google Chrome – and in all Chromium-based browsers – allows webpages to replace the contents of the system clipboard without the user’s consent or interaction.

The issue exists because the browser does not have the necessary safeguards to prevent sites from writing to the clipboard.

A vulnerability in Google Chrome – and in all Chromium-based browsers – allows webpages to replace the contents of the system clipboard without the user’s consent or interaction.

The issue exists because the browser does not have the necessary safeguards to prevent sites from writing to the clipboard.

According to developer Jeff Johnson, the bug was introduced in Chrome 104, when a requirement for a user gesture to copy content to the clipboard was broken.

Because of that, when a user visits a specially crafted webpage, the content of the system clipboard may be replaced with content defined on that page.

The same issue is present in Firefox and Safari as well, the developer says. However, while the bug can be triggered in Chrome without user interaction, some form of gesture is required to exploit it in Firefox and Safari.

According to Johnson, when on the crafted page, if the user triggers a ‘copy’ or ‘cut’ command, clicks on a link, or simply scrolls down or up (using either the mouse or the keyboard), the page is granted the permission to overwrite the system clipboard.

The developer has created a demo webpage to showcase the vulnerability. SecurityWeek was able to verify the issue on the most recent Chrome release (version 105), but could not reproduce it in Firefox.

“The potential for maliciousness should be obvious. While you’re navigating a web page, the page can without your knowledge erase the current contents of your system clipboard, which may have been valuable to you, and replace them with anything the page wants, which could be dangerous to you the next time you paste,” the developer notes.

Advertisement. Scroll to continue reading.

Cybercriminals have been observed targeting the clipboard content in attacks meant to hijack a victim’s cryptocurrency transactions. As part of such attacks, malware is typically used to replace in the clipboard a crypto wallet address with that of a wallet controlled by the attackers.

Johnson says he has also checked whether a webpage may be able to read the content of the clipboard with arbitrary gestures, but that the results of his tests were negative. A ‘clipboard-read’ permission needs to be granted before that.

Related: Chrome 105 Patches Critical, High-Severity Vulnerabilities

Related: WordPress 6.0.2 Patches Vulnerability That Could Impact Millions of Legacy Sites

Related: Malicious Plugins Found on 25,000 WordPress Websites: Study

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Cody Barrow has been appointed as CEO of threat intelligence company EclecticIQ.

Shay Mowlem has been named CMO of runtime and application security company Contrast Security.

Attack detection firm Vectra AI has appointed Jeff Reed to the newly created role of Chief Product Officer.

More People On The Move

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

IoT Security

A vulnerability affecting Dahua cameras and video recorders can be exploited by threat actors to modify a device’s system time.