metasploit-framework/tools
Tod Beardsley 2ce6f325f5
Be more specific with Nokogiri check
There are still strong reservations about using Nokogiri to parse
untrusted XML data.

http://www.wireharbor.com/hidden-security-risks-of-xml-parsing-xxe-attack/

It is also believed that many desktop operating systems are still
shipping out-of-date and vulnerable libxml2 libraries, which become
exposed via Nokogiri. For example:

http://stackoverflow.com/questions/18627075/nokogiri-1-6-0-still-pulls-in-wrong-version-of-libxml-on-os-x

While this isn't a problem for binary builds of Metasploit (Metasploit
Community, Express, or Pro) it can be a problem for development
versions or Kali's / Backtrack's version.

So, the compromise here is to allow for modules that don't directly
expose XML parsing. I can't say for sure that the various libxml2
vulnerabilities (current and future) aren't also exposed via
`Nokogiri::HTML` but I also can't come up with a reasonable demo.

Metasploit committers should still look at any module that relies on
Nokogiri very carefully, and suggest alternatives if there are any. But,
it's sometimes going to be required for complex HTML parsing.

tl;dr: Use REXML for XML parsing, and Nokogiri for HTML parsing if you
absolutely must.
2014-05-29 11:52:17 -05:00
..
context Add new context-keyed encoders from Dimitris Glynos ( http://census-labs.com/news/2010/06/04/athcon-2010-update/ ) 2010-06-09 16:43:46 +00:00
dev Fix symlink commands 2014-04-07 12:40:11 -05:00
memdump Importing memdump from the msf2 source 2007-01-17 00:39:31 +00:00
committer_count.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
convert_31.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
cpassword_decrypt.rb +x permission 2013-12-19 12:12:37 -06:00
exe2vba.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
exe2vbs.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
find_badchars.rb Remove a couple more instances of "shit" 2014-03-04 15:00:48 -06:00
halflm_second.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
hmac_sha1_crack.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
import_webscarab.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
list_interfaces.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
lm2ntcrack.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
makeiplist.rb add -i option as a requirement 2014-02-18 14:08:57 -05:00
metasm_shell.rb Expand path in metasm_shell#file. 2014-02-02 17:26:48 -06:00
module_author.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
module_changelog.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
module_commits.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
module_count.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
module_disclodate.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
module_license.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
module_mixins.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
module_payloads.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
module_ports.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
module_rank.rb Fixed bug that caused runtime error in module_rank.rb 2014-01-13 19:03:23 -06:00
module_reference.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
module_targets.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
msf_irb_shell.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
msftidy.rb Be more specific with Nokogiri check 2014-05-29 11:52:17 -05:00
nasm_shell.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
pack_fastlib.sh Make the fastlib code +x 2011-12-03 14:10:14 -06:00
pattern_create.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
pattern_offset.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
payload_lengths.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
pdf2xdp.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
profile.sh move profile.sh into the tools directory 2010-12-06 16:21:32 +00:00
psexec.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
reg.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
verify_datastore.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
virustotal.rb Change options. And change "checksum" to "hash" 2014-01-13 09:57:28 -06:00
vxdigger.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
vxencrypt.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
vxmaster.rb Retab all the things (except external/) 2013-09-30 13:47:53 -05:00