/bin/login in shadow 4.0.18.1 in Debian GNU/Linux, and probably other Linux distributions, allows local users in the utmp group to overwrite arbitrary files via a symlink attack on a temporary file referenced in a line (aka ut_line) field in a utmp entry.
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 |
---|---|
http://osvdb.org/52200 | vdb entry |
http://bugs.debian.org/505271 | |
http://www.securityfocus.com/bid/32552 | vdb entry |
http://bugs.debian.org/332198 | |
https://exchange.xforce.ibmcloud.com/vulnerabilities/47037 | vdb entry |
http://security.gentoo.org/glsa/glsa-200903-24.xml | vendor advisory |
http://www.mandriva.com/security/advisories?name=MDVSA-2009:062 | vendor advisory |
http://www.securityfocus.com/archive/1/498769/100/0/threaded | mailing list |
https://www.exploit-db.com/exploits/7313 | exploit |
http://securityreason.com/securityalert/4695 | third party advisory |
http://bugs.debian.org/505071 | |
http://www.ubuntu.com/usn/usn-695-1 | vendor advisory |