File http-vuln-cve2010-0738
Script types:
portrule
Categories:
safe, auth, vuln
Download: http://nmap.org/svn/scripts/http-vuln-cve2010-0738.nse
User Summary
Tests whether a JBoss target is vulnerable to jmx console authentication bypass (CVE-2010-0738).
It works by checking if the target paths require authentication or redirect to a login page that could be bypassed via a HEAD request. RFC 2616 specifies that the HEAD request should be treated exactly like GET but with no returned response body. The script also detects if the URL does not require authentication at all.
For more information, see:
- CVE-2010-0738 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0738
- http://www.imperva.com/resources/glossary/http_verb_tampering.html
- https://www.owasp.org/index.php/Testing_for_HTTP_Methods_and_XST_%28OWASP-CM-008%29
Script Arguments
http-vuln-cve2010-0738.paths
Array of paths to check. Defaults
to {"/jmx-console/"}.
smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername
See the documentation for the smbauth library.http.max-cache-size, http.max-pipeline, http.pipeline, http.useragent
See the documentation for the http library.Example Usage
nmap --script=http-vuln-cve2010-0738 --script-args 'http-vuln-cve2010-0738.paths={/path1/,/path2/}' <target>
Script Output
PORT STATE SERVICE 80/tcp open http | http-vuln-cve2010-0738: |_ /jmx-console/: Authentication bypass.
Requires
Author: Hani Benhabiles
License: Same as Nmap--See http://nmap.org/book/man-legal.html


