InfoGates v3.1 系統 在 Linux 及 Windows 平台上存在未正確過濾使用者輸入值之 弱點,
請依下列步驟更新 。
更新流程
1. 請將附件裡頭的壓縮檔解開
2. 請用 root 帳號登入 InfoGates 伺服器系統
3. 請切換到程式的工作目錄
版本 |
工作目錄 |
InfoGates v3.1 |
<InfoGates安裝目錄>/search-cgi |
4. 備份原有的程式 例:
Linux 平台 :
cp query_run.exe /backup/query_run.exe.bak;
cp getfilelist.exe /backup/getfilelist.exe.bak;
cp query_admin.exe /backup/query_admin.exe.bak;
cp nph-uc.exe /backup/nph-uc.exe.bak;
Windows平台:
xcopy query_run.exe query_run.exe.bak
xcopy getfilelist.exe getfilelist.exe.bak
xcopy query_admin.exe query_admin.exe.bak
xcopy nph-uc.exe nph-uc.exe.bak
5. 將更新程式上傳到 InfoGates 伺服器
6. 將更新程式覆蓋原有程式。
7. Linux 平台 : 執行 chmod a+x *.exe。
|