You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/exploits/windows/http/sitecore_xp_cve_2025_34510.rb
+13-48Lines changed: 13 additions & 48 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ def check
70
70
71
71
sitecore_version=get_version
72
72
73
-
returnExploit::CheckCode::Vulnerable("Sitecore version detected #{sitecore_version}, which is vulnerable")ifsitecore_version <= Rex::Version.new('10.4') && sitecore_version >= Rex::Version.new('10.0.0')
73
+
returnExploit::CheckCode::Vulnerable("Sitecore version detected #{sitecore_version}, which is vulnerable")ifsitecore_version.between?(Rex::Version.new('10.0.0'),Rex::Version.new('10.4'))
74
74
75
75
Exploit::CheckCode::Safe("Detected Sitecore version #{sitecore_version}, which is not vulnerable")
Copy file name to clipboardExpand all lines: modules/exploits/windows/http/sitecore_xp_cve_2025_34511.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ def check
77
77
78
78
returnExploit::CheckCode::Safe('PowerShell extension not detected, might not be installed in target Sitecore instance')unlessres&.code == 200
79
79
80
-
returnExploit::CheckCode::Vulnerable("Sitecore version detected #{sitecore_version}, which is vulnerable")ifsitecore_version <= Rex::Version.new('10.4') && sitecore_version >= Rex::Version.new('10.0.0')
80
+
returnExploit::CheckCode::Vulnerable("Sitecore version detected #{sitecore_version}, which is vulnerable")ifsitecore_version.between?(Rex::Version.new('10.0.0'),Rex::Version.new('10.4'))
81
81
82
82
Exploit::CheckCode::Safe("Detected Sitecore version #{sitecore_version}, which is not vulnerable")
0 commit comments