Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Imgur Patches Vulnerability Exploited to Attack 8chan

Imgur has patched a serious vulnerability that allowed attackers to attach malicious code to files uploaded to the image sharing service.

Attackers have leveraged the flaw to launch sort of a distributed denial-of-service (DDoS) attack against the imageboard website 8chan.

Imgur has patched a serious vulnerability that allowed attackers to attach malicious code to files uploaded to the image sharing service.

Attackers have leveraged the flaw to launch sort of a distributed denial-of-service (DDoS) attack against the imageboard website 8chan.

According to Imgur, the flaw affecting its systems was exploited to upload what seemed like images, but were actually HTML files containing malicious JavaScript code. Then, links to these crafted image files were posted to the 8chan section on Reddit.

When the links were clicked, the malicious JavaScript code created an iframe containing a specially crafted Flash file hosted on 8chan. The Flash file, which could not be seen by users during this process, injected another piece of JavaScript into the victim’s local storage. This was possible due to a couple of security issues in 8chan, experts said.

Once this was done, every time victims accessed an 8chan page, the JavaScript code in local storage caused their browser to communicate with a command and control (C&C) server. The JavaScript also loaded an image from 8chan hundreds of times, which resulted in the website becoming unavailable.

Imgur has patched the vulnerability and has taken steps to ensure that files other than valid images cannot be uploaded to the company’s servers, and JavaScript code can no longer be served from i.imgur.com. The image sharing website has also clarified that the malicious images had not made it to the gallery.

On its end, 8chan disabled access and upload permissions for Flash files, and rolled out a patch to clear users’ local storage the next time they visit the website.

Despite the fact that Imgur patched the vulnerability and removed the malicious files, the JavaScript code from the local storage can still communicate with the C&C server, which is why users have been advised to clear their browsing data, cookies and localStorage.

Advertisement. Scroll to continue reading.

Some believe that if Imgur and 8chan had not taken measures, the individual or group behind the attack might have done more than just disrupt 8chan.

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

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

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.

Vulnerabilities

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