Advertisement






Contact Form Pro 2.1.2 WP SQL injection

CVE Category Price Severity
CVE-2020-12695 CWE-89 $5000 High
Author Risk Exploitation Type Date
Exploit Alert Team High Remote 2016-08-22
CPE
cpe:cpe:/a:contact_form_pro:contact_form_pro:2.1.2
CVSS EPSS EPSSP
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 0.02192 0.50148

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2016080210

Below is a copy:

Contact Form Pro 2.1.2 WP SQL injection[+] Date: [22-8-2016]
[+] Autor Guillermo Garcia Marcos 
[+] Vendor: https://wordpress.org/plugins/custom-user-contact-form-builder/
[+] Title: Contact Form Pro 2.1.2 WP SQL injection 
[+] info: Multiples SQl injection.


Contact Form Pro fails to sanitized user supplied input and is vulnerable to
SQL Injection. An attacker can obtain any data
of the database including user logins and password's of the WordPress
installation, allowing him to obtain access to the application and
gain administration privileges.


[-] Vuln Files:
[+] add-form.php
...
if(isset($_REQUEST['id']))
{
$qry = "select * from $cfp_forms where id =".$_REQUEST['id'];
$row = $wpdb->get_row($qry);
$form_options = maybe_unserialize($row->form_option);
$submit_button_label = $form_options['submit_button_label'];
}
..

[+] manage_entries.php
...
$form_id = $_REQUEST['form_id']=$reg;
...
if($_REQUEST['form_id']!="")
{
  $total = $wpdb->get_var( "SELECT count(*) FROM $cfp_entries where form_id ='".$form_id."'" );
  $num_of_pages = ceil( $total / $limit );

[+] manage-form-fields.php
..
$qry1 = "select * from $cfp_fields where Form_Id = '".$_REQUEST['form_id']."' order by ordering asc"; 
$row1 = $wpdb->get_results($qry1);
..

[+] add_field.php
if(isset($_REQUEST['id']))
{
$qry="select * from $cfp_fields where Id=".$_REQUEST['id'];
$reg = $wpdb->get_row($qry);



Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum