Exploit database

GH-9a0e4face203bb2d404b8aadf03b5c5e

cronus-security/xinhu-v2.3.2

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-1773

2 sources

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

Repository files22

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

xinhu-cb732f46f8f1e4614c8cfbef47a0bcbde6ecce34/webmain/task/api/yymeetAction.php

PHP · 831 bytes
<?php 
class yymeetClassAction extends apiAction
{
	public function saveAction()
	{
		$data['title'] 		= $this->post('title');
		$data['hyname']		= $this->post('hyname');
		$data['startdt']	= $this->post('startdt');
		$data['enddt']		= $this->post('enddt');
		$data['joinid']		= $this->post('joinid');
		$data['joinname']	= $this->post('joinname');
		
		$data['explain']	= $this->post('explain');
		$data['optdt']		= $this->now;
		$data['optid']		= $this->adminid;
		$data['optname']	= $this->adminname;
		$data['status']		= 1;
		$data['type']		= 0;
		$data['applydt']	= $this->date;
		
		foreach($data as $k=>$v){
			if($k=='explain')break;
			if($this->isempt($v))$this->showreturn('', '['.$k.']不能为空', 201);
		}
		$mid = m('meet')->insert($data);
		m('flow')->submit('meet', $mid, '预定');
		$this->showreturn('');
	}
}