Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT Security Bulletin ASB-2016.0050 Multiple vulnerabilities have been discovered in ImageMagick 5 May 2016 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: ImageMagick Operating System: UNIX variants (UNIX, Linux, OSX) Windows Impact/Access: Execute Arbitrary Code/Commands -- Remote with User Interaction Delete Arbitrary Files -- Remote with User Interaction Provide Misleading Information -- Remote with User Interaction Access Confidential Data -- Remote with User Interaction Resolution: Mitigation CVE Names: CVE-2016-3718 CVE-2016-3717 CVE-2016-3716 CVE-2016-3715 CVE-2016-3714 Member content until: Saturday, June 4 2016 Comment: CVE-2016-3714 is currently being exploited in the wild. OVERVIEW Multiple vulnerabilities have been discovered in ImageMagick. [1][2] IMPACT The vendor has provided the following information: "We have recently received vulnerability reports for certain coders, they include possible remote code execution and ability to render files on the local system." [1] Independent security researchers have provided the following additional information: "CVE-2016-3714 - Insufficient shell characters filtering leads to (potentially remote) code execution Insufficient filtering for filename passed to delegate's command allows remote code execution during conversion of several file formats." [2] "CVE-2016-3718 - SSRF It is possible to make HTTP GET or FTP request" [2] "CVE-2016-3715 - File deletion It is possible to delete files by using ImageMagick's 'ephemeral' pseudo protocol which deletes files after reading." [2] "CVE-2016-3716 - File moving It is possible to move image files to file with any extension in any folder by using ImageMagick's 'msl' pseudo protocol." [2] "CVE-2016-3717 - Local file read (independently reported by original research author - Stewie) It is possible to get content of the files from the server by using ImageMagick's 'label' pseudo protocol." [2] MITIGATION Updates have not been completed at this time. The following workarounds are provided by independent security researchers but are not guaranteed to be effective against all attacks. Therefore, AusCERT recommends these workarounds as a temporary solution only: "1. Verify that all image files begin with the expected "magic bytes" corresponding to the image file types you support before sending them to ImageMagick for processing. 2. Use a policy file to disable the vulnerable ImageMagick coders. The global policy for ImageMagick is usually found in "/etc/ImageMagick"." [2] REFERENCES [1] ImageMagick Security Issue https://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=29588 [2] ImageMagick Is On Fire - CVE-2016-3714 https://imagetragick.com/ AusCERT has made every effort to ensure that the information contained in this document is accurate. However, the decision to use the information described is the responsibility of each user or organisation. The decision to follow or act on information or advice contained in this security bulletin is the responsibility of each user or organisation, and should be considered in accordance with your organisation's site policies and procedures. AusCERT takes no responsibility for consequences which may arise from following or acting on information or advice contained in this security bulletin. =========================================================================== Australian Computer Emergency Response Team The University of Queensland Brisbane Qld 4072 Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for member emergencies only. =========================================================================== -----BEGIN PGP SIGNATURE----- Comment: http://www.auscert.org.au/render.html?it=1967 iQIVAwUBVyrdsH6ZAP0PgtI9AQKvaxAAshFuqiJ6+pEglR22m+BvdDK4i1wJMBam jUSgnxUO4G3FWSe8w8m6tItkuE7ETC5n9W6py7cb1B7FFMhZ70HKJjH6GnF9NzaA dXJ8CTXPOoLDQoE+QT/63V3Ee+aamVj+WamX4dc5+3WDEcS73abyjyleOhGRbZAD 6EFKEzXSPFgQwax7A9YX1TJKi9jkfSoGHml65PTZ0C7rwnFSksHFMXbVS18RIyDH p1JFNYBAcrTrQwSPK0vuqzwDQoxMy1LpqecC7s+LPsibanc1ev4dpmhB9OsDnLf0 Zxd4nnb88DTvgYLA/kk8DVz3WxkwUGEqy4jVrFjOAXtJrF2+daSqKvfAnhNd4sqT W3Ho+FGfWaE/2AcwfUuqrIfWjL6qmiiVvX/fF4tK9zSvPqlSg+t2wpVcfuojwAX3 0OfpF5J+Zt9gdH97VjScS5O65e5oLuaV+XMr/2UQfCzE8PdbMp/JXywrDmDyhpxs V1V0AMkWnJhAeUT0VFD0mLdczm8n9jymvDDnxnsH+1oHZH9taSH1MB2pa1VanR0q 1BQCnyCfaFis2Ra9vGA9t4RsK3CAaSRYyHcmonSxs/LhFyioD5IffepbrmsK880w bR2mAFLxxiuowM1gZidxYJ9XcHPamprb5A8tE5z4G7D/uCVh0h+KRfaXE3beD1LC wbkZhfvpYpU= =tWZL -----END PGP SIGNATURE-----