Loading...
 

Imagemagick


Security hole recently detected and published in imagemagick.
More info:
http://www.theregister.co.uk/2016/05/03/imagemagick/
https://imagetragick.com/

And updated files in ubuntu 14.04.x or centos 7.x. based OS's.


How to patch affected systems:

 
sudo nano /etc/ImageMagick/policy.xml

and add the policies within the appropriate section <policymap> :
<policy domain="coder" rights="none" pattern="EPHEMERAL" /> <policy domain="coder" rights="none" pattern="URL" /> <policy domain="coder" rights="none" pattern="HTTPS" /> <policy domain="coder" rights="none" pattern="HTTP" /> <policy domain="coder" rights="none" pattern="FTP" /> <policy domain="coder" rights="none" pattern="MVG" /> <policy domain="coder" rights="none" pattern="MSL" /> <policy domain="coder" rights="none" pattern="TEXT" /> <policy domain="coder" rights="none" pattern="SHOW" /> <policy domain="coder" rights="none" pattern="WIN" /> <policy domain="coder" rights="none" pattern="PLT" /> <policy domain="coder" rights="none" pattern="LABEL" /> <policy domain="path" rights="none" pattern="@*" />

BBB

https://groups.google.com/forum/#!topic/bigbluebutton-setup/s5zeNpg5M8I

x
 
1
Hi all, 
2
3
We use ImageMagick as a dependency in the BigBlueButton. We expect that 
4
Canonical will be updating the ImageMagick package very soon, but in 
5
the mean time your BigBlueButton servers have a vulnerable version of 
6
the package installed. 
7
8
The vulnerability can be exploited by uploading a crafted "png" or 
9
"jpg" file that actually contains an SVG or MSL file with exploit code 
10
as a presentation. 
11
12
We *strongly recommend* everyone update the policy.xml file as 
13
described 
14
15
  https://imagetragick.com/#info 
16
17
Specifically, add the following: 
18
19
  <policy domain="coder" rights="none" pattern="EPHEMERAL" /> 
20
  <policy domain="coder" rights="none" pattern="URL" /> 
21
  <policy domain="coder" rights="none" pattern="HTTPS" /> 
22
  <policy domain="coder" rights="none" pattern="MVG" /> 
23
  <policy domain="coder" rights="none" pattern="MSL" /> 
24
25
to 
26
27
 /etc/ImageMagick/policy.xml 
28
29
For example 
30
31
<policymap> 
32
  <!-- <policy domain="system" name="precision" value="6"/> --> 
33
  <!-- <policy domain="resource" name="temporary-path" value="/tmp"/> 
34
--> 
35
  <!-- <policy domain="resource" name="memory" value="2GiB"/> --> 
36
  <!-- <policy domain="resource" name="map" value="4GiB"/> --> 
37
  <!-- <policy domain="resource" name="area" value="1GB"/> --> 
38
  <!-- <policy domain="resource" name="disk" value="16EB"/> --> 
39
  <!-- <policy domain="resource" name="file" value="768"/> --> 
40
  <!-- <policy domain="resource" name="thread" value="4"/> --> 
41
  <!-- <policy domain="resource" name="throttle" value="0"/> --> 
42
  <!-- <policy domain="resource" name="time" value="3600"/> --> 
43
  <policy domain="coder" rights="none" pattern="EPHEMERAL" /> 
44
  <policy domain="coder" rights="none" pattern="URL" /> 
45
  <policy domain="coder" rights="none" pattern="HTTPS" /> 
46
  <policy domain="coder" rights="none" pattern="MVG" /> 
47
  <policy domain="coder" rights="none" pattern="MSL" /> 
48
</policymap> 
49
50
There is no need to restart your BigBlueButton server. Once you edit 
51
the policy.xml your version of ImageMagick is no longer vulnerable. 
52
53
*We recommend that anyone running BigBlueButton (or any other server 
54
that uses imagemagic) do this now.  * 
55
56
Regards,... Fred & Calvin
Image Seed: noun \ˈsēd\ : the beginning of something which continues to develop or grow

Knowledge seeds

Switch Language