java.insecure-trust-manager

返回列表 · CWE 索引

javaWARNING规则详情

各语言消息对照

语言消息
de

Leere TrustManager-Implementierungen wurden erkannt. Das ist gefährlich, weil jedes Zertifikat akzeptiert wird und so Man-in-the-Middle-Angriffe möglich werden. Verwenden Sie stattdessen einen KeyStore und TrustManagerFactory. Weitere Informationen: https://stackoverflow.com/questions/2642777/trusting-all-certificates-using-httpclient-over-https

en

Detected empty trust manager implementations. This is dangerous because it accepts any certificate, enabling man-in-the-middle attacks. Consider using a KeyStore and TrustManagerFactory instead. See https://stackoverflow.com/questions/2642777/trusting-all-certificates-using-httpclient-over-https for more information.

fr

Des implémentations vides de TrustManager ont été détectées : elles acceptent n'importe quel certificat et ouvrent la voie à des attaques de l'homme du milieu. Préférez un KeyStore associé à un TrustManagerFactory. Voir https://stackoverflow.com/questions/2642777/trusting-all-certificates-using-httpclient-over-https pour plus d'informations.

ja

空の TrustManager の実装が検出されました:この実装はすべての証明書を受け入れ、中間者攻撃につながります。代わりに KeyStore と TrustManagerFactory を使用してください。詳しくは https://stackoverflow.com/questions/2642777/trusting-all-certificates-using-httpclient-over-https を参照してください。

ko

빈 TrustManager 구현이 감지되었습니다: 모든 인증서를 수락하여 중간자 공격을 유발합니다. 대신 KeyStore와 TrustManagerFactory를 사용하십시오. 자세한 내용은 https://stackoverflow.com/questions/2642777/trusting-all-certificates-using-httpclient-over-https 를 참조하십시오.

ru

Обнаружена пустая реализация TrustManager: она принимает любые сертификаты и открывает путь атакам «человек посередине». Используйте вместо неё KeyStore и TrustManagerFactory. Подробнее: https://stackoverflow.com/questions/2642777/trusting-all-certificates-using-httpclient-over-https .

zh

检测到空的 TrustManager 实现:它会接受任何证书,导致中间人攻击。请改用 KeyStore 与 TrustManagerFactory。详见 https://stackoverflow.com/questions/2642777/trusting-all-certificates-using-httpclient-over-https 。

zh-Hant

檢測到空的 TrustManager 實作:它會接受任何憑證,導致中間人攻擊。請改用 KeyStore 與 TrustManagerFactory。詳見 https://stackoverflow.com/questions/2642777/trusting-all-certificates-using-httpclient-over-https 。

CWE 知识卡

语言名称修复建议
deUnzureichende ZertifikatsprüfungAktivieren Sie die vollständige Zertifikatskette samt Gültigkeitsprüfung; Optionen zum Abschalten der Prüfung (etwa rejectUnauthorized=false) sind zu verbieten.
en——
frValidation de certificat inappropriéeActivez la validation complète de la chaîne de certificats et de leur validité ; interdisez les options qui désactivent la vérification (comme rejectUnauthorized=false).
ja証明書検証の不備完全な証明書チェーンと有効期限の検証を有効にし、検証を無効化するオプション(例:rejectUnauthorized=false)を禁止してください。
ko부적절한 인증서 검증전체 인증서 체인과 유효 기간 검증을 활성화하고, 검증을 비활성화하는 옵션(예: rejectUnauthorized=false)은 금지하십시오.
ruНекорректная проверка сертификатаВключайте полную проверку цепочки и срока действия сертификата; запрещайте опции отключения проверки (например, rejectUnauthorized=false).
zh证书校验不当启用完整证书链与有效期校验,禁止关闭验证的选项(如 rejectUnauthorized=false)。
zh-Hant憑證驗證不當啟用完整憑證鏈與有效期驗證,禁止關閉驗證的選項(如 rejectUnauthorized=false)。

OWASP

A03:2017 - Sensitive Data ExposureA07:2021 - Identification and Authentication Failures

元数据

likelihoodLOW
impactLOW
confidenceLOW

修复字段

fix无
fix-regex无

上游规则源

github.com/opengrep/opengrep-rules/tree/main/java/lang/security/audit/crypto/ssl/insecure-trust-manager.yaml