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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-11-15 · Modified: 2024-11-15
- Record: https://cvemate.com/vulnerability/CVE-2024-0787 · JSON: https://cvemate.com/vulnerability/CVE-2024-0787/json

## Description

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

## Signals

- CVSS: 5.9 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.46%, percentile 41.629%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- phpipam phpipam: \< 1.7.0
- phpipam phpipam/phpipam: ≥ unspecified, \< 1.7.0

## References

- <https://huntr.com/bounties/840cb582-1feb-43ab-9cc4-e4b5a63c5bab>
- <https://github.com/phpipam/phpipam/commit/55c2056068be9f1359e967fcff64db6b7f4d00b5>

---

Data as of 2026-12-05T11:51:02.449Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
