{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2024-0787", "ASSIGNER": "security@huntr.com", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-307 Improper Restriction of Excessive Authentication Attempts", "cweId": "CWE-307" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "phpipam", "product": { "product_data": [ { "product_name": "phpipam/phpipam", "version": { "version_data": [ { "version_affected": "<", "version_name": "unspecified", "version_value": "1.7.0" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://huntr.com/bounties/840cb582-1feb-43ab-9cc4-e4b5a63c5bab", "refsource": "MISC", "name": "https://huntr.com/bounties/840cb582-1feb-43ab-9cc4-e4b5a63c5bab" }, { "url": "https://github.com/phpipam/phpipam/commit/55c2056068be9f1359e967fcff64db6b7f4d00b5", "refsource": "MISC", "name": "https://github.com/phpipam/phpipam/commit/55c2056068be9f1359e967fcff64db6b7f4d00b5" } ] }, "source": { "advisory": "840cb582-1feb-43ab-9cc4-e4b5a63c5bab", "discovery": "EXTERNAL" }, "impact": { "cvss": [ { "version": "3.0", "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "LOW", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM" } ] } }