{"id":"CVE-2024-0787","aliases":["CVE-2024-0787"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Restriction of Excessive Authentication Attempts in phpipam/phpipam","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-11-15T10:57:05.410Z","modified":"2026-06-17T06:54:17.190Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-307"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.7.0","status":"affected"}],"vendor":"phpipam","product":"phpipam/phpipam","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.70","status":"affected"}],"vendor":"phpipam","product":"phpipam","cpe":"cpe:2.3:a:phpipam:phpipam:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.7.0"}],"vendor":"phpipam","product":"phpipam","cpe":"cpe:2.3:a:phpipam:phpipam:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/840cb582-1feb-43ab-9cc4-e4b5a63c5bab","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/phpipam/phpipam/commit/55c2056068be9f1359e967fcff64db6b7f4d00b5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-11-15T19:08:12.245Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-0787","url":"https://www.cve.org/CVERecord?id=CVE-2024-0787","licence":"CVE Terms of Use","modified":"2024-11-15T19:09:48.262Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-0787","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0787","licence":"Public domain","modified":"2026-06-17T06:54:17.190Z"}],"updatedAt":"2026-11-25T22:58:48.291Z","epss":{"score":0.0046,"percentile":0.41606,"date":"2026-12-02T12:00:21.000Z"}}