Skip to content

Commit 28d6ef9

Browse files
committed
fourth release module
1 parent 92637c4 commit 28d6ef9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/exploits/multi/http/geoserver_unauth_rce_cve_2024_36401.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ def initialize(info = {})
3030
'License' => MSF_LICENSE,
3131
'Author' => [
3232
'h00die-gr3y <h00die.gr3y[at]gmail.com>', # MSF module contributor
33-
'Steve Ikeoka' # Original Discovery
33+
'Steve Ikeoka' # Discovery
3434
],
3535
'References' => [
3636
['CVE', '2024-36401'],
3737
['URL', 'https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv'],
3838
['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']
4040
],
4141
'DisclosureDate' => '2024-07-01',
4242
'Platform' => ['unix', 'linux'],
@@ -124,8 +124,8 @@ def get_valid_featuretype
124124
xml.remove_namespaces!
125125
# get all the FeatureTypes and store them in an array of strings
126126
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
129129
retrieved_feature_types.to_a.shuffle.each do |feature_type|
130130
return feature_type.text if allowed_feature_types.include?(feature_type.text)
131131
end

0 commit comments

Comments
 (0)