@@ -30,13 +30,13 @@ def initialize(info = {})
30
30
'License' => MSF_LICENSE ,
31
31
'Author' => [
32
32
'h00die-gr3y <h00die.gr3y[at]gmail.com>' , # MSF module contributor
33
- 'Steve Ikeoka' # Original Discovery
33
+ 'Steve Ikeoka' # Discovery
34
34
] ,
35
35
'References' => [
36
36
[ 'CVE' , '2024-36401' ] ,
37
37
[ 'URL' , 'https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv' ] ,
38
38
[ 'URL' , 'https://github.com/vulhub/vulhub/tree/master/geoserver/CVE-2024-36401' ] ,
39
- [ 'URL' , 'https://attackerkb.com/topics/xxxxx /cve-2024-36401' ]
39
+ [ 'URL' , 'https://attackerkb.com/topics/W6IDY2mmp9 /cve-2024-36401' ]
40
40
] ,
41
41
'DisclosureDate' => '2024-07-01' ,
42
42
'Platform' => [ 'unix' , 'linux' ] ,
@@ -124,8 +124,8 @@ def get_valid_featuretype
124
124
xml . remove_namespaces!
125
125
# get all the FeatureTypes and store them in an array of strings
126
126
retrieved_feature_types = xml . xpath ( '//ReturnFeatureType' )
127
- # shuffle the retrieved_feature_types array, and loop through the list of retrieved_feature_types from GeoServer.
128
- # return the string value if a match is found in the allowed_feature_types array
127
+ # shuffle the retrieved_feature_types array, and loop through the list of retrieved_feature_types from GeoServer
128
+ # return the feature type if a match is found in the allowed_feature_types array
129
129
retrieved_feature_types . to_a . shuffle . each do |feature_type |
130
130
return feature_type . text if allowed_feature_types . include? ( feature_type . text )
131
131
end
0 commit comments