Exploit database

GH-7f80045c7cbfbe7346f35ae76d8e8b3e

visdev23/vulnerable-docker--cve-2023-30212-

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.

data/client/manage/templates/ourphp_video.html

HTML · 12,684 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 charset="utf-8" src="templates/images/ourphp.js"></script>
<style type="text/css">
.fl {width: 12%; max-height: 800px; overflow:auto; float: left;}
.fr {width: 88%; float: right;}
.treeview-red {padding-top:20px;}
.treeview-red a {font-size: 14px;}
.closed { padding:5px 0;}
.on {background: #488fcd; color: #fff; padding: 2px 5px}
.on:hover {color: #fff;}
</style>
</head>

<body>

<div id="tabs0" class="mt-50">
 <ul class="menu0" id="menu0">
  <li onclick="setTab(0,0)" class="hover">信息列表</li>
  <li onclick="setTab(0,1)">添加信息</li>
 </ul>
 <div class="main" id="main0" style="border-top:2px #488fcd solid; clear:both;">
  <ul class="block">
  <div class="fl">

	<div id="black" class="treeview-red" style="max-height: 800px;">
		[.function name=menu2.]
				[.foreach $data as $op.]
					<li class="closed" [.if $op.i % 2 == 0.]style="background:#f4f4f4;"[./if.]>
						<span class="font">
							[.if $op.uid != 0.]
							<font style="font-size:12px; color:#999;">[.$op.uptitle.] -> </font>
							[.else.]
							<font style="font-size:12px; color:#999;">无上级栏目 -> </font>
							[./if.]
							<a href="?aid=[.$op.id.]" [.if $aid == $op.id.] class="on" [./if.]>
							[.$op.title.]
							</a>
						</span>
					</li>
				[./foreach.]
		[./function.]
		[.call name=menu2 data=$videolist2.]
	</div>

  </div>
  <div class="fr">
	  <li>
		<div class="ourphp_newslist">
		<form id="form2" name="form2" method="post" action="?ourphp_cms=Batch">
		        <table width="100%" border="0" cellpadding="10" class="ourphp_newslist">
                  <tr>
				  <td width="5%" bgcolor="#EBEBEB"><div align="center">批量?</div></td>
				  	<td width="5%" bgcolor="#EBEBEB"><div align="center">ID</div></td>
					<td width="10%" bgcolor="#EBEBEB"><div align="center">封面</div></td>
                    <td bgcolor="#EBEBEB">标题</td>
                    <td width="20%" bgcolor="#EBEBEB">属性</td>
                    <td width="15%" bgcolor="#EBEBEB">发布时间</td>
                    <td width="10%" bgcolor="#EBEBEB">操作</td>
                  </tr>
				  [.section loop=$video name=op.]
                  <tr>
				  <td><div align="center"><input type="checkbox" name="op_b[]" value="[.$video[op].id.]" />
				 	 </div></td>
				  	<td><div align="center"><font class="la">[.$video[op].id.]</font></div></td>
					<td><div align="center">
					<img src="[.if !$video[op].img.]../../skin/noimage.png[.else.][.if strstr($video[op].img,'http://') || strstr($video[op].img,'https://').][.$video[op].img.][.else.][.$webpath.][.$video[op].img.][./if.][./if.]" border="0" width="80" height="80" />
					</div></td>
                    <td>
					
					[.$video[op].title.]&nbsp;&nbsp;<a href="ourphp_copy.php?type=video&id=[.$video[op].id.]"><span style="color:#ff0000;">[复制]</span></a><br /><br />
					<font class="lb">[.$video[op].lang.]</font>
					<font class="le">[.$video[op].class.]</font>
					<font class="ld">地址</font>&nbsp;&nbsp;
					<a class="copyplus" data-clipboard-text="
					[.$webpath.]?[.$video[op].lang.]-videoview-[.$video[op].class2.]-[.$video[op].id.].html" href="javascript:;">
					[.$webpath.]?[.$video[op].lang.]-videoview-[.$video[op].class2.]-[.$video[op].id.].html
					</a>
					</td>
                    <td>[.$video[op].att.]<br /><font class="la">排序:[.$video[op].sorting.]</font><font class="lb">浏览量:[.$video[op].click.]</font></td>
                    <td>[.$video[op].time.]</td>
                    <td><a href="ourphp_videoview.php?id=[.$video[op].id.]&page=[.$page.]&aid=[.$aid.]">编辑</a>&nbsp;&nbsp;-&nbsp;&nbsp;<a href="?ourphp_cms=del&id=[.$video[op].id.]&c=[.$video[op].class2.]&aid=[.$aid.]" onclick="javascript:return confirm('确认删除吗?')">删除</a></td>
                  </tr>
				  [.sectionelse.]
				  <tr>
                    <td colspan="7">[.$ourphp_access.]</td>
                  </tr>
				  [./section.]
				  <tr>
				  	<td><div align="center"><input onclick="selectAll()" type="checkbox" name="controlAll" style="controlAll" id="controlAll"/></div></td>
					<td colspan="6"></td>
				  </tr>
				  <tr>
                    <td colspan="7">
					<label><input type="checkbox" name="OP_Videoattribute[]" value="0" />&nbsp;头条</label>&nbsp;&nbsp;
					<label><input type="checkbox" name="OP_Videoattribute[]" value="1" />&nbsp;热门</label>&nbsp;&nbsp;
					<label><input type="checkbox" name="OP_Videoattribute[]" value="2" />&nbsp;滚动</label>&nbsp;&nbsp;
					<label><input type="checkbox" name="OP_Videoattribute[]" value="3" />&nbsp;推荐</label>&nbsp;&nbsp;[&nbsp;&nbsp;
					<label><input type="radio" name="h" value="h" />&nbsp;回收站</label>&nbsp;&nbsp;
					<label><input type="radio" name="h" value="y" />&nbsp;移动</label>&nbsp;&nbsp;
					<label><input type="radio" name="h" value="s" />&nbsp;删除</label>&nbsp;&nbsp;
					<label><input type="radio" name="h" value="w" checked="checked" />
					&nbsp;无&nbsp;&nbsp;]&nbsp;&nbsp;</label>
					<input type="submit" name="Submit" value="批量提交" class="ourphp_listan" />
					</td>
                  </tr>
                  <tr>
                    <td colspan="7">[.$ourphppage.]</td>
                  </tr>
                </table>
			</form>
		</div>
	  </li>
	</div>
  </ul>
  
  <ul>
	  <li>
		<form id="form1" name="form1" method="POST" action="?ourphp_cms=add" 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></td>
			<td>

<select name="OP_Videoclass"  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 != 'video'.]disabled="true" style="color:#FF0000;"[.else.] style="color:#009900"[./if.] [.if $smarty.get.aid != 0.][.if $smarty.get.aid == $op.id.]selected[./if.][./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=$videolist.]
</select>
			<font color="#009900">绿色</font>表示可录入项,<font color="#FF0000">红色</font>禁止录入项.
						
			</td>
		  </tr>
		  <tr>
		  	<td><div align="right">标题</div></td>
			<td><input name="OP_Videotitle" type="text" class="win" [.$ourphp_bgcolor.] datatype="*" nullmsg="标题是必填项!"/><font color=red> (*)</font></td>
		  </tr>
		  <tr>
		  	<td><div align="right">视频封面图片</div></td>
			<td><input name="OP_Videoimg" type="text" class="win" [.$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_Videovurl" type="text" class="win" id="videourl" [.$ourphp_bgcolor.] datatype="*" nullmsg="视频地址是必填项!"/>&nbsp;

			<input type="button" id="image4" value="上传视频" style="width:100px; height:35px; line-height:35px; background:#0099CC; color:#FFFFFF; border:0px;" />

			<script>
			KindEditor.ready(function(K) {
				var editor = K.editor({
					allowFileManager : true
				});
				K('#image4').click(function() {
					editor.loadPlugin('mp4', function() {
						editor.plugin.mp4Dialog({
							showRemote : false,
							imageUrl : K('#videourl').val(),
							clickFn : function(url, title, width, height, border, align) {
								K('#videourl').val(url);
								editor.hideDialog();
							}
						});
					});
				});
			});
			</script>
			</td>
		  </tr>
		  <tr>
		  		<td><div align="right">视频格式</div></td>
		  		<td>


					<select name="OP_Videoformat" class="win3">
					  <option value="MP4">MP4格式</option>
					  <option value="SWF">SWF格式</option>
					  <option value="FLV">FLV格式</option>
				    </select>
					<font color=red> (*)</font> 推荐使用mp4视频格式,可以兼容移动设备。

		  		</td>
		  </tr>
		  <tr>
		  	<td><div align="right">播放器尺寸</div></td>
			<td><input name="OP_Videowidth" type="text" class="win2" [.$ourphp_bgcolor.] value="500" datatype="*" nullmsg="播放器尺寸是必填项!"/>&nbsp;宽度&nbsp;&nbsp;,&nbsp;&nbsp;<input name="OP_Videoheight" type="text" class="win2" [.$ourphp_bgcolor.] value="500" datatype="*" nullmsg="播放器尺寸是必填项!"/>&nbsp;高度&nbsp;<font color=red> (*)</font> 默认px,用百分比请加%</td>
		  </tr>
		  <tr>
		  	<td><div align="right">发布时间</div></td>
			<td>
			<input name="time" type="text" id="time" class="win" value="[.date('Y-m-d H:i:s').]" [.$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_Videocontent" class="wtextarea editor" style="width:95%; height:400px;"></textarea><font color=red> (*)</font>
			
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">手机端正文</div></td>
			<td>
				<div class="newsleft">
					<textarea name="OP_Videocontent_wap" class="wtextarea editor waplook" style="width:100%; height:400px;"></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_Videosorting" type="text" class="win2" value="99" [.$ourphp_bgcolor.] datatype="*" nullmsg="排序是必填项!"/> 数字越小越靠前!</td>
		  </tr>
		  <tr>
		  	<td><div align="right">属性</div></td>
			<td>
				<label><input type="checkbox" name="OP_Videoattribute[]" value="0" />&nbsp;头条</label>&nbsp;&nbsp;
				<label><input type="checkbox" name="OP_Videoattribute[]" value="1" />&nbsp;热门</label>&nbsp;&nbsp;
				<label><input type="checkbox" name="OP_Videoattribute[]" value="2" />&nbsp;滚动</label>&nbsp;&nbsp;
				<label><input type="checkbox" name="OP_Videoattribute[]" value="3" />&nbsp;推荐</label>&nbsp;&nbsp;
			</td>
		  </tr>
		  <tr>
		  	<td><div align="right">跳转</div></td>
			<td><input name="OP_Videourl" type="text" class="win" [.$ourphp_bgcolor.] /> 如果为空,则不跳转!</td>
		  </tr>
		  <tr>
			<td></td>
		  	<td><strong>--------------- SEO设置 ---------------</strong></td>
		  </tr>
		  <tr>
		  	<td><div align="right">关键词</div></td>
			<td><input name="OP_Videotag" type="text" class="win" [.$ourphp_bgcolor.] />&nbsp;请用英文中的 , 格开</td>
		  </tr>
		  <tr>
		  	<td><div align="right">描述</div></td>
			<td><textarea name="OP_Videodescription" class="wtextarea" ></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".]
<script src="../../function/plugs/copyplus/clipboard.min.js"></script>
<script type="text/javascript">
	var clipboard = new Clipboard('.copyplus');
	clipboard.on('success', function(e) {
		alert("复制成功!");
	});
</script>
</body>
</html>