stop using execute file permissions under linux
this leads (is leading) to exploits
-
Hi Galen,
Which version of Ghostery are you referring to? Which files? -
-
CHAMP
1In Ghostery 2.6.0.1 for Firefox, take a look at getOrCreateFile in chrome://ghostery/content/ghostery-common.js
var type = isDirectory ? Components.interfaces.nsIFile.DIRECTORY_TYPE : Components.interfaces.nsIFile.NORMAL_FILE_TYPE;
file.create(type, 0777);
wants to be
if (isDirectory)
file.create(Components.interfaces.nsIFile.DIRECTORY_TYPE, 0777);
else
file.create(Components.interfaces.nsIFile.NORMAL_FILE_TYPE, 0666);-
Hey Eric, any particular reason why applying 666 to both levels wont work?
-
-
-
-
-
Hi Galen, thanks for using Ghostery.
I'll see about updating this for the next release. Have you seen a case of abuse of this particular vulnerability yet? -
Loading Profile...



Twitter,
Facebook, or email.

CHAMP
