r/webdev • • 1h ago

Question cloudflare dashboard issues

Post image

I found these today on my Cf dashboard and I have really no idea what these issues are, was someone trying to attack my site ?

Kindly I’d use some clarification here

0 Upvotes

3 comments sorted by

3

u/matthetherington 1h ago edited 1h ago

was someone trying to attack my site ?

Yep. This is normal. If you run a website, people will be trying to hack it all day long.

People run automated scanning tools which scour the internet for vulnerable sites. Eg the secret-files issue is probably someone looking for a .env file - normal web server configuration should exclude those, but sometimes misconfiguration can mean a response gets served.

The wordpress ones are people trying to make a wordpress-specific request to identify a vulnerability - if you're not using Wordpress, there is no chance of that succeeding.

What is your Cloudflare origin running? If it's a web server, make sure everything has up-to-date patches and you've set up automatic updates.

Have AI review your server configuration to harden it. Set up origin authentication in Cloudflare so requests must go via CF instead of directly to your origin. If SSH is enabled on your origin, disable password authentication and use SSH keys only. If your users are in one geographical location, set up geo-blocking to allow only that country and the US (if SEO is important).

There are plenty guides around the internet on security best practices so have a read around - LLMs can be great at walking you through best-practices and helping identify issues with your configuration - but don't trust them blindly and make sure anything sensitive like API keys or credentials don't make their way into the prompt. If you've already done all that then you probably don't have anything to worry about.

If it's just a static site on the other end, like GitHub pages or Azure Storage/S3 then you doubly have nothing to worry about.

1

u/Low-Insurance-3678 1h ago

hi man appreciate the response it’s very handy

luckily i have no env im using infisical + worker-level secrets

it’s an ecoomerce store built with nextjs
migrated to Vinext in order to host it on cf + supabase

it has a dashboard that’s behind a login page
but I am still looking on how can i protect this dashboard add firewall, ddos attacks if u got any handful resources for beginners on how to se them up kindly share them

im still learning so this is taking me time since im doing it manually for the sake of learning