CVE-2024-0787
phpIPAM IP Spoofing Authentication Bypass
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.
INFO
Published Date :
Nov. 15, 2024, 11:15 a.m.
Last Modified :
Nov. 19, 2024, 3:53 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
2.2
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-0787
.
URL | Resource |
---|---|
https://github.com/phpipam/phpipam/commit/55c2056068be9f1359e967fcff64db6b7f4d00b5 | Patch |
https://huntr.com/bounties/840cb582-1feb-43ab-9cc4-e4b5a63c5bab | Exploit Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-0787
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-0787
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 19, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/phpipam/phpipam/commit/55c2056068be9f1359e967fcff64db6b7f4d00b5 No Types Assigned https://github.com/phpipam/phpipam/commit/55c2056068be9f1359e967fcff64db6b7f4d00b5 Patch Changed Reference Type https://huntr.com/bounties/840cb582-1feb-43ab-9cc4-e4b5a63c5bab No Types Assigned https://huntr.com/bounties/840cb582-1feb-43ab-9cc4-e4b5a63c5bab Exploit, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:phpipam:phpipam:*:*:*:*:*:*:*:* versions up to (excluding) 1.7.0 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 15, 2024
Action Type Old Value New Value Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L -
CVE Received by [email protected]
Nov. 15, 2024
Action Type Old Value New Value Added 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. Added Reference huntr.dev https://huntr.com/bounties/840cb582-1feb-43ab-9cc4-e4b5a63c5bab [No types assigned] Added Reference huntr.dev https://github.com/phpipam/phpipam/commit/55c2056068be9f1359e967fcff64db6b7f4d00b5 [No types assigned] Added CWE huntr.dev CWE-307 Added CVSS V3 huntr.dev AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-0787
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-0787
weaknesses.