British infosec researcher Kevin Beaumont, who has warned that Amazon AWS servers could be held to ransom due to lax security, tweeted that the newspaper's site was serving a script created by Coinhive.
The Coinhive script mines for the monero cryptocurrency.
The S3 bucket used by the LA Times is apparently world-writable and an ethical hacker appears to have left a warning in the repository, warning of possible misuse and asking the owner to secure the bucket.
The problem isn’t just publicly readable S3 buckets, there’s also this. It’s a bag of fireworks waiting to go off (see also what happened to open MongoDB instances).— Kevin Beaumont (@GossiTheDog) 20 February 2018
AWS S3 buckets have been found to be world-accessible on many occasions, notably by the security firm UpGuard.
The script found on the LA Times website.
UpGuard has found misconfigured Amazon Web Services S3 buckets leaking data from Paris-based brand marketing company Octoly, California data analytics firm Alteryx, credit repair service National Credit Federation, the NSA, the Pentagon, global corporate consulting and management firm Accenture, publisher Dow Jones, a Chicago voter database, a North Carolina security firm, and a contractor for the US National Republican Committee.
The warning left on the LA Times S3 bucket.
Screenshots: courtesy Kevin Beaumont