MacBook keyboard close up
Nick Beer/Shutterstock.com

There’s a vulnerability in macOS that could allow malicious individuals to take over control of your Mac. Apple was supposed to have fixed the issue, but it appears that the exploit is still very much active and dangerous.

Don’t Open These Shortcut Files on Your Mac

Park Minchan, an independent security researcher, discovered a vulnerability in the operating system that lets threat actors control your device. Basically, shortcut files with the .inetloc extension can have commands embedded inside them, which can execute all sorts of things.

If someone sends you a file with the .inetloc extension and you open it on Big Sur or older versions of the OS, the file can execute commands with no other interaction on your part.

Ars Technica tested the vulnerability with a .inetloc file and Apple’s Mail app, and it was able to launch the calculator by simply opening the shortcut file on their Mac.

Minchan explained a little more about the issue, saying, “A vulnerability in the way macOS processes inetloc files causes it to run commands embedded inside, the commands it runs can be local to the macOS allowing the execution of arbitrary commands by the user without any warning/prompts. Originally, inetloc files are shortcuts to an Internet location, such as an RSS feed or a telnet location; and contain the server address and possibly a username and password for SSH and telnet connections; can be created by typing a URL in a text editor and dragging the text to the Desktop.”

Advertisement

Apple attempted to release a fix for the issue, but apparently, it’s easy to bypass. “Newer versions of macOS (from Big Sur) have blocked the file:// prefix (in the com.apple.generic-internet-location) however they did a case matching causing File:// or fIle:// to bypass the check,” explains Minchan.

That means simply changing the case of “F” in file is enough to get around Apple’s fix, which means it isn’t much of a fix at all.

What Should You Do?

If someone you don’t know sends you a .inetloc file via email, don’t open it. You shouldn’t open files of any type from people you don’t know, but because we know this is actively being exploited, it’s even more important to avoid them.

Profile Photo for Dave LeClair Dave LeClair
Dave LeClair is the News Editor for How-To Geek. He started writing about technology more than 10 years ago. He's written articles for publications like MakeUseOf, Android Authority, Digitial Trends, and plenty of others. He's also appeared in and edited videos for various YouTube channels around the web.
Read Full Bio »

The above article may contain affiliate links, which help support How-To Geek.