CVE-2024-0787 Improper Restriction of Excessive Authentication Attempts in phpipam/phpipam

Medium 5.3 Published Updated

Attackers can bypass IP-based brute force protections by spoofing the X-Forwarded-For header to guess user passwords.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-0787?

CVE-2024-0787 is a medium-severity vulnerability in Phpipam Phpipam, published on 15 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-307

Which versions are affected by CVE-2024-0787?

It affects 1 product.

Products include Phpipam Phpipam.

How do I fix CVE-2024-0787?

No fix has been published for CVE-2024-0787 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-0787 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0787 exists.

All Phpipam Phpipam vulnerabilities

Sources

Also known as GHSA-h2wf-696m-6fj8.

Is CVE-2024-0787 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free