Skip to content

Commit 18965f7

Browse files
committed
Land rapid7#5289, wordpress/version.rb comment update
2 parents 93ac8b4 + c441ff8 commit 18965f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/http/wordpress/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def extract_and_check_version(body, type, item_type, fixed_version = nil, vuln_i
172172
# Version older than fixed version
173173
if Gem::Version.new(version) < Gem::Version.new(fixed_version)
174174
if vuln_introduced_version.nil?
175-
# All versions are vulnerable
175+
# Older than fixed version, no vuln introduction date, flag as vuln
176176
return Msf::Exploit::CheckCode::Appears
177177
# vuln_introduced_version provided, check if version is newer
178178
elsif Gem::Version.new(version) >= Gem::Version.new(vuln_introduced_version)

0 commit comments

Comments
 (0)