Minor security fixes
This commit is contained in:
parent
43783008c1
commit
f066da1811
@ -97,19 +97,19 @@ Scope is the web application (back office) and the APIs.
|
|||||||
|
|
||||||
## Non-qualifying vulnerabilities for Bug bounty programs, but qualified for reporting
|
## Non-qualifying vulnerabilities for Bug bounty programs, but qualified for reporting
|
||||||
* "Self" XSS
|
* "Self" XSS
|
||||||
* Missing cookie flags
|
|
||||||
* SSL/TLS best practices
|
* SSL/TLS best practices
|
||||||
* Denial of Service attacks
|
* Denial of Service attacks
|
||||||
* Clickjacking/UI redressing
|
* Clickjacking/UI redressing
|
||||||
* Physical or social engineering attempts
|
* Physical or social engineering attempts or issues that require physical access to a victim’s computer/device
|
||||||
* Presence of autocomplete attribute on web forms
|
* Presence of autocomplete attribute on web forms
|
||||||
* Vulnerabilities affecting outdated browsers or platforms
|
* Vulnerabilities affecting outdated browsers or platforms
|
||||||
* Issues that require physical access to a victim’s computer/device
|
|
||||||
* Logout and other instances of low-severity Cross-Site Request Forgery
|
* Logout and other instances of low-severity Cross-Site Request Forgery
|
||||||
|
* Missing cookie flags
|
||||||
* Missing security-related HTTP headers which do not lead directly to a vulnerability
|
* Missing security-related HTTP headers which do not lead directly to a vulnerability
|
||||||
* Reports from automated web vulnerability scanners (Acunetix, Vega, etc.) that have not been validated
|
* Reports from automated web vulnerability scanners (Acunetix, Vega, etc.) that have not been validated
|
||||||
* Invalid or missing SPF (Sender Policy Framework) records (Incomplete or missing SPF/DKIM/DMARC)
|
* Invalid or missing SPF (Sender Policy Framework) records (Incomplete or missing SPF/DKIM/DMARC)
|
||||||
* Reports on features flagged as "experimental" or "development"
|
* Reports on features flagged as "experimental" or "development"
|
||||||
* Software version disclosure when logged user is admin
|
* Software version or private IP disclosure when logged user is admin
|
||||||
* Stack traces or path disclosure when logged user is admin
|
* Stack traces or path disclosure when logged user is admin
|
||||||
|
* Any vulnerabilities due to a configuration different than the one defined into chapter "Scope for qualified vulnerabilities".
|
||||||
|
|
||||||
|
|||||||
@ -38,6 +38,7 @@ if ($user->socid > 0)
|
|||||||
// Initialize technical object to manage hooks. Note that conf->hooks_modules contains array of hooks
|
// Initialize technical object to manage hooks. Note that conf->hooks_modules contains array of hooks
|
||||||
$hookmanager->initHooks(array('accountancyindex'));
|
$hookmanager->initHooks(array('accountancyindex'));
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
*/
|
*/
|
||||||
@ -54,6 +55,7 @@ if (GETPOST('addbox')) // Add box (when submit is done from a form when ajax dis
|
|||||||
if ($result > 0) setEventMessages($langs->trans("BoxAdded"), null);
|
if ($result > 0) setEventMessages($langs->trans("BoxAdded"), null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -91,6 +91,7 @@ if (preg_match('/beta|alpha|rc/i', DOL_VERSION) || !empty($conf->global->MAIN_AL
|
|||||||
$enableremotecheck = true;
|
$enableremotecheck = true;
|
||||||
|
|
||||||
print '<form name="check" action="'.$_SERVER["PHP_SELF"].'">';
|
print '<form name="check" action="'.$_SERVER["PHP_SELF"].'">';
|
||||||
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
print $langs->trans("MakeIntegrityAnalysisFrom").':<br>';
|
print $langs->trans("MakeIntegrityAnalysisFrom").':<br>';
|
||||||
print '<!-- for a local check target=local&xmlshortfile=... -->'."\n";
|
print '<!-- for a local check target=local&xmlshortfile=... -->'."\n";
|
||||||
if (dol_is_file($xmlfile))
|
if (dol_is_file($xmlfile))
|
||||||
|
|||||||
@ -1048,6 +1048,7 @@ class FormOther
|
|||||||
// Class Form must have been already loaded
|
// Class Form must have been already loaded
|
||||||
$selectboxlist .= '<!-- Form with select box list -->'."\n";
|
$selectboxlist .= '<!-- Form with select box list -->'."\n";
|
||||||
$selectboxlist .= '<form id="addbox" name="addbox" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
|
$selectboxlist .= '<form id="addbox" name="addbox" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
|
||||||
|
$selectboxlist .= '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
$selectboxlist .= '<input type="hidden" name="addbox" value="addbox">';
|
$selectboxlist .= '<input type="hidden" name="addbox" value="addbox">';
|
||||||
$selectboxlist .= '<input type="hidden" name="userid" value="'.$user->id.'">';
|
$selectboxlist .= '<input type="hidden" name="userid" value="'.$user->id.'">';
|
||||||
$selectboxlist .= '<input type="hidden" name="areacode" value="'.$areacode.'">';
|
$selectboxlist .= '<input type="hidden" name="areacode" value="'.$areacode.'">';
|
||||||
|
|||||||
@ -41,6 +41,8 @@ require_once __DIR__.'/../../main.inc.php';
|
|||||||
$appli = constant('DOL_APPLICATION_TITLE');
|
$appli = constant('DOL_APPLICATION_TITLE');
|
||||||
if (!empty($conf->global->MAIN_APPLICATION_TITLE)) $appli = $conf->global->MAIN_APPLICATION_TITLE;
|
if (!empty($conf->global->MAIN_APPLICATION_TITLE)) $appli = $conf->global->MAIN_APPLICATION_TITLE;
|
||||||
|
|
||||||
|
top_httphead('text/json');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
{
|
{
|
||||||
"name": "<?php echo $appli; ?>",
|
"name": "<?php echo $appli; ?>",
|
||||||
|
|||||||
@ -41,6 +41,8 @@ require_once __DIR__.'/../../main.inc.php';
|
|||||||
$appli=constant('DOL_APPLICATION_TITLE');
|
$appli=constant('DOL_APPLICATION_TITLE');
|
||||||
if (!empty($conf->global->MAIN_APPLICATION_TITLE)) $appli=$conf->global->MAIN_APPLICATION_TITLE;
|
if (!empty($conf->global->MAIN_APPLICATION_TITLE)) $appli=$conf->global->MAIN_APPLICATION_TITLE;
|
||||||
|
|
||||||
|
top_httphead('text/json');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
{
|
{
|
||||||
"name": "<?php echo $appli; ?>",
|
"name": "<?php echo $appli; ?>",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user