<?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>Struts &#8211; ChaBug安全</title>
	<atom:link href="/tags/struts/feed" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description>一个分享知识、结识伙伴、资源共享的博客</description>
	<lastBuildDate>Fri, 23 Aug 2019 01:22: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>Apache Struts 2 RCE漏洞（CVE-2018-11776/S2-057）</title>
		<link>/news/550.html</link>
		
		<dc:creator><![CDATA[Y4er]]></dc:creator>
		<pubDate>Wed, 22 Aug 2018 11:21:58 +0000</pubDate>
				<category><![CDATA[安全资讯]]></category>
		<category><![CDATA[Struts]]></category>
		<guid isPermaLink="false">/?p=550</guid>

					<description><![CDATA[st2又来了！POC:https://github.com/jas502n/St2-057 概述 定义XML配置时如果namespace值未设置且上层动作配置（Action Con...]]></description>
										<content:encoded><![CDATA[<p>st2又来了！POC:<a href="https://github.com/jas502n/St2-057">https://github.com/jas502n/St2-057</a></p>
<h2 id="h2-0">概述</h2>
<p>定义XML配置时如果namespace值未设置且上层动作配置（Action Configuration）中未设置或用通配符namespace时可能会导致远程代码执行。</p>
<p>url标签未设置value和action值且上层动作未设置或用通配符namespace时可能会导致远程代码执行。</p>
<p>&nbsp;</p>
<h2 id="h2-1">官方解决方案</h2>
<p>升级至版本2.3.35或2.5.17。这两个版本仅仅只是更新了安全补丁，不存在兼容性问题。</p>
<p>&nbsp;</p>
<h2 id="h2-2">临时解决方案</h2>
<p>推荐用户及时更新，但如果不想更新，可暂时使用官方提供的临时解决方案：当上层动作配置中未设置或使用通配符namespace时，验证所有XML配置中的namespace，同时在JSP中验证所有url标签的value和action。</p>
<table class="confluenceTable" width="650">
<colgroup>
<col />
<col /></colgroup>
<tbody>
<tr>
<th class="confluenceTh">影响范围</th>
<td class="confluenceTd">所有<span class="wpcom_tag_link"><a href="/tags/struts" title="Struts" target="_blank">Struts</a></span>2开发者及用户</td>
</tr>
<tr>
<th class="confluenceTh">漏洞影响</th>
<td class="confluenceTd">有可能会导致远程代码执行</td>
</tr>
<tr>
<th class="confluenceTh">最高安全风险</th>
<td class="confluenceTd">关键</td>
</tr>
<tr>
<th class="confluenceTh">推荐防护措施</th>
<td class="confluenceTd">更新至2.3.35或2.5.17</td>
</tr>
<tr>
<th class="confluenceTh">影响版本</th>
<td class="confluenceTd">Struts 2.3 – Struts 2.3.34, Struts 2.5 – Struts 2.5.16</p>
<p>其余版本也可能会受到影响</td>
</tr>
<tr>
<th class="confluenceTh">漏洞报告人</th>
<td class="confluenceTd">Man Yue Mo@Semmle Security Research team</td>
</tr>
<tr>
<th class="confluenceTh">CVE编号</th>
<td class="confluenceTd">CVE-2018-11776</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h2 id="h2-3">CVSS v3</h2>
<table class="table feature-table" summary="">
<tbody>
<tr>
<th id="th-base-score" class="feature-property" scope="row">CVSS3 Base Score</th>
<td class="feature-value" headers="th-base-score">9.8</td>
</tr>
<tr>
<th id="th-base-metrics" class="feature-property" scope="row">CVSS3 Base Metrics</th>
<td class="feature-value" headers="th-base-metrics"><a href="https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H">CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H</a></td>
</tr>
<tr>
<th id="th-attack-vector" class="feature-property" scope="row">Attack Vector</th>
<td class="feature-value" headers="th-attack-vector">Network</td>
</tr>
<tr>
<th id="th-attack-complexity" class="feature-property" scope="row">Attack Complexity</th>
<td class="feature-value" headers="th-attack-complexity">Low</td>
</tr>
<tr>
<th id="th-privileges-required" class="feature-property" scope="row">Privileges Required</th>
<td class="feature-value" headers="th-privileges-required">None</td>
</tr>
<tr>
<th id="th-user-interaction" class="feature-property" scope="row">User Interaction</th>
<td class="feature-value" headers="th-user-interaction">None</td>
</tr>
<tr>
<th id="th-scope" class="feature-property" scope="row">Scope</th>
<td class="feature-value" headers="th-scope">Unchanged</td>
</tr>
<tr>
<th id="th-confidentiality" class="feature-property" scope="row">Confidentiality</th>
<td class="feature-value" headers="th-confidentiality">High</td>
</tr>
<tr>
<th id="th-integrity-impact" class="feature-property" scope="row">Integrity Impact</th>
<td class="feature-value" headers="th-integrity-impact">High</td>
</tr>
<tr>
<th id="th-availability-impact" class="feature-property" scope="row">Availability Impact</th>
<td class="feature-value" headers="th-availability-impact">High</td>
</tr>
</tbody>
</table>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
