Online shoppers beware – even 404 pages can steal your card data now
Cybersecurity researchers from Akamai have discovered a new and somewhat creative way hackers were hiding credit card skimmers on ecommerce websites.
Usually, hackers hide malicious code somewhere on the checkout page and steal sensitive payment information (credit card numbers, full names, expiration dates, etc.) during the purchase process.
In this case, however, Akamai found the malicious code hiding in a site’s 404 page.
Innovative approach
Virtually every website on the internet has a 404 page – it’s displayed when a visitor tries to view a website that doesn’t exist, either because the link is broken, the page was moved, or similar. Some pages (mostly Magento and WooCommerce sites), including a few belonging to “renowned organizations” in the food and retail sectors, have had these 404 pages compromised with card-stealing code known as Magecart, something that was never seen before, Akamai claims.
“This concealment technique is highly innovative and something we haven’t seen in previous Magecart campaigns,” Akamai said in its report. “The idea of manipulating the default 404 error page of a targeted website can offer Magecart actors various creative options for improved hiding and evasion.”
Even Akamai’s researchers did not spot the malware at first, thinking the skimmer was inactive, or that the hackers made a mistake while configuring it.
“We simulated additional requests to nonexistent paths, and all of them returned the same 404 error page containing the comment with the encoded malicious code,” the researchers said. “These checks confirm that the attacker successfully altered the default error page for the entire website and concealed the malicious code within it!”
Akamai’s researchers also spotted two additional campaigns, one in which the attackers tried to hide the code in the HTML image tag’s ‘onerror’ attribute, and one in which an image binary was tweaked to make it seem as if it’s the Meta Pixel code snippet.
Via BleepingComputer
More from TechRadar Pro
Cybersecurity researchers from Akamai have discovered a new and somewhat creative way hackers were hiding credit card skimmers on ecommerce websites. Usually, hackers hide malicious code somewhere on the checkout page and steal sensitive payment information (credit card numbers, full names, expiration dates, etc.) during the purchase process. In this…
Recent Posts
- This chunky little tablet got my kid to clean up his toys
- OpenAI will let the US government review its AI models before release
- Seagate FireCuda X Vault review: Large capacity and decent transfer rates make this external hard drive a great solution for video and photography
- I customized a MacBook Neo with colorful spare parts
- EveryPlate Meal Kit Review (2026): Low Cost, Simplicity, Flavor
Archives
- June 2026
- May 2026
- April 2026
- March 2026
- February 2026
- January 2026
- December 2025
- November 2025
- October 2025
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023