We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54a7ed1 commit 08de13fCopy full SHA for 08de13f
modules/exploits/multi/http/magento_xxe_cve_2024_34102.rb
@@ -67,6 +67,8 @@ def check
67
# Magento/2.4 (Community)
68
version, edition = res.body.scan(%r{Magento/([\d.]+) \(([^)]+)\)}).first
69
70
+ version = Rex::Version.new(version)
71
+
72
return CheckCode::Safe("Detected Magento #{edition} edition version #{version} which is not vulnerable") unless
73
version <= (Rex::Version.new('2.4.7')) ||
74
version <= (Rex::Version.new('2.4.6-p5')) ||
0 commit comments