CVE-2024-0787 MEDIUM

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

Vendor Phpipam
Product phpipam/phpipam
Weakness CWE-307 · Brute force
Published November 15, 2024
Last update November 15, 2024

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 15, 2024 CVE published
November 15, 2024 Record updated