CVE-2022-37783: 
PHP Análise e mitigação de vulnerabilidades

Visão geral

Craft CMS versions between 3.0.0 and 3.7.32 were found to disclose password hashes of users who authenticate using their E-Mail address or username in Anti-CSRF-Tokens. The vulnerability was discovered during a penetration test by researchers at TÜV Trust IT Austria and was assigned CVE-2022-37783. The issue was fixed in version 3.7.33 (CVES AT, NVD).

Detalhes técnicos

The vulnerability stems from bad coding practices where user password hashes were mixed into CSRF-Tokens. The password hashes were disclosed in two locations: the CRAFT_CSRF_TOKEN cookie (URL-encoded) and the CSRF-Token in the HTML page. While the cookie was protected by the HTTP-Only attribute, the HTML token was masked using a YII Framework function that could be reversed using publicly available unmasking functions. The passwords were hashed using bcrypt, which is considered a slow hash algorithm (CVES AT).

Impacto

The disclosure of password hashes could allow attackers to attempt offline password cracking. If successful, attackers could gain unauthorized access to user accounts. Users utilizing SAML-Login were not affected by this vulnerability. The vulnerability received a CVSS v3.1 score of 7.5 (High), indicating significant potential impact (CVES AT).

Explorabilidade

While the password hash in the cookie was protected by HTTP-Only attribute, the CSRF-Token in the HTML was vulnerable to exfiltration through XSS attacks. The masked token could be unmasked using modifications to publicly available YII Framework functions (CVES AT).

Mitigação e soluções alternativas

The vulnerability was fixed in Craft CMS version 3.7.33. Users of affected versions are strongly encouraged to upgrade to at least version 3.7.33. The vendor marked release 3.7.33 as critical and integrated warning messages in affected versions urging users to update (CVES AT).

Recursos adicionais


Origem: Este relatório foi gerado usando IA

Relacionado PHP Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploit CISA KEV

Tem correção

Data de publicação

GHSA-qrxh-g29w-pchrCRITICAL9.1
  • PHP logoPHP
  • yajra/laravel-datatables-oracle
NãoSimNov 28, 2026
GHSA-r28f-v6v7-gm9wHIGH8.6
  • PHP logoPHP
  • inter-mediator/inter-mediator
NãoNãoNov 28, 2026
GHSA-gqm7-fq99-9hmmHIGH7.5
  • PHP logoPHP
  • yajra/laravel-datatables-oracle
NãoSimNov 28, 2026
GHSA-7h52-wmhj-vrvfHIGH7.1
  • PHP logoPHP
  • ianm/follow-users
NãoSimNov 28, 2026
GHSA-2vpq-v76w-pfwmMEDIUM6.1
  • PHP logoPHP
  • cecil/cecil
NãoSimNov 28, 2026

Avaliação Gratuita de Vulnerabilidades

Avalie a sua postura de segurança na nuvem

Avalie suas práticas de segurança em nuvem em 9 domínios de segurança para avaliar seu nível de risco e identificar lacunas em suas defesas.

Avaliação de solicitação

Recursos adicionais da Wiz

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades