CVE-2024-0787
MEDIUMphpipam < 1.7.0 - Unauthenticated Brute Force Attack via X-Forwarded-For Header
Title source: llmDescription
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.
References (2)
Core 2
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/840cb582-1feb-43ab-9cc4-e4b5a63c5bab
Scores
CVSS v3
5.9
EPSS
0.0045
EPSS Percentile
35.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-307
Status
published
Products (1)
phpipam/phpipam
< 1.7.0
Published
Nov 15, 2024
Tracked Since
Feb 18, 2026