Description
phpIPAM through 1.8.3 contains a missing authorization vulnerability that allows authenticated low-privilege users to view restricted subnets and addresses because customer, location and NAT pages skip Subnets::check_permission. Attackers can open customer objects.php, single-location.php or nat_details.php to read IP addresses, CIDRs, hostnames and MAC addresses from sections they cannot access.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| phpipam | phpipam | ≤ 1.8.3 | — |
References
- https://hackmd.io/@haind/phpipam-tools-cross-section-address-disclosure third-party-advisory
- https://github.com/phpipam/phpipam/blob/e8010751d491e485acefa5787fb0e518eb948771/app/tools/customers/customer/objects/ipaddresses.php#L69-L110 technical-description
- https://github.com/phpipam/phpipam/blob/e8010751d491e485acefa5787fb0e518eb948771/app/tools/locations/single-location.php#L129-L195 technical-description
- https://github.com/phpipam/phpipam/blob/e8010751d491e485acefa5787fb0e518eb948771/app/tools/nat/nat_details.php#L16-L45 technical-description
- https://github.com/phpipam/phpipam product
- VulnCheck Advisory: phpIPAM through 1.8.3 Missing Authorization in Customers, Locations and NAT Pages third-party-advisory