Skip to content
Disclosed report CVE-2016-5293

Write to arbitrary file with updater and moz maintenance service using updater.log hardlink

Holger Fuhrmannek Follow

Originally disclosed on Mozilla

  • Fixed in 4 months
  • Paid in 7 months
  • Disclosed after 4 months
Text
Created attachment 8717458
write.poc.zip

During an update a updater.log file is created in the update source directory. If possible the new log data are added to an existing log file. If the file is actually a hardlink the new data are added to an arbitrary file. 

The poc use the CreateHardlink tool from https://github.com/google/symboliclink-testing-tools to create the hardlink without the need of write access to the target file. 
I have tested the poc with win7 and ff 47 nightly installed to C:\Program Files (x86)\Nightly\:
To reproduce
- download poc and extract the files
- execute poc.rb
The poc adds amongst other data a user controlled new line to the updater.ini in the firefox directory.

This might be used to elevate privileges by overwriting a script or ini file which has a permissive parser which subsequently gets executed/parsed by a privileged process.

The original report as published on Mozilla's Bugzilla, by Holger Fuhrmannek. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A high-severity security bug in Application Update. Mozilla made it public on 14 June 2016 as CVE-2016-5293.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

More by Holger Fuhrmannek

View all

32 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.