php.laravel-cookie-long-timeout

返回列表 · CWE 索引

phpERROR规则详情

各语言消息对照

语言消息
de

Eine Konfigurationsdatei wurde gefunden, in der das Attribut lifetime über 30 Minuten liegt.

en

Found a configuration file where the lifetime attribute is over 30 minutes.

fr

Un fichier de configuration où l'attribut lifetime dépasse 30 minutes a été détecté.

ja

設定ファイルの lifetime 属性が 30分を超えています。

ko

설정 파일에서 lifetime 속성이 30분을 초과하는 것이 발견되었습니다.

ru

В файле конфигурации атрибут lifetime превышает 30 минут.

zh

发现配置文件中 lifetime 属性超过 30 分钟。

zh-Hant

發現設定檔案中 lifetime 屬性超過 30 分鐘。

CWE 知识卡

语言名称修复建议
deSensibles Cookie ohne HttpOnly-FlagWeisen Sie dem sensiblen Cookie das Attribut HttpOnly zu, um das Auslesen durch Skripte zu verhindern.
en——
frCookie sensible sans l'option 'HttpOnly'Ajoutez l'attribut HttpOnly aux cookies sensibles afin d'empêcher leur lecture par les scripts.
ja機密 Cookie に HttpOnly 属性が未設定機密 Cookie に HttpOnly 属性を付与し、スクリプトによる読み取りを防いでください。
ko민감 Cookie의 HttpOnly 속성 미설정민감 Cookie에 HttpOnly 속성을 추가하여 스크립트에 의한 읽기를 방지하십시오.
ruЧувствительная cookie без флага HttpOnlyДобавляйте чувствительным cookie атрибут HttpOnly, чтобы скрипты не могли их прочитать.
zh敏感 Cookie 未设置 HttpOnly敏感 Cookie 增加 HttpOnly 属性,防脚本读取。
zh-Hant敏感 Cookie 未設定 HttpOnly敏感 Cookie 增加 HttpOnly 屬性,防指令碼讀取。

OWASP

A05:2021 - Security Misconfiguration

元数据

likelihoodLOW
impactLOW
confidenceLOW

修复字段

fix无
fix-regex无

上游规则源

github.com/opengrep/opengrep-rules/tree/main/php/laravel/security/laravel-cookie-long-timeout.yaml