python.pyramid-authtkt-cookie-samesite

返回列表 · CWE 索引

pythonWARNING规则详情

各语言消息对照

语言消息
de

Ein Pyramid-Authentication-Ticket wurde gefunden, bei dem die Option samesite nicht korrekt gesetzt ist. Pyramid-Cookies sollten sicher behandelt werden, indem samesite='Lax' 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 without the samesite option correctly set. Pyramid cookies should be handled securely by setting samesite='Lax'. 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 Pyramid Authentication Ticket sans l'option samesite correctement définie a été détecté. Les cookies Pyramid doivent être gérés de manière sécurisée en définissant samesite='Lax'. 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 の認証チケットで samesite オプションが正しく設定されていないことを検出しました。Pyramid Cookie を安全に扱うには samesite='Lax' を設定してください。このパラメーターが正しくない場合、Cookie が適切に保護されず、攻撃者に盗み取られるリスクがあります。

ko

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

ru

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

zh

发现 Pyramid 认证票据未正确设置 samesite 选项。应设置 samesite='Lax' 来安全处理 Pyramid Cookie;该参数不正确时,Cookie 得不到妥善保护,有被攻击者窃取的风险。

zh-Hant

發現 Pyramid 認證票據未正確設定 samesite 選項。應設定 samesite='Lax' 來安全處理 Pyramid Cookie;該參數不正確時,Cookie 得不到妥善保護,有被攻擊者竊取的風險。

CWE 知识卡

语言名称修复建议
deSensibles Cookie ohne Sensitive-MarkierungMarkieren Sie das sensible Cookie als Sensitive und kombinieren Sie das mit dem Attribut Secure.
en——
frCookie sensible avec attribut SameSite inappropriéMarquez les cookies sensibles comme Sensitive et associez-leur l'attribut Secure.
ja機密 Cookie に Sensitive 属性が未設定機密 Cookie に Sensitive 属性を設定し、Secure 属性と併用してください。
ko민감 Cookie의 Sensitive 미표시민감 Cookie에 Sensitive를 표시하고 Secure 속성과 함께 사용하십시오.
ruЧувствительная cookie без флага SensitiveПомечайте чувствительные cookie флагом Sensitive вместе с атрибутом Secure.
zh敏感 Cookie 未标记 Sensitive敏感 Cookie 标记 Sensitive 并配合 Secure 属性。
zh-Hant敏感 Cookie 未標記 Sensitive敏感 Cookie 標記 Sensitive 並配合 Secure 屬性。

OWASP

A01:2021 - Broken Access Control

元数据

likelihoodLOW
impactLOW
confidenceMEDIUM

修复字段

fix有
fix-regex无

上游规则源

github.com/opengrep/opengrep-rules/tree/main/python/pyramid/audit/authtkt-cookie-samesite.yaml