1. Archivio CVE
  2. 2024
  3. CVE-2024-0787

CVE-2024-0787

5.9 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 5.9 – Media

Descrizione

phpIPAM version 1.5.1 contains a vulnerability where an attacker can bypass the IP block mechanism to brute force passwords for users by using the 'X-Forwarded-For' header. The issue lies in the 'get_user_ip()' function in 'class.Common.php' at lines 1044 and 1045, where the presence of the 'X-Forwarded-For' header is checked and used instead of 'REMOTE_ADDR'. This vulnerability allows attackers to perform brute force attacks on user accounts, including the admin account. The issue is fixed in version 1.7.0.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
phpipam phpipam < 1.7.0 –
Tutte le 60 vulnerabilità di Phpipam

Tipo di vulnerabilità

CWE-307 Tentativi di autenticazione eccessivi non limitati

Il prodotto non adotta misure sufficienti a impedire molti tentativi di accesso falliti in poco tempo, rendendo possibili gli attacchi a forza bruta sulle password.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Architettura e progettazione Common protection mechanisms include: Disconnecting the user after a small number of failed attempts Implementing a timeout Locking out a targeted account Requiring a computational task on the user's part.
Architettura e progettazione · Librerie o framework Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 741 CVE di tipo CWE-307, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org