Falhas do tipo CWE-352

6.267 resultados

Falsificação de Solicitação entre Sites (CSRF)

A aplicação web não valida adequadamente se uma requisição legítima foi realmente originada da intenção do usuário autenticado, ou se foi forjada por um atacante. Um site malicioso consegue fazer seu navegador enviar requisições em seu nome para a aplicação vulnerável, executando ações sem seu consentimento explícito.

Exemplo

Um usuário logado em seu banco recebe um email com um link ou imagem oculta que, ao ser acessado, força seu navegador a enviar uma requisição para transferir dinheiro — a aplicação processa a transferência porque reconhece o cookie de sessão válido, mas nunca verificou se o usuário realmente quis fazer isso.

Como mitigar

Implemente tokens CSRF únicos por sessão (gerados no servidor, incluídos em formulários e validados antes de processar) e use atributos SameSite em cookies de sessão. Para APIs, valide headers customizados como X-Requested-With e implemente CORS restritivo.

CVE-2021-24674—Genie WP Favicon <= 0.5.2 - Arbitrary Favicon Change via CSRFEPSS 0.5%CVE-2021-24795—Filter Portfolio Gallery <= 1.5 - Arbitrary Gallery Deletion via CSRFEPSS 0.5%CVE-2021-24802—Colorful Categories < 2.0.15 - Arbitrary Colors Update via CSRFEPSS 0.5%CVE-2021-24784—WP Admin Logo Changer <= 1.0 - Plugin's Settings Update via CSRFEPSS 0.5%CVE-2021-24852—MouseWheel Smooth Scroll < 5.7 - Plugin's Setting Update via CSRFEPSS 0.5%CVE-2019-10176MEDIUMA flaw was found in OpenShift Container Platform, versions 3.11 and later, in which the CSRF tokens used in the cluster console component weEPSS 0.5%CVE-2021-24766—404 to 301 < 3.0.9 - Logs Deletion via CSRFEPSS 0.5%CVE-2024-31986CRITICALXWiki Platform CSRF remote code execution through scheduler job's document referenceEPSS 0.5%CVE-2025-11022CRITICALCSRF in PaniluxEPSS 0.5%CVE-2021-4164HIGHCross-Site Request Forgery (CSRF) in janeczku/calibre-webEPSS 0.5%CVE-2021-3858MEDIUMCross-Site Request Forgery (CSRF) in snipe/snipe-itEPSS 0.5%CVE-2022-43408MEDIUMJenkins Pipeline: Stage View Plugin 2.26 and earlier does not correctly encode the ID of 'input' steps when using it to generate URLs to proEPSS 0.5%CVE-2022-41227HIGHA cross-site request forgery (CSRF) vulnerability in Jenkins NS-ND Integration Performance Publisher Plugin 4.8.0.129 and earlier allows attEPSS 0.5%CVE-2022-35228—SAP BusinessObjects CMC allows an unauthenticated attacker to retrieve token information over the network which would otherwise be restricteEPSS 0.5%CVE-2021-22954—A cross-site request forgery vulnerability exists in Concrete CMS <v9 that could allow an attacker to make requests on behalf of other usersEPSS 0.5%CVE-2022-1612—Webriti SMTP Mail <= 1.0 - Arbitrary Settings Update via CSRFEPSS 0.5%CVE-2022-1694—Useful Banner Manager <= 1.6.1 - Modify banners via CSRFEPSS 0.5%CVE-2022-0830—FormBuilder <= 1.08 - Stored Cross-Site Scripting via CSRFEPSS 0.5%CVE-2022-1608—OnePress Social Locker <= 5.6.2 - Arbitrary Settings Update via CSRFEPSS 0.5%CVE-2022-1605—Email Users <= 4.8.8 - Arbitrary Settings Update via CSRFEPSS 0.5%