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

Published Nov 15, 2024
·
Updated

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 'REMOTEADDR'. 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.

Affected Software

1 affected component
Phpipam Phpipam<1.7.0

Event History

Nov 15, 2024
CVE Published
via MITRE·10:57 AM
Data Sourced
via MITRE·10:57 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-0787?

CVE-2024-0787 is classified as a high severity vulnerability due to its potential for unauthorized access and brute force password attacks.

2

How do I fix CVE-2024-0787?

To fix CVE-2024-0787, update phpIPAM to version 1.7.0 or later, which contains the necessary security patches.

3

What types of attacks can be executed using CVE-2024-0787?

CVE-2024-0787 can be exploited to bypass the IP block mechanism, allowing attackers to perform brute force attacks on user passwords.

4

Which versions of phpIPAM are affected by CVE-2024-0787?

phpIPAM versions prior to 1.7.0 are affected by CVE-2024-0787 and should be updated to mitigate the vulnerability.

5

Where is the vulnerability located in the phpIPAM codebase for CVE-2024-0787?

CVE-2024-0787 is located in the 'get_user_ip()' function within 'class.Common.php' at lines 1044 and 1045.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203