SSI vulnerability in Compaq Web Based Management Agent ====================================================== Type of vulnerabilities: Server Side Include injection. Exploitable. Stack overflows and access violations. Exploitable? Creation of script objects. Exploitable? Affected Software: Compaq Web Based Management Agent Verified Platforms: Windows Background and problem description ================================== Bashis (bash at wcd.se) has found several vulnerabilities in Compaq Web Based Management Agent. This Agent runs on TCP port 2301 (HTTP) or 2381 (HTTPS). The agent uses "tags" to run funktions at the server side. To list all tags: http://IP:2301/ To crash the agent: http://IP:2301/ Stack overflow (0xc00000fd), Address: 0x77f0c3dc http://IP:2301/survey/ Stack overflow (0xc00000fd), Address: 0x10039869 This crashes the agent too: http://IP:2301/ Stack overflow (0xc00000fd), Address: 0x77f0c3dc http://IP:2301/ Stack overflow (0xc00000fd), Address: 0x77f0c3dc http://IP:2301/survey/ Stack overflow (0xc00000fd), Address: 0x10039869 The cause could be an endless loop (the result contains a tag to display an URL, and the result contains a tag to display an URL, and the result...) More strange stack overflows: http://IP:2301/ Stack overflow (0xc00000fd), Address: 0x77f0c3dc Many tags take input that seems vulnerable: http://IP:2301/ Stack overflow (0xc00000fd), Address: 0x77f0c3dc Netcat following: GET / HTTP/1.0 Access violation (0xc0000005), Address: 0x100368a5 Check file existens. (with a nice 'input box') http://IP:2301/?Url=%2F..%2F..%2F..%2F..%2Fboot.ini It looks like you could create script objects. Check the tags with . Some of the CreateObject tags has the parameter 'script'. I don't know if it could be done though. Is this just another remote DoS? I have mailed HP (security-alert@hp.com) and got an automated response 28/5 2003. If someone want to forward this mail they may do so. To all of my friends; See you in Vegas! The Swedes are comming. //Ian Vitek