AppScan常見問題解決方法

2021-08-25 05:22:02 字數 1462 閱讀 8199

跨站點請求偽造

//***新增請求位址校驗

string fullurl =request.getheader("referer");

if(fullurl!=null)

}

啟用不安全的http方法

在web.xml中新增如下**,具體意義參見

security-constraint>會話標識未更新

//不管什麼框架,使用者重複登陸時,更新session和cookie標識,否則就會出現這個漏洞

//使用shiro框架的可以在每次訪問登陸頁面時先登出,再次登陸會自動生成新的會話標識

string welcome(model model)

發現可快取記憶體的登陸頁面
//頁面頭部新增

="pragma" content=

"no-cache"

>

="cache-control" content=

"no-cache,no-store"

>

會話 cookie 中缺少 httponly 屬性
//如果使用shiro框架,底層已設定httponly,不存在該錯誤,否則只能手動設定

response.addcookie(cookie);

自動填寫未對密碼字段禁用的 html 屬性
//新增autocomplete並設定為:「off」,禁止智慧型填充

"password" name="password" placeholder="請輸入密碼"

type="password" autocomplete="off" required />

jspwiki?edit.jsp?路徑遍歷

vivvo cms files.php

//在***攔截掉含php,jsp的請求

string fullurl =request.getheader("referer");

if(stringutils.contains(fullurl,".php") || stringutils.contains(fullurl,".jsp") )

Appscan常見問題解決方案

0x04 掃瞄結果已損壞 問題 摘要 症狀 原因 產品使用超出限度的記憶體量。解決方案 檢索performancemonitor.restartonoutofmemory屬性並將其設定為布林值true。還可以使用下面的屬性 症狀 原因 當掃瞄的站點資訊很多時,該資料夾大小會劇增,由於c盤空間不足而導...

用友常見問題解決方法

總賬 1.問題描述 憑證作廢後,憑證產生斷號,能否取消斷號?分析及處理 進入選單 填製憑證 下選單 製單 下 整理憑證 功能可以重新編排憑證號。2.問題描述 總賬系統中出納簽字調不出相應的憑證。分析及處理 1 在設定 選項 憑證 憑證控制 中選出納簽字。2 在設定 會計科目 編輯 指定科目中選上所需...

css常見問題解決方法

設定方法 div內的img和span都需要設定vertical align middle 解決inline block的空格 a.改變html結構 a1.寫到一行 item1li item2li item3li item4li item5li ul a2.改變標籤結構 item1li item2li...