Difference between revisions of "Dev:Security"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (Text replace - ']]' to '}}')
m (moved Security to Dev:Security)
 
(No difference)

Latest revision as of 07:56, 21 February 2010

Specific issues

Unix

Unix platforms include Linux, BSD, MacOS X, Solaris and so on.

No known issues in 0.61.08 and later, please report them if you find any.

synfig 0.61.07 and earlier are vulnerable to the issues still present in the Windows version, see below.

Windows

If you are given files from someone else and you render them using the dv, imagemagick or ffmpeg targets, they may cause synfig to run arbitrary programs (including malicious ones like formatting your hard drive). Currently the only way to avoid these issues is to not use the targets on untrusted sif/sifz files, or switch to Linux or Mac. The issues are due to the use of the popen/system calls, which run the encodedv, convert and ffmpeg command-line programs. We weren't yet able to find a way to fix the issues (patches welcome) because of the way Windows does command-line arguments - one big string parsed by the application instead of one string per command-line argument. The issues are with special chars, the alphanumeric ones and spaces/tabs should be safe. Specific issues include:

  • dv, imagemagick, ffmpeg
    • render output filenames with special characters
  • ffmpeg only
    • sif files that import filenames with special chars (only way to check is to look with a text editor before loading)
    • sif files that have a document name with special chars (see Edit->Properties->Name)

These are ONLY an issue if you have the convert (imagemagick), encodedv (dv) or ffmpeg binaries installed and in your PATH environment variable or in the same dir as synfig.exe/synfigstudio.exe. Most people will not have them installed or will not have them in a place where they can be run. You would need to explicitly set them up for execution, unless their installers do that for you.

General issues

Synfig relies on a lot of libraries and a few programs for loading the .sif XML format and for importing data. Synfig thus may provide a channel for attacking these libraries. Please ensure you keep your system up to date with security patches.