As I reported to bugtraq on July 3, Patch 103093-13 (Solaris 2.5 SPARC)
fixes (among others) this problem:
1238582 privileged ifconfig ioctls by normal user succeed on sockets created as root
And your current exploit does not work on a Solaris 2.5 system with
103093-13 (or later) applied.
However, there does not seem to be an equivalent fix for Solaris 2.5.1 !!
Davin.
--
Davin Milun    Internet:  milun@cs.Buffalo.EDU     milun@acm.org
               Fax:       (716) 645-3464
               WWW:       http://www.cs.buffalo.edu/~milun/