NAI Net Tools PKI Server Format String Vulnerability
BID:1538
Info
NAI Net Tools PKI Server Format String Vulnerability
| Bugtraq ID: | 1538 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | Yes |
| Published: | Aug 02 2000 12:00AM |
| Updated: | Aug 02 2000 12:00AM |
| Credit: | This vulnerability was discovered and detailed in an advisory (attached beneath) by CORE SDI, in particular by Juliano Rizzo <[email protected]>. Disclaimer: CORE SDI serve as SecurityFocus.com's network security auditors. SecurityFocus.com was in n |
| Vulnerable: |
Network Associates Net Tools PKI Server 1.0 Hotfix2 Network Associates Net Tools PKI Server 1.0 Hotfix1 Network Associates Net Tools PKI Server 1.0 |
| Not Vulnerable: | |
Discussion
NAI Net Tools PKI Server Format String Vulnerability
Certain versions of Network Associates Inc.'s Net Tools PKI (Public Key Infrastructure) server ship with a vulnerability which allows remote attackers to execute arbitrary commands on the system which the PKI server resides. The problem lies within the webserver component of the PKI server (strong.exe) which operates several 'virtual servers' required to operate the PKI server. The first is the Administrative Web Server which listens via TCP port 443, the second is Enrollment Web Server which listens on TCP port 444. Unlike the Administrative Web Server the Enrollment Web Server does not require credentials to be exchanged before a user can talk to the webserver. It is via this virtual server that an attacker can exploit the problem at hand. The following is taken directly from the CORE SDI advisory on this issue:
"User supplied URL's are processed by Strong.exe. If a url with an .XUDA extension is found, the request is forwarded to XUDAD.EXE for further processing. Prior to this "hand-off" the URL string is parsed, filtered for meta characters and passed to a function that logs the request. Somewhere along the processing path, the user supplied data becomes the format string for a formatted output function similar to the ANSI C sprintf(). This allows a remote attacker to provide data that will force that function into overwriting arbitrary portions of the process memory and cause either a denial of service attack or the execution of arbitrary code."
Certain versions of Network Associates Inc.'s Net Tools PKI (Public Key Infrastructure) server ship with a vulnerability which allows remote attackers to execute arbitrary commands on the system which the PKI server resides. The problem lies within the webserver component of the PKI server (strong.exe) which operates several 'virtual servers' required to operate the PKI server. The first is the Administrative Web Server which listens via TCP port 443, the second is Enrollment Web Server which listens on TCP port 444. Unlike the Administrative Web Server the Enrollment Web Server does not require credentials to be exchanged before a user can talk to the webserver. It is via this virtual server that an attacker can exploit the problem at hand. The following is taken directly from the CORE SDI advisory on this issue:
"User supplied URL's are processed by Strong.exe. If a url with an .XUDA extension is found, the request is forwarded to XUDAD.EXE for further processing. Prior to this "hand-off" the URL string is parsed, filtered for meta characters and passed to a function that logs the request. Somewhere along the processing path, the user supplied data becomes the format string for a formatted output function similar to the ANSI C sprintf(). This allows a remote attacker to provide data that will force that function into overwriting arbitrary portions of the process memory and cause either a denial of service attack or the execution of arbitrary code."
Exploit / POC
NAI Net Tools PKI Server Format String Vulnerability
As detailed in the CORE SDI advisory on this issue:
https://host:444/xxx%3c%b9%ff%01%25%25x%25%25x%25%25x%25%25x%25%25x%25\ %25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25\ %25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25\ %25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25\ %25x%25%25x%25x%25n.xuda
note: the string has been wrapped for readability.
As detailed in the CORE SDI advisory on this issue:
https://host:444/xxx%3c%b9%ff%01%25%25x%25%25x%25%25x%25%25x%25%25x%25\ %25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25\ %25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25\ %25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25%25x%25\ %25x%25%25x%25x%25n.xuda
note: the string has been wrapped for readability.
Solution / Fix
NAI Net Tools PKI Server Format String Vulnerability
Network Associates Net Tools PKI Server 1.0
Network Associates Net Tools PKI Server 1.0 Hotfix1
Network Associates Net Tools PKI Server 1.0 Hotfix2
Network Associates Net Tools PKI Server 1.0
-
Network Associates Hotfix 3
http://www.nai.com/asp_set/download/upgrade/find.asp
Network Associates Net Tools PKI Server 1.0 Hotfix1
-
Network Associates Hotfix 3
http://www.nai.com/asp_set/download/upgrade/find.asp
Network Associates Net Tools PKI Server 1.0 Hotfix2
-
Network Associates Hotfix 3
http://www.nai.com/asp_set/download/upgrade/find.asp
References
NAI Net Tools PKI Server Format String Vulnerability
References:
References:
- CORE SDI Homepage (CORE)
- Release Notes for Net Tools PKI Server Version 1.0 for Windows NT HotFix 1 (Network Associates Inc.)