Nmap Development mailing list archives
Re: [NSE] rpc library; trusted inputs?
From: David Fifield <david () bamsoftware com>
Date: Wed, 21 Apr 2010 18:34:18 -0600
On Sat, Apr 17, 2010 at 04:21:59PM +0100, Djalal Harouni wrote:
2) NSE Scripts: - better error handling. I must remind you that some scripts/libs (including these ones) trust remote inputs!!! I have found this thread: http://seclists.org/nmap-dev/2009/q3/210 which is a good start.
Can you explain more in what way external inputs are being trusted? One specific example is already handled at a high level; control characters in NSE output are always escaped. I'm sure there are other possibilities, like a script looping forever. As Solar Designer pointed out, in case of a bug in liblua it might be possible for network input to escape the scripting environment. If you've found specific examples, please share them so they can be fixed. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: [PATCH] nselib rpc.lua, (continued)
- Re: [PATCH] nselib rpc.lua Djalal Harouni (Apr 05)
- Re: [PATCH] nselib rpc.lua Patrik Karlsson (Apr 08)
- Re: [NSE] rpc library Djalal Harouni (Apr 10)
- Re: [NSE] rpc library Djalal Harouni (Apr 11)
- Re: [NSE] rpc library David Fifield (Apr 15)
- Re: [NSE] rpc library Djalal Harouni (Apr 16)
- Re: [NSE] rpc library Djalal Harouni (Apr 17)
- Re: [NSE] rpc library Patrik Karlsson (Apr 18)
- Re: [NSE] rpc library Djalal Harouni (Apr 18)
- Re: [NSE] rpc library David Fifield (Apr 21)
- Re: [NSE] rpc library; trusted inputs? David Fifield (Apr 21)
- Re: [NSE] rpc library; trusted inputs? Djalal Harouni (Apr 26)
- Re: [NSE] rpc library; trusted inputs? David Fifield (Apr 26)
- Re: [NSE] rpc library; errors during nfsd startup David Fifield (Apr 21)
- Re: [NSE] rpc library; errors during nfsd startup Patrik Karlsson (Apr 22)
- Re: [NSE] rpc library; errors during nfsd startup Djalal Harouni (Apr 23)
- Re: [NSE] rpc library; errors during nfsd startup Patrik Karlsson (Apr 25)
- Re: [NSE] rpc library; errors during nfsd startup Djalal Harouni (Apr 25)
- Re: [NSE] rpc library; errors during nfsd startup David Fifield (May 04)
