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 bdad398 commit 9b1d07dCopy full SHA for 9b1d07d
modules/exploits/multi/http/xwiki_unauth_rce_cve_2025_24893.rb
@@ -91,10 +91,7 @@ def check
91
return CheckCode::Unknown('No response from target') unless res&.code == 200
92
93
version_div = res.get_html_document.at('div[id="xwikiplatformversion"]')
94
- unless version_div
95
- fail_with(Failure::UnexpectedReply, "#{peer} - Unable to find <div id=\"xwikiplatformversion\"> tag in response")
96
- return CheckCode::Safe('Possibly not XWiki or incorrect path (version tag not found)')
97
- end
+ return CheckCode::Safe('Possibly not XWiki or incorrect path (version tag not found)') unless version_div
98
99
version_match = version_div.text.match(/XWiki.*?(\d+\.\d+\.\d+)/)
100
unless version_match
0 commit comments