CVE-2016–3718 SSRF
Posted: 2016-05-09T07:51:15-07:00
Are there any workarounds available for preventing ImageMagick from fetching http/https resources embedded into svg images?
Changing the policy.xml does not seem to prevent this behaviour.
Code: Select all
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="640px" height="480px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink= "http://www.w3.org/1999/xlink">
<image xlink:href="https://example.com/image.jpg" x="0" y="0" height="640px" width="480px"/>
</svg>