Absolute Beginners Guide For Finding P4 Bugs (With Real Example!)-Part 2
The domain demo.priceless.com lacked a DMARC record, allowing an attacker to send emails that appear to come from that domain. The author demonstrated this by sending an email from a spoofed address to a victim.
Published on medium.com
Hey guys! I’m back with some easy bugs to catch for beginners and I hope you’ll implemented if you’re starting out.
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 the domain owner had not published a DMARC record, so receiving mail servers had no policy to reject or quarantine spoofed emails.
Impact
An attacker could send emails that appear to originate from the domain, which could be used for phishing or spam; however, the report notes that DMARC was out of scope for the bug bounty program.
What the attacker needed
Domain lacks DMARC record; access to an email spoofing service
The fix
The domain owner should publish a DMARC record with a policy of quarantine or reject to prevent spoofing.
How it was found
- Go to mxtoolbox.com and search for the domain demo.priceless.com.
- Observe that the DMARC record is not enabled.
- Go to emkei.cz and fill in the details, setting the From address to [redacted]
- Enter your own email as the sender and click send.
- The email is successfully sent, appearing to come from the spoofed address.
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.
DMARC is an email security setting that tells receiving mail servers what to do if an email claims to be from your domain but fails authentication checks. Without it, anyone can send emails that look like they come from your domain, which can be used for phishing. This post shows how to check for a missing DMARC record and then send a spoofed email.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.