python.pyramid-authtkt-cookie-secure-unsafe-default

返回列表 · CWE 索引

pythonWARNING规则详情

各语言消息对照

语言消息
de

Ein Pyramid-Authentication-Ticket-Cookie mit unsicherem Standardwert für die Option secure wurde gefunden. Pyramid-Cookies sollten sicher behandelt werden, indem secure=True gesetzt wird. Ist der Parameter nicht korrekt gesetzt, sind Ihre Cookies nicht ordentlich geschützt und können von einem Angreifer gestohlen werden.

en

Found a Pyramid Authentication Ticket cookie using an unsafe default for the secure option. Pyramid cookies should be handled securely by setting secure=True. If this parameter is not properly set, your cookies are not properly protected and are at risk of being stolen by an attacker.

fr

Un cookie Pyramid Authentication Ticket utilisant une valeur par défaut non sécurisée pour l'option secure a été détecté. Les cookies Pyramid doivent être gérés de manière sécurisée en définissant secure=True. Si ce paramètre n'est pas correctement défini, vos cookies ne sont pas correctement protégés et risquent d'être volés par un attaquant.

ja

Pyramid の認証チケット Cookie の secure オプションに安全でないデフォルト値が使用されていることが検出されました。secure=True を設定して Cookie を安全に扱う必要があります。このパラメーターが正しくない場合、Cookie は適切に保護されず、攻撃者に窃取される恐れがあります。

ko

Pyramid 인증 티켓 Cookie의 secure 옵션에 안전하지 않은 기본값이 사용된 것이 발견되었습니다. secure=True로 설정하여 Cookie를 안전하게 처리해야 합니다. 이 매개변수가 올바르지 않으면 Cookie가 제대로 보호되지 않아 공격자에게 탈취될 위험이 있습니다.

ru

Обнаружена cookie аутентификационного билета Pyramid с небезопасным значением по умолчанию опции secure. Cookie Pyramid следует обрабатывать безопасно, устанавливая secure=True: при неправильном значении cookie не защищена должным образом и рискует быть похищенной злоумышленником.

zh

发现 Pyramid 认证票据 Cookie 的 secure 选项使用了不安全的默认值。应设置 secure=True 安全处理 Cookie;该参数不正确时,Cookie 得不到妥善保护,有被攻击者窃取的风险。

zh-Hant

發現 Pyramid 認證票據 Cookie 的 secure 選項使用了不安全的預設值。應設定 secure=True 安全處理 Cookie;該參數不正確時,Cookie 得不到妥善保護,有被攻擊者竊取的風險。

CWE 知识卡

语言名称修复建议
deSensibles Cookie ohne Secure-AttributWeisen Sie dem sensiblen Cookie die Attribute Secure, HttpOnly und SameSite zu.
en——
frCookie sensible dans une session HTTPS sans l'attribut 'Secure'Ajoutez aux cookies sensibles les attributs Secure, HttpOnly et SameSite.
ja機密性の高い Cookie の Secure 属性未設定機密性の高い Cookie に Secure、HttpOnly、SameSite の各属性を追加してください。
ko민감 Cookie의 Secure 속성 미설정민감 Cookie에 Secure·HttpOnly·SameSite 속성을 추가하십시오.
ruЧувствительная cookie без атрибута SecureДобавляйте чувствительным cookie атрибуты Secure, HttpOnly и SameSite.
zh敏感 Cookie 未设置 Secure 属性敏感 Cookie 增加 Secure、HttpOnly 与 SameSite 属性。
zh-Hant敏感 Cookie 未設定 Secure 屬性敏感 Cookie 增加 Secure、HttpOnly 與 SameSite 屬性。

OWASP

A05:2021 - Security Misconfiguration

元数据

likelihoodLOW
impactLOW
confidenceMEDIUM

修复字段

fix无
fix-regex有

上游规则源

github.com/opengrep/opengrep-rules/tree/main/python/pyramid/audit/authtkt-cookie-secure-unsafe-default.yaml