Sun Licensing Manager Symlink Vulnerability
BID:998
Info
Sun Licensing Manager Symlink Vulnerability
| Bugtraq ID: | 998 |
| Class: | Race Condition Error |
| CVE: | |
| Remote: | No |
| Local: | Yes |
| Published: | Feb 21 2000 12:00AM |
| Updated: | Feb 21 2000 12:00AM |
| Credit: | This vulnerability was posted to the Bugtraq mailing list on February 21, 2000, by sp00n <[email protected]> |
| Vulnerable: |
Sun Workshop 5.0 |
| Not Vulnerable: | |
Discussion
Sun Licensing Manager Symlink Vulnerability
A vulnerability exists in the installation of licenses for Sun's WorkShop 5.0 compilers, and other Sun products which use the FlexLM license management system. As part of the installation process, the 'lit' program is run. This program insecurely creates files in /var/tmp. This can be used to create files owned by root, with known contents. The file will be created with root's umask, which by default is 0022.
Lit is not part of Globetrotter's FlexLM distribution. It is a license installation tool supplied by Sun for convenience purposes. This vulnerability does not represent a vulnerability in lmgrd, but a flaw in the license installation process. Running lmgrd as a user other than root, while a good idea, will not eliminate this problem.
A vulnerability exists in the installation of licenses for Sun's WorkShop 5.0 compilers, and other Sun products which use the FlexLM license management system. As part of the installation process, the 'lit' program is run. This program insecurely creates files in /var/tmp. This can be used to create files owned by root, with known contents. The file will be created with root's umask, which by default is 0022.
Lit is not part of Globetrotter's FlexLM distribution. It is a license installation tool supplied by Sun for convenience purposes. This vulnerability does not represent a vulnerability in lmgrd, but a flaw in the license installation process. Running lmgrd as a user other than root, while a good idea, will not eliminate this problem.
Exploit / POC
Sun Licensing Manager Symlink Vulnerability
ln -sf /.rhost /var/tmp/license_errors
ln -sf /.rhost /var/tmp/license_errors