DOCUMENT:Q146965 TITLE :GetAdmin Utility Grants Users Administrative Rights PRODUCT :Microsoft Windows NT PROD/VER:4.00 with SP3 OPER/SYS:WINDOWS KEYWORDS:kbbug4.00 kbfile kbfix4.00 kbnetwork nt32ap ntsecurity NTSrvWkst -------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows NT Workstation version 4.0 Service Pack 3 - Microsoft Windows NT Server version 4.0 Service Pack 3 -------------------------------------------------------------------------- SYMPTOMS ======== A utility, Getadmin.exe, is being circulated on the Internet that grants normal users administrative rights by adding them to the Administrators group. This utility can be run from any user context except Guest and grants a local user account administrative rights. CAUSE ===== This problem occurs because of a problem in a low-level kernel routine that causes a global flag to be set which allows calls to NtOpenProcessToken to succeed regardless of the current users permissions. This in turn allows user accounts to be granted administrative rights. This problem only occurs on Windows NT 4.0 with Service Pack 3 installed. RESOLUTION ========== A fix has been developed by Microsoft which prevents this application from granting administrative status to users. To resolve this problem, obtain the hotfix below, or wait for the next service pack. NOTE: Service Pack 3 must be applied to Windows NT 4.0 prior to applying this fix. This hotfix has been posted to the following Internet location: ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/usa/nt40/ hotfixes-postSP3/getadmin-fix STATUS ====== Microsoft has confirmed this to be a problem in Windows NT version 4.0. A supported fix is now available, but has not been fully regression-tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information. MORE INFORMATION ================ Getadmin.exe must be executed locally and works for accounts on a workstation or member server and for domain accounts on a primary domain controller (PDC). The utility does not function on a backup domain controller (BDC) because the account database on a BDC is read only. The only way to use GetAdmin to modify a domain account database is to log on to a primary domain controller and run the utility locally on the PDC. Additional query words: 4.00 prodnt security hole breach ============================================================================ THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.