From: spalax Date: Tue, 31 May 2016 20:49:26 +0000 (-0400) Subject: More about security X-Git-Tag: debian/3.20160728~42^2~3 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/a3f48a1106e4b3ae3db8b660b97a3b49f5598914 More about security --- diff --git a/doc/plugins/contrib/bibtex2html/discussion.mdwn b/doc/plugins/contrib/bibtex2html/discussion.mdwn index 86686929c..3e4207e4e 100644 --- a/doc/plugins/contrib/bibtex2html/discussion.mdwn +++ b/doc/plugins/contrib/bibtex2html/discussion.mdwn @@ -112,6 +112,10 @@ Right now, it is not possible for the [[plugins/contrib/compile]] plugin to rend >>>> which prevents (?) shell injections. This adds the burden of manipulating >>>> arrays instead of strings, but security should be improved. >>>> +>>>> But none of those ideas solve the problems you mentionned, being that +>>>> external commands can do nasty things (the `-oclobberfile` option of +>>>> `bibtex2html`) or contain bugs (like ImageMagick). +>>>> >>>> If we want to merge this plugin and compile, I think a better idea than the one >>>> I proposed at the beginning of the discussion would be to provide two different >>>> directives: a `\[[!compile "foo.bar"]]` would compile the file and render it as a