Description
phpIPAM through 1.8.1 fails to verify that a requested IP address belongs to the subnet a temporary share token was issued for. In app/temp_share/index.php and app/temp_share/address.php, when the share type is 'subnets', the subnetId parameter is used directly as a database primary key to fetch an address without confirming the address belongs to the authorized subnet. An unauthenticated party holding any valid, non-expired temporary share URL can enumerate the subnetId parameter to read every IP address record across all sections and subnets, including hostnames, DNS names, MAC addresses, owner/contact fields, and notes (which may contain credentials and configuration details).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| phpipam | phpipam | < 1.8.2 | 1.8.2 |
References
- GitHub Issue #4623 issue-tracking
- https://github.com/phpipam/phpipam product
- Security: Various temp-share fixes patch
- phpIPAM v1.8.2 Release Notes release-notes
- VulnCheck Advisory: phpIPAM Temporary Subnet Share Information Disclosure via Address Parameter third-party-advisory