CVE-2024-0787

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:phpipam:phpipam:*:*:*:*:*:*:*:*

History

19 Nov 2024, 15:53

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 5.3
v2 : unknown
v3 : 5.9
First Time Phpipam
Phpipam phpipam
CPE cpe:2.3:a:phpipam:phpipam:*:*:*:*:*:*:*:*
References () https://github.com/phpipam/phpipam/commit/55c2056068be9f1359e967fcff64db6b7f4d00b5 - () https://github.com/phpipam/phpipam/commit/55c2056068be9f1359e967fcff64db6b7f4d00b5 - Patch
References () https://huntr.com/bounties/840cb582-1feb-43ab-9cc4-e4b5a63c5bab - () https://huntr.com/bounties/840cb582-1feb-43ab-9cc4-e4b5a63c5bab - Exploit, Third Party Advisory

15 Nov 2024, 13:58

Type Values Removed Values Added
Summary
  • (es) La versión 1.5.1 de phpIPAM contiene una vulnerabilidad que permite a un atacante eludir el mecanismo de bloqueo de direcciones IP para obtener por fuerza bruta las contraseñas de los usuarios mediante el encabezado 'X-Forwarded-For'. El problema se encuentra en la función 'get_user_ip()' de 'class.Common.php' en las líneas 1044 y 1045, donde se comprueba la presencia del encabezado 'X-Forwarded-For' y se utiliza en lugar de 'REMOTE_ADDR'. Esta vulnerabilidad permite a los atacantes realizar ataques por fuerza bruta en las cuentas de usuario, incluida la cuenta de administrador. El problema se ha corregido en la versión 1.7.0.

15 Nov 2024, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-11-15 11:15

Updated : 2024-11-19 15:53


NVD link : CVE-2024-0787

Mitre link : CVE-2024-0787

CVE.ORG link : CVE-2024-0787


JSON object : View

Products Affected

phpipam

  • phpipam
CWE
CWE-307

Improper Restriction of Excessive Authentication Attempts