Exploit database

GH-78762efc2c2c1d0d38de4362beab2332

kuttappu123/cve-2023-30212-lab

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-30212

4 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files94Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

file/client/manage/templates/ourphp_downview.html

HTML · 10,068 bytes

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>[.$ourphp_adminfont.admintitle.]</title>
<link href="templates/images/ourphp_login.css" rel="stylesheet" type="text/css"> 
<script type="text/javascript" src="../../function/plugs/jquery/1.7.2/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../../function/plugs/laydate/laydate.js"></script>
<script>
<!--
/*第一种形式 第二种形式 更换显示样式*/
function setTab(m,n){
 var tli=document.getElementById("menu"+m).getElementsByTagName("li");
 var mli=document.getElementById("main"+m).getElementsByTagName("ul");
 for(i=0;i<tli.length;i++){
  tli[i].className=i==n?"hover":"";
  mli[i].style.display=i==n?"block":"none";
 }
}
//-->
</script>

</head>

<body>
<div style="height:50px;"></div>
<div style="clear:both"></div>
<div id="tabs0">
 <ul class="menu0" id="menu0">
  <li class="hover">编 辑</li>
  <li><a href="javascript:history.go(-1)"><font color="#000000">返 回</font></a></li>
 </ul>
 <div class="main" id="main0" style="border-top:2px #488fcd solid; clear:both;">
  <ul class="block">
	  <li>
		<form id="form1" name="form1" method="POST" action="?ourphp_cms=edit&id=[.$ourphp_down.id.]&page=[.$page.]&aid=[.$aid.]" class="registerform">
		<table width="98%" border="0" cellpadding="5" cellspacing="0" bordercolor="#666666" style="border-collapse:collapse;" align="center">
		<tr>
		  	<td><div align="right">栏目</div><input type="hidden" value="[.$ourphp_down.OP_Class.]" name="c"></td>
			<td>	

<select name="OP_Downclass"  datatype="zoo" class="win3">
	<option value="0" >请选择</option>
	[.assign var="level" value=0.]
	[.function name=menu.]
			[.foreach $data as $op.]
				<option value="[.$op.id.]|[.$op.lang.]" [.if $op.model != 'down'.]disabled="true" style="color:#FF0000;"[.else.] style="color:#009900"[./if.] [.if $op.id == $ourphp_down.OP_Class.]selected="selected"[./if.]>
				[.if $op.uid != 0.]
					[.for $foo=1 to $level.]
					&nbsp;&nbsp;
					[./for.]
					└
				[./if.]
				[.$op.title.]
				</option>
				
				[.if isset($op.child).]
					[.call name=menu data=$op.child level=$level+1.]
				[./if.]
			[./foreach.]
	[./function.]
	[.call name=menu data=$downlist.]
</select>
			<font color="#009900">绿色</font>表示可录入项,<font color="#FF0000">红色</font>禁止录入项.
						
			</td>
		  </tr>
		  <tr>
		  	<td><div align="right">标题</div></td>
			<td><input name="OP_Downtitle" type="text" class="win" value="[.$ourphp_down.OP_Downtitle.]" [.$ourphp_bgcolor.] datatype="*" nullmsg="标题是必填项!"/><font color=red> (*)</font></td>
		  </tr>
		  <tr>
		  	<td><div align="right">软件截图</div></td>
			<td><input name="OP_Downimg" type="text" class="win" value="[.$ourphp_down.OP_Downimg.]" [.$ourphp_bgcolor.] id="upload"/>&nbsp;
			<input type="button" id="image3" value="上传图片" style="width:100px; height:35px; line-height:35px; background:#0099CC; color:#FFFFFF; border:0px;" />
			[.include file="ourphp_editor.html".]
			<script>
			KindEditor.ready(function(K) {
				var editor = K.editor({
					allowFileManager : true
				});
				K('#image3').click(function() {
					editor.loadPlugin('image', function() {
						editor.plugin.imageDialog({
							showRemote : false,
							imageUrl : K('#upload').val(),
							clickFn : function(url, title, width, height, border, align) {
								K('#upload').val(url);
								editor.hideDialog();
							}
						});
					});
				});
			});
		</script>
			</td>
		  </tr>
		  <tr>
		  	<td><div align="right">下载地址</div></td>
			<td><input name="OP_Downdurl" type="text" class="win" value="[.$ourphp_down.OP_Downdurl.]" [.$ourphp_bgcolor.] datatype="*" nullmsg="下载地址是必填项!" id="url"/>&nbsp;
			<input type="button" id="insertfile" value="上传文件" style="width:100px; height:25px; line-height:25px; background:#0099CC; color:#FFFFFF; border:0px;" />
			

		<script>
			KindEditor.ready(function(K) {
				var editor = K.editor({
					allowFileManager : true
				});
				K('#insertfile').click(function() {
					editor.loadPlugin('insertfile', function() {
						editor.plugin.fileDialog({
							fileUrl : K('#url').val(),
							clickFn : function(url, title) {
								K('#url').val(url);
								editor.hideDialog();
							}
						});
					});
				});
			});
		</script>			
			
			
			<font color=red> (*)</font> 外部下载链接请用http://或https://开头
			</td>
		  </tr>
		   <tr>
		  	<td height="50"><div align="right">下载权限</div></td>
			<td>
				[.html_checkboxes name="OP_Downrights" options=$ourphph_qx3 selected=$selected3 separator="&nbsp;&nbsp;".]
			</td>
		  </tr>
		  <tr>
		  	<td><div align="right">发布时间</div></td>
			<td>
			<input name="time" type="text" id="time" class="win" value="[.$ourphp_down.time.]" [.$ourphp_bgcolor.] />
			<script>
				laydate.render({
				  elem: '#time',
				  type: 'datetime'
				});
			</script>
			</td>
		  </tr>
		  <tr>
		  	<td valign="top">
		  	<div align="right">电脑端正文</div></td>
			<td><textarea name="OP_Downcontent" class="wtextarea editor" style="width:95%; height:400px;">[.$ourphp_down.OP_Downcontent.]</textarea><font color=red> (*)</font>
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">手机端正文</div></td>
			<td>
				<div class="newsleft">
					<textarea name="OP_Downcontent_wap" class="wtextarea editor waplook" style="width:100%; height:400px;">[.$ourphp_down.OP_Downcontent_wap.]</textarea>
					<font color=red> (*)</font>
				</div>
				
				<div class="newsright">
					[.include file="ourphp_contentwap.html".]
				</div>
			</td>
		  </tr>
		   <tr>
		  	<td><div align="right">授权方式</div></td>
			<td><input name="OP_Downempower" type="text" class="win" value="[.$ourphp_down.OP_Downempower.]" [.$ourphp_bgcolor.] />
				<select onchange="document.form1.OP_Downempower.value=this.value" class="win3">
			    <option value="">=快速选择=</option>
				<option value="免费使用">免费使用</option>
				<option value="购买使用">购买使用</option>
				<option value="授权使用">授权使用</option>
				<option value="开源使用">开源使用</option>
			    </select>
			</td>
		  </tr>
		   <tr>
		  	<td><div align="right">软件类型</div></td>
			<td><input name="OP_Downtype" type="text" class="win" value="[.$ourphp_down.OP_Downtype.]" [.$ourphp_bgcolor.] />
				<select onchange="document.form1.OP_Downtype.value=this.value" class="win3">
			    <option value="">=快速选择=</option>
				<option value="国产软件">国产软件</option>
				<option value="国外软件">国外软件</option>
			    </select>
			</td>
		  </tr>
		   <tr>
		  	<td><div align="right">操作语言</div></td>
			<td><input name="OP_Downlang" type="text" class="win" value="[.$ourphp_down.OP_Downlang.]" [.$ourphp_bgcolor.] />
				<select onchange="document.form1.OP_Downlang.value=this.value" class="win3">
			    <option value="">=快速选择=</option>
				<option value="简体中文">简体中文</option>
				<option value="繁体中文">繁体中文</option>
				<option value="English">English</option>
			    </select>
			</td>
		  </tr>
		   <tr>
		  	<td><div align="right">软件大小</div></td>
			<td><input name="OP_Downsize" type="text" class="win2" value="[.$ourphp_down.OP_Downsize|regex_replace:"/[A-Za-z]/":"".]" [.$ourphp_bgcolor.] />
				<select name="kb" class="win3">
			    <option value="KB" [.if strstr($ourphp_down.OP_Downsize,'KB').] selected="selected"[./if.]>KB</option>
				<option value="MB" [.if strstr($ourphp_down.OP_Downsize,'MB').] selected="selected"[./if.]>MB</option>
				<option value="GB" [.if strstr($ourphp_down.OP_Downsize,'GB').] selected="selected"[./if.]>GB</option>
				<option value="TB" [.if strstr($ourphp_down.OP_Downsize,'TB').] selected="selected"[./if.]>TB</option>
			    </select>
				[.*if $ourphp_down.OP_Downsize|regex_replace:"/[0-9]+(.[0-9])/":"" == 'TB'*.]
			</td>
		  </tr>
		   <tr>
		  	<td><div align="right">软件厂商</div></td>
			<td><input name="OP_Downmake" type="text" class="win" value="[.$ourphp_down.OP_Downmake.]" [.$ourphp_bgcolor.] /> </td>
		  </tr>
		   <tr>
		  	<td height="50"><div align="right">运行环境</div></td>
			<td>
				[.html_checkboxes name="OP_Downsetup" values=$ourphph_qx2 output=$ourphph_qx2 selected=$selected2 separator="&nbsp;&nbsp;".]
			</td>
		  </tr>
		  
		  <tr>
		  	<td><div align="right">排序</div></td>
			<td><input name="OP_Downsorting" type="text" class="win2" value="[.$ourphp_down.OP_Sorting.]" [.$ourphp_bgcolor.] datatype="*" nullmsg="排序是必填项!"/> 数字越小越靠前!</td>
		  </tr>
		  <tr>
		  	<td><div align="right">属性</div></td>
			<td>
				[.html_checkboxes name="OP_Downattribute" options=$ourphph_qx selected=$selected separator="&nbsp;&nbsp;".]
			</td>
		  </tr>
		  <tr>
		  	<td><div align="right">跳转</div></td>
			<td><input name="OP_Downurl" type="text" class="win" value="[.$ourphp_down.OP_Url.]" [.$ourphp_bgcolor.] /> 如果为空,则不跳转!</td>
		  </tr>
		  <tr>
			<td></td>
		  	<td><strong>--------------- SEO设置 ---------------</strong></td>
		  </tr>
		  <tr>
		  	<td><div align="right">关键词</div></td>
			<td><input name="OP_Downtag" type="text" class="win" value="[.$ourphp_down.OP_Tag.]" [.$ourphp_bgcolor.] />&nbsp;请用英文中的 , 格开</td>
		  </tr>
		  <tr>
		  	<td><div align="right">描述</div></td>
			<td><textarea name="OP_Downdescription" class="wtextarea" >[.$ourphp_down.OP_Description.]</textarea> 如果为空,自动截取正文前200个字</td>
		  </tr>
		   <tr>
		   	<td></td>
			<td><input type="submit" name="submit" value="提 交" class="ourphp-anniu"/></td>
		  </tr>
		   <tr>
		   	<td>&nbsp;</td>
			<td>&nbsp;</td>
		  </tr>
		</table>
		</form>
	  </li>
  </ul>
 </div>
</div>
[.include file="ourphp_foot.html".]
</body>
</html>