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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Sng | Eric_raymond | 1.0.2 (including) | 1.0.2 (including) |
Sng | Ubuntu | dapper | * |
Sng | Ubuntu | gutsy | * |
Sng | Ubuntu | hardy | * |
Sng | Ubuntu | upstream | * |