Nmap Development mailing list archives
Re: [NSE] Created NSE script to detect Zimbra 0 day
From: Paul AMAR <aos.paul () gmail com>
Date: Fri, 20 Dec 2013 08:44:54 +0100
Hi, Thanks for updating the script Ron. That's really weird that it was working for me though. @George, thanks for the hint with the special character "-". 2013/12/19 Ron <ron () skullsecurity net>
I fixed up the code quite a bit and submitted it on irc, it cleanly detects vulnerable and patched hosts now. Ron On 19 Dec 2013 10:34, George Chatzisofroniou <sophron () latthi com> wrote:On Wed, Dec 18, 2013 at 06:18:57PM -0600, Ron wrote:The issue with the script as-is is, once the vuln is patched, it'llkeepreporting it's vulnerable, I think, unless they just delete the file.ifyou try to grab a "bad" file (like /etc/shadow), everything seem toworkfine.There are some fixes around already. By fixing the LFI, the HTTPresponse statuswon't be 200, so the script will not return a false positive.It works if I switch out the string.match() with "==". I don't know why, though!That's because Lua string.match() method expects a pattern as a secondargument(not a raw string) and the special "-" character is interpreted as theLuamodifier for repetitions. Thanks for cathing this. -- George Chatzisofroniou_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: [NSE] Created NSE script to detect Zimbra 0 day, (continued)
- Re: [NSE] Created NSE script to detect Zimbra 0 day Paul AMAR (Dec 19)
- Re: [NSE] Created NSE script to detect Zimbra 0 day Ron (Dec 19)
- Re: [NSE] Created NSE script to detect Zimbra 0 day Ron (Dec 19)
- Re: [NSE] Created NSE script to detect Zimbra 0 day Paul AMAR (Dec 19)
- Re: [NSE] Created NSE script to detect Zimbra 0 day Ron (Dec 19)
- Re: [NSE] Created NSE script to detect Zimbra 0 day Ron (Dec 19)
- Re: [NSE] Created NSE script to detect Zimbra 0 day Daniel Miller (Dec 19)
- Re: [NSE] Created NSE script to detect Zimbra 0 day Robin Wood (Dec 19)
- Re: [NSE] Created NSE script to detect Zimbra 0 day Paul AMAR (Dec 19)
- Re: [NSE] Created NSE script to detect Zimbra 0 day Paul AMAR (Dec 20)