CVE-2024-0787
published medium CVSS 3.0 · 5.3Improper Restriction of Excessive Authentication Attempts in phpipam/phpipam
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | CISA-ADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| phpipam | phpipam/phpipam | unspecified to < 1.7.0 (affected · custom) | @huntr_ai · cna |
| phpipam | phpipam | 0 to < 1.70 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-307 CWE-307 Improper Restriction of Excessive Authentication Attempts
References
2Provider assertions
2@huntr_ai · cna
Improper Restriction of Excessive Authentication Attempts in phpipam/phpipam
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 47139c95d4bb10299cf499d14bcefab18253e5d7e947c58590b546ddcabaed26
- Ingested
- 23 Sep 2026, 08:16:19 UTC
- Source record
- Official CVE record