Compaq Management Agents Web File Access Vulnerability
BID:282
Info
Compaq Management Agents Web File Access Vulnerability
| Bugtraq ID: | 282 |
| Class: | Access Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | Yes |
| Published: | May 25 1999 12:00AM |
| Updated: | May 25 1999 12:00AM |
| Credit: | This vulnerability was found by Master Dogen. The vulnerability was reported by Infosec in the BUGTRAQ mailing list. |
| Vulnerable: |
Compaq Survey Utility 2.0 Compaq Server Management Agents 4.23 Compaq Server Management Agents 4.22 Compaq Server Management Agents 4.21 Compaq Server Management Agents 4.20 c Compaq Server Management Agents 4.20 b Compaq Server Management Agents 4.20 a Compaq Server Management Agents 4.10 Compaq Server Management Agents 4.1 Compaq Server Management Agents 4.0 Compaq Management Agents for Workstations 4.20 A Compaq Intelligent Cluster Administrator 1.0 Compaq Insight Management Agents 4.30 A Compaq Insight Management Agents 4.22 A Compaq Insight Management Agents 4.21 A Compaq Client Management Agents 4.0 Compaq Client Management Agents 3.70 |
| Not Vulnerable: |
Compaq Survey Utility 2.18 Compaq Server Management Agents 4.23 b Compaq Management Agents for Workstations 4.20 B Compaq Insight Management Agents 4.30 B Compaq Client Management Agents 4.2 C |
Discussion
Compaq Management Agents Web File Access Vulnerability
A vulnerability in the Compaq Management Agents and the Compaq Survey Utility when running as an agent allows remote malicious users to steal local files. All Compaq Server and Client Management Agents version 4.0 or later are vulnerable. All Compaq Survey Utility versions 2.0 or later are vulnerable.
Compaq's Insight Manger a comprehensive management tool to monitor and control the operation of Compaq servers and clients and DIGITAL X86 and Alpha-based servers. One of its features is web acess to its device and configuration information via a built-in web server in the agents. Insight Manager is available for several platforms including Windows NT and Netware.
The web server in the agents fails to check whether requested files fall outside its document tree (by using ".." in the URL). Thus attackers can retrieve files in the same drives as that on which the software resides if they know or can get it's filename.
The web server listens on port 2301. By default the only user accounts available in the agents are account "anonymous", username "anonymous", no password, account "user", username "user", password "public", and account "administrator", username "administrator", and password "administrator". You login via the URL http://www.example.com:2301/cpqlogin.htm.
One an attacker has access to on such machine, using Compaq's HTTP Auto-Discovery Device List at the URL http://www.example.com/cpqdev.htm they can locate other machines.
The web agent service also appears to be vulnerable a a denial of service. By sending it a request for over 223 bytes long ("AAAA...") the service will fail with an access violation.
A vulnerability in the Compaq Management Agents and the Compaq Survey Utility when running as an agent allows remote malicious users to steal local files. All Compaq Server and Client Management Agents version 4.0 or later are vulnerable. All Compaq Survey Utility versions 2.0 or later are vulnerable.
Compaq's Insight Manger a comprehensive management tool to monitor and control the operation of Compaq servers and clients and DIGITAL X86 and Alpha-based servers. One of its features is web acess to its device and configuration information via a built-in web server in the agents. Insight Manager is available for several platforms including Windows NT and Netware.
The web server in the agents fails to check whether requested files fall outside its document tree (by using ".." in the URL). Thus attackers can retrieve files in the same drives as that on which the software resides if they know or can get it's filename.
The web server listens on port 2301. By default the only user accounts available in the agents are account "anonymous", username "anonymous", no password, account "user", username "user", password "public", and account "administrator", username "administrator", and password "administrator". You login via the URL http://www.example.com:2301/cpqlogin.htm.
One an attacker has access to on such machine, using Compaq's HTTP Auto-Discovery Device List at the URL http://www.example.com/cpqdev.htm they can locate other machines.
The web agent service also appears to be vulnerable a a denial of service. By sending it a request for over 223 bytes long ("AAAA...") the service will fail with an access violation.
Exploit / POC
Compaq Management Agents Web File Access Vulnerability
http://vulnerable-NT.com:2301/../../../winnt/repair/sam._
http://vulnerable-Netware.com:2301/../../../system/ldremote.ncf
http://vulnerable-NT.com:2301/../../../winnt/repair/sam._
http://vulnerable-Netware.com:2301/../../../system/ldremote.ncf
Solution / Fix
Compaq Management Agents Web File Access Vulnerability
Solution:
Please see the Compaq advisory in the references to determine the solution appropiate for you.
Compaq has released a patch for machines running Compaq Management Agents for Tru64/DIGITAL UNIX V4.0f. It is available at:
http://www.service.digital.com/patches
The filename is SSRT0612U_im_upd06991.tar
Solution:
Please see the Compaq advisory in the references to determine the solution appropiate for you.
Compaq has released a patch for machines running Compaq Management Agents for Tru64/DIGITAL UNIX V4.0f. It is available at:
http://www.service.digital.com/patches
The filename is SSRT0612U_im_upd06991.tar
References
Compaq Management Agents Web File Access Vulnerability
References:
References: