CVE-2024-0787

CVE-2024-0787 is a medium-severity vulnerability in Phpipam with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-307.

Key facts

Description

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.

Frequently asked questions

What is 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.
How severe is CVE-2024-0787?
CVE-2024-0787 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2024-0787 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (36th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-0787?
CVE-2024-0787 affects Phpipam. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-0787?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-0787 have an EU (EUVD) identifier?
Yes. CVE-2024-0787 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-16575.
When was CVE-2024-0787 published?
CVE-2024-0787 was published on 2024-11-15 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Phpipam

All CVEs affecting Phpipam →

Other CWE-307 (Improper Restriction of Excessive Authentication Attempts) vulnerabilities

Browse all CWE-307 (Improper Restriction of Excessive Authentication Attempts) vulnerabilities →