-
LDAP Injection TOP NEW
弱點風險 Checkmarx 弱點掃描掃出,使用 DirectorySearcher 建立 LDAP 查詢句,其中 search.Filter 使用沒有被處理過不受信任的字串,可能會有被注入攻擊的機會。 DirectorySearcher search = new DirectorySearcher(directoryEntry); // 搜尋 AD 帳號名稱為 USER_ID 的項目 search.Filter = "(SAMAccountName=" + Obj.USER_ID + ")"; 這邊在 AntiXSS 4.0 Released 程式庫中有提供 LDAP Encoding changes 的方法,可以透過 Encode 的... Read More
-
SQL Percentage Sign Escaping TOP NEW
-
EUDC Characters in Aspose.Words TOP NEW
-
RabbitMQ with External Auth TOP NEW
Introduction 使用純文字帳號密碼驗證機制,現在會被軟體掃出中風險如下 The remote Advanced Message Queuing Protocol (AMQP) service supports one or more authentication mechanisms that allow credentials to be sent in the clear. 建議修改方式 Disable cleartext authentication mechanisms in the AMQP configuration. 將連線與認證方始改用 External 機制,強制使用 SSL ... Read More
-
Self-signed certificate TOP NEW