Yesterday morning, August 5, a Firefox user informed us that an advertisement on a news site in Russia was serving a Firefox exploit that searched for sensitive files and uploaded them to a server that appears to be in Ukraine. This morning Mozilla released security updates that fix the vulnerability. All Firefox users are urged to update to Firefox 39.0.3. The fix has also been shipped in Firefox ESR 38.1.1.
The vulnerability comes from the interaction of the mechanism that enforces JavaScript context separation (the “same origin policy”) and Firefox’s PDF Viewer. Mozilla products that don’t contain the PDF Viewer, such as Firefox for Android, are not vulnerable. The vulnerability does not enable the execution of arbitrary code but the exploit was able to inject a JavaScript payload into the local file context. This allowed it to search for and upload potentially sensitive local files.
The files it was looking for were surprisingly developer focused for an exploit launched on a general audience news site, though of course we don’t know where else the malicious ad might have been deployed. On Windows the exploit looked for subversion, s3browser, and Filezilla configurations files, .purple
and Psi+ account information, and site configuration files from eight different popular FTP clients. On Linux the exploit goes after the usual global configuration files like /etc/passwd
, and then in all the user directories it can access it looks for .bash_history
, .mysql_history
, .pgsql_history
, .ssh
configuration files and keys, configuration files for remina, Filezilla, and Psi+, text files with “pass” and “access” in the names, and any shell scripts. Mac users are not targeted by this particular exploit but would not be immune should someone create a different payload. [Update: we’ve now seen variants that do have a Mac section, looking for much the same kinds of files as on Linux.]
The exploit leaves no trace it has been run on the local machine. If you use Firefox on Windows or Linux it would be prudent to change any passwords and keys found in the above-mentioned files if you use the associated programs. People who use ad-blocking software may have been protected from this exploit depending on the software and specific filters being used.
Olivier wrote on
Cadeyrn wrote on
Olivier wrote on
Dolfje wrote on
Jeff wrote on
Nerull wrote on
Leo wrote on
E wrote on
E wrote on
Anon wrote on
UncleBubba wrote on
Andrea Giammarchi wrote on
Olivier wrote on
Pablo Cholaky wrote on
Olivier wrote on
felipe wrote on
TFerguson wrote on
Olivier wrote on
Peter Bindels wrote on
Jones wrote on
Olivier wrote on
Emanuel Hoogeveen wrote on
Daniel Veditz wrote on
firefox_fan wrote on
MJ wrote on
JJ wrote on
Barry Allen wrote on
Ramon (Not Cisco) wrote on
human robot wrote on
Anonymous wrote on
Katz wrote on
Nerull wrote on
Robert O’Callahan wrote on
Behrang wrote on
tpimh wrote on
Java wrote on
Java wrote on
Vasya wrote on
Sergei wrote on
JJ wrote on
Java wrote on
AZ wrote on
RB wrote on
Java wrote on
Alexey wrote on
tpimh wrote on
rn10950 wrote on
mat2 wrote on
Jonathan wrote on
ernesto wrote on
DAX wrote on
Daniel Veditz wrote on
DAX wrote on
Oliver wrote on
ls wrote on
Jonas Lejon wrote on
Khannie wrote on
chasm22 wrote on
fukusa wrote on
Jonas Lejon wrote on
Nysepho Andar wrote on
James Edward Lewis II wrote on
Ray Radlein wrote on
Daniel Veditz wrote on
Steve wrote on
Keanzu wrote on
Marcello Romani wrote on
Daniel Veditz wrote on
KX wrote on
Ollie wrote on
myf wrote on
RaphAstronome wrote on
fukusa wrote on
horst wrote on
VVSite wrote on
JJ wrote on
mat2 wrote on
alp wrote on
bill wrote on
Anonymous Coward wrote on
zeus wrote on
esh wrote on
vinc17 wrote on
Bill wrote on
Robert O’Callahan wrote on
Eamon Nerbonne wrote on
Eamon Nerbonne wrote on
nope wrote on
Sloan wrote on
JJ wrote on
Awal wrote on
Sloan wrote on
Marko wrote on
Bottom jej wrote on
Joe wrote on
JJ wrote on
Ronan Jouchet wrote on
Lagfox wrote on
Ronan Jouchet wrote on
Stephane wrote on
Alica wrote on
paul wrote on
Olegario Craig wrote on
Thomas Quinot wrote on
Vasim wrote on
The Old Coot wrote on
James Edward Lewis II wrote on
Eye wrote on
KX wrote on
Scott Walters wrote on
Anonymous wrote on
jmp wrote on
Sayonji Nakayama wrote on
Program indir wrote on
Chris Hills wrote on
Roman Gorshunov wrote on
Erik wrote on
Rick wrote on
someone wrote on
Martin wrote on
Neal wrote on
Yellowberry wrote on
David wrote on
sametbh wrote on
Chris wrote on
Travis wrote on
Gav wrote on
David Coston wrote on
Mark wrote on
John Smith wrote on
Neal wrote on
Livid wrote on
Blath wrote on
AS wrote on
tasty wrote on
j wrote on
libpython3-dbg wrote on
O wrote on
O wrote on
bob wrote on
eliasp wrote on
Alex wrote on
Joe wrote on
Josh wrote on
Ben wrote on
Gerard Braad wrote on
Uil wrote on
Daniel Veditz wrote on
Michal wrote on
Daniel Veditz wrote on
Jk wrote on
G. R wrote on
Daniel Veditz wrote on
paul wrote on
Eugene wrote on
James Edward Lewis II wrote on
Eugene wrote on
mseri wrote on
tan wrote on
shadowspear wrote on
James Edward Lewis II wrote on
urmom wrote on
gary wrote on
William wrote on
George8211 wrote on
YourMother wrote on
Roy wrote on
joão lopes wrote on
James Edward Lewis II wrote on
Manly Electronics wrote on
Daniel Veditz wrote on
francois wrote on
stoyan wrote on
Dmitry wrote on
James Edward Lewis II wrote on
Chuck Baggett wrote on
Daniel Veditz wrote on
Gerard Braad wrote on
Dmitry wrote on
Gerard Braad wrote on
Gerard Braad wrote on
Christoph Anton Mitterer wrote on
Daniel wrote on
Hervé wrote on
Lasana Murray wrote on
Larry Jones wrote on
Matthew wrote on
Daniel Veditz wrote on
AC wrote on
Daniel Veditz wrote on
Fiberglass chopped strand mat wrote on
Neil wrote on
Joe wrote on
libpython3-dbg wrote on
Ricky wrote on
Dmitry wrote on
Ricky wrote on
RGoatse wrote on
Daniel Veditz wrote on
Ricky wrote on
John Gordon wrote on
O wrote on
O wrote on
O wrote on
Daniel Veditz wrote on
O wrote on
redwolfe_98 wrote on
Ricky wrote on
Peter wrote on
Nick wrote on
redwolfe_98 wrote on
Qu wrote on
A.Lepe wrote on
Lrrr wrote on
شركة مكافحة النمل الابيض بالرياض wrote on
Lars Schotte wrote on
Kaptak wrote on
Ted wrote on
Daniel Veditz wrote on
Mike wrote on
Gav wrote on
Gav wrote on
Puppy wrote on
Daniel Veditz wrote on