CVE-2024-0787

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-0787
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-0787.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-0787
Published
2024-11-15T11:15:09Z
Modified
2024-11-19T17:48:39.513270Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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 'getuserip()' 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.

References

Affected packages

Git / github.com/phpipam/phpipam

Affected ranges

Type
GIT
Repo
https://github.com/phpipam/phpipam
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.16.003
v1.19.008
v1.2.0
v1.2.0_beta2
v1.3.0
v1.3.2
v1.4.0
v1.5.0
v1.6.0