Security Experts:

Connect with us

Hi, what are you looking for?


Application Security

Magecart Hackers Infect 17,000 Domains via Insecure S3 Buckets

The Magecart hackers have managed to infect over 17,000 domains by targeting improperly secured Amazon S3 buckets, RiskIQ reports. 

The Magecart hackers have managed to infect over 17,000 domains by targeting improperly secured Amazon S3 buckets, RiskIQ reports. 

The hackers came under the spotlight last year, after a series of high-profile attacks against websites including Ticketmaster, British Airways, and Newegg. The most recent of their attacks were hitting campus e-commerce sites and Picreel and Alpaca Forms.

Starting in early April, the hackers adopted a new shotgun approach where they would actively scan for misconfigured Amazon S3 buckets that would allow anyone with an Amazon Web Services account to read or write content to them.

The actors would then check if the misconfigured buckets had any JavaScript files (ending in .js) and then download these files, append their skimming code to the bottom, and overwrite the original script on the bucket, RiskIQ reveals

The group has apparently managed to compromise a large number of improperly secured S3 buckets, thus having their web skimmer implanted on well over 17,000 domains, including websites in the top 2,000 of Alexa rankings.

While the number of compromised websites is quite large, the adopted approach also meant that many of the infected scripts would never load on payment pages, meaning that the actors can’t get any credit card data. 

“However, the ease of compromise that comes from finding public S3 buckets means that even if only a fraction of their skimmer injections returns payment data, it will be worth it; they will have a substantial return on investment,” RiskIQ notes. 

The attack also illustrates how easy it is to compromise a large number of websites with scripts stored in misconfigured S3 buckets. 

To protect customers’ data, Amazon currently makes all buckets private and protected by default, delivers warnings directly to the S3 console, and offers account-level blocking. Thus, those who modify the default behavior of a bucket and provide public access should set up proper access control to ensure that their data remains secure. 

Related: British Airways Faces $230 Million Fine for 2018 Breach

Related: Magecart Skimmer Poses as Payment Service Provider

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.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.


Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.


Expert Insights

Related Content

Application Security

Cycode, a startup that provides solutions for protecting software source code, emerged from stealth mode on Tuesday with $4.6 million in seed funding.

Application Security

PayPal is alerting roughly 35,000 individuals that their accounts have been targeted in a credential stuffing campaign.

Application Security

GitHub this week announced the revocation of three certificates used for the GitHub Desktop and Atom applications.

Application Security

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

Application Security

While there are many routes to application security, bundles that allow security teams to quickly and easily secure applications and affect security posture in...

Application Security

A CSRF vulnerability in the source control management (SCM) service Kudu could be exploited to achieve remote code execution in multiple Azure services.

Application Security

Many developers and security people admit to having experienced a breach effected through compromised API credentials.

Application Security

A security vulnerability identified on AliExpress, the wholesale marketplace owned by the Chinese e-commerce giant Alibaba, could have been exploited by hackers to hijack...