Found Origin IP's Lead To Access To [ Grafana Instance , PgHero Instance [ Can SQL Injection ]
The reporter found origin server IP addresses for go.exchange through Censys and could reach internal instances directly, including a PgHero instance that allows running PostgreSQL queries. This bypassed the normal front-end and exposed development services to anyone who knew the IPs.
- Triaged in 15 hours
- Fixed in 4 days
- Paid in 4 days
- Disclosed after 34 days
####Hello through RECON for on go.exchange i found origin ip's on https://censys.io/ipv4?q=go.exchange That's allow to the attacker to access to Many Instances Like ( Grafana [ But Need Crediantles ] And Access To PgHero and TokenModel · GO.Exchange where the attacker can use pghero to Execute postgresql Queries ]
###Origin Ip's : ####1. 35.244.190.123 ####2. 35.227.254.117 ####3. 35.240.155.199 ####4. 35.201.99.84 ####5. 35.244.200.254 - pghero.dev-go.exchange [ PgHero Instance ] ####6. 34.96.94.220 - token-model.dev-go.exchange [ TokenModel · GO.Exchange ] ####7. 35.244.144.67 - yourtrack.dev-go.exchange [ Your Track Instance ] ####8. 35.241.6.32 - grafana.dev-go.exchange [ Grafana Instance ] ####9. 35.190.7.180 ####10. 35.241.27.91 ####11. 35.187.241.152
###PgHero Instance :
curl -i -s -k -X $'GET' \ -H $'Host: pghero.dev-go.exchange' -H $'Connection: close' -H $'Upgrade-Insecure-Requests: 1' -H $'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36' -H $'Sec-Fetch-Mode: navigate' -H $'Sec-Fetch-User: ?1' -H $'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3' -H $'Sec-Fetch-Site: same-origin' -H $'Referer: https://35.244.200.254/explain' -H $'Accept-Encoding: gzip, deflate' -H $'Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.' \ $'https://35.244.200.254/'
###Or Go To Burp suite > Options > Replace&Match
####1. Set Header request And
Host: 35.244.200.254 Host: pghero.dev-go.exchange
####And do the action with other Instances
Impact
####Access To Instances for origin server's
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the origin servers were directly reachable from the internet and their addresses were discoverable through public scanning data, so the front-end protection could be bypassed.
Impact
An attacker could reach internal instances directly, and the PgHero instance could allow running PostgreSQL queries, though the Grafana instance still needed credentials.
What the attacker needed
Origin IPs discoverable via scan data; internal services reachable directly
How it was found
- Search public scan data for the domain to find origin IP addresses.
- Send a request to one of the IPs with the internal hostname in the Host header.
- Reach the PgHero instance and use it to run PostgreSQL queries.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Websites often sit behind a protective front service, but the actual servers behind it have their own addresses. If those addresses can be found, someone can talk to the servers directly and skip the protection. Here the reporter found such addresses and reached internal tools, one of which lets you run database queries.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.