New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible XSS vulnerability #188
Comments
|
hello bro where i can find this file "explorerfile.php" ?? https://github.com/zyx0814/dzzoffice/search?q=explorerfile.php&type= as you can see it is looks like there is no file called explorerfile.php since now ?? |
|
okay now i find it at /dzz/system/fileselection/explorerfile.php i am sorry and thank you for your greate report ... there any patch ?? |
|
Thank you for your response. json_encode can be vulnerable for some specific inputs and here is an example. <?php
$output = ["A"=>"<img src='#' onerror=alert(1)>","B"=>"Safe"];
echo json_encode($output); |
|
CVE-2021-43673 is assigned for this report. dzzoffice 2.02.1_SC_UTF8 is affected by a Cross Site Scripting (XSS) vulnerability in explorerfile.php. The output of exit function will be print for the user exit(json_encode($return)). |
|
I would like to report for similar vulnerability in admin/setting/permgroup.php //line 16
$pername = isset($_GET['pername'])? trim($_GET['pername']):'';
//line 35
$setarr = array(
'pername'=>$pername,
'perm'=>$groupperm,
'default'=>isset($_GET['default']) ? intval($_GET['default']):0
);
//line 47
exit(json_encode(array('success'=>array('id'=>$insert,'pername'=>$setarr['pername'],'perm'=>$selectperm,'default'=>$setarr['default'])))); |
Hello,
I would to report for a possible XSS vulnerability.
In file "explorerfile.php"
The text was updated successfully, but these errors were encountered: