Description
The alexpechkarev/google-maps Laravel package through 12.16 disables TLS certificate verification by default because the bundled config sets ssl_verify_peer to FALSE, which is passed to CURLOPT_SSL_VERIFYPEER. On-path attackers can present any certificate to intercept Google Maps web-service requests, steal the API key from the query string, and tamper with responses.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| alexpechkarev | google-maps | 1.0.3 – ≤ 12.16 | — |
References
- GitHub Issue #123 issue-tracking
- https://github.com/alexpechkarev/google-maps product
- https://github.com/alexpechkarev/google-maps/blob/v12.16/src/config/googlemaps.php#L28 technical-description
- https://github.com/alexpechkarev/google-maps/blob/v12.14/src/WebService.php#L267-L269 technical-description
- VulnCheck Advisory: alexpechkarev/google-maps through 12.16 Disabled TLS Certificate Verification via ssl_verify_peer third-party-advisory