Virtual Event: Threat Detection and Incident Response Summit - Watch Sessions
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.

Advertisement. Scroll to continue reading.

“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.

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

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.

SecurityWeek’s Threat Detection and Incident Response Summit brings together security practitioners from around the world to share war stories on breaches, APT attacks and threat intelligence.

Register

Securityweek’s CISO Forum will address issues and challenges that are top of mind for today’s security leaders and what the future looks like as chief defenders of the enterprise.

Register

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...

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...

Vulnerabilities

The latest Chrome update brings patches for eight vulnerabilities, including seven reported by external researchers.

Vulnerabilities

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

Vulnerabilities

Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.

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...

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.