Uncovering Hidden Cloudflare Pages and Workers
The author describes a reconnaissance method for discovering Cloudflare Pages and Workers deployments by scraping certificate transparency logs for pages.dev subdomains, then screenshotting and categorising them. The text claims this surfaced phishing sites and sensitive files such as configuration files and shell scripts containing database credentials, but gives no specific vulnerability details.
infosecwriteups.com
Published on infosecwriteups.com
Cloudflare Pages/Workers offers a seamless platform for deploying static sites and applications, integrating directly with repositories on GitHub and GitLab. While this service enhances performance and security for legitimate users, it can inadvertently expose hidden pages or workers if not properly configured.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely reliance on an unguessable subdomain name as the only protection, while the name is still published in public certificate transparency logs.
Impact
Assets the owners assumed were hidden could be discovered and browsed, and the author reports finding phishing sites plus configuration files and shell scripts containing database credentials, though no specific victim or exploit chain is described.
What the attacker needed
Internet access; public certificate transparency logs; screenshot tooling
The fix
Owners should assume their Cloudflare-assigned subdomain can be discovered and protect it with proper access controls rather than a hard-to-guess name.
How it was found
- Query a certificate transparency search service for pages.dev certificates
- Extract the unique pages.dev hostnames from the returned page
- Screenshot the collected hostnames with a scanning tool and store the results
- Review the screenshots and page titles to find login pages, admin panels and other interesting assets
- Categorise the screenshots with an image-classification tool to speed up triage
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 write-up has not been written yet. The Original tab links to the source.
When a site is hosted on Cloudflare Pages, it gets a public address ending in pages.dev. Every secure certificate issued for such an address is recorded in public logs, so anyone can list them. The author searched those logs, took screenshots of what they found, and spotted pages that were meant to be private, including some holding database passwords.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.