sng_regress in SNG 1.0.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/recompiled$$.png, (2) /tmp/decompiled$$.sng, and (3) /tmp/canonicalized$$.sng temporary files.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Link | Tags |
---|---|
https://exchange.xforce.ibmcloud.com/vulnerabilities/44881 | vdb entry |
http://lists.debian.org/debian-devel/2008/08/msg00283.html | mailing list exploit |
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496407 | |
http://www.securityfocus.com/bid/30965 | vdb entry |