Nmap Development mailing list archives
Re: Checking for jboss authentication bypass
From: Hani Benhabiles <kroosec () gmail com>
Date: Tue, 6 Dec 2011 14:05:10 +0100
Good catch! by trying to make the script's use more general, the special case of CVE-2010-0738 was omitted. Here's a patch that should include this case into consideration. On Tue, Dec 6, 2011 at 1:12 PM, Martin Holst Swende <martin () swende se>wrote:
Hm. Looking at it though, it seems not to work against jboss servers. A vulnerable (jboss) server will respond with http 500, as described in http://www.mindedsecurity.com/MSA030409.html and which I have verified on a live server. However, the script only triggers when head-response is 200. /Martin On 12/06/2011 01:05 PM, Hani Benhabiles wrote:Hi Martin, Check out the scripts/http-method-tamper.nse which defaults to checking CVE-2010-738 and the discussion [1] we had about it. [1] http://seclists.org/nmap-dev/2011/q4/225 Cheers, Hani. On Tue, Dec 6, 2011 at 12:46 PM, Martin Holst Swende <martin () swende se wrote:Hi list, I threw together a script to check if a server is vulnerable to jboss authentication bypass. It makes a get request to /jmx-console first to see if it is a jboss and whether it requires authentication. If it is and does, it tries a head-request. A http 500 response means it is vulnerable. As I wrote it, I copy-pasted a bit from other http-scripts. I was wondering; is this the correct way to do it if I want it to be able to work also against http or http-alt tunneled over https ? Regards, Martin Holst Swende _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
-- M. Hani Benhabiles Blog: http://kroosec.blogspot.com Twitter: kroosec <https://twitter.com/#%21/kroosec>
Attachment:
http-method-tamper.nse.patch
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Checking for jboss authentication bypass Martin Holst Swende (Dec 06)
- Re: Checking for jboss authentication bypass Hani Benhabiles (Dec 06)
- Re: Checking for jboss authentication bypass Martin Holst Swende (Dec 06)
- Re: Checking for jboss authentication bypass Martin Holst Swende (Dec 06)
- Re: Checking for jboss authentication bypass Martin Holst Swende (Dec 06)
- Re: Checking for jboss authentication bypass Hani Benhabiles (Dec 06)
- Re: Checking for jboss authentication bypass Patrik Karlsson (Dec 08)
- Re: Checking for jboss authentication bypass Martin Holst Swende (Dec 06)
- Re: Checking for jboss authentication bypass Hani Benhabiles (Dec 06)
