Black Friday Sale! 50% Off All Access

What Business Owners Need to Know About Protecting Their Data False sense of security? Even major apps and platforms can fall victim to security vulnerabilities.

By Andrew Medal Edited by Jason Fell

Opinions expressed by Entrepreneur contributors are their own.

matejmo | Getty Images

With the recent rush toward enhancing consumer data protection due to GDPR and other privacy regulations that have taken effect, businesses have strengthened their platforms toward better protecting and securing user data. But is this enough? What do you need to know as a business owner, entrepreneur or manager?

Recent vulnerability reports prove that even major ecommerce and social platforms can easily become an attack vector for cross-site-scripting (or XSS) attacks, and these happen even if the platforms themselves are secure. With vulnerabilities in third-party application providers being used by major customer-facing platforms, there is an increased risk that user data will be exposed to malicious players. This is the risk we all face, unfortunately.

Data privacy regimes

Perhaps the biggest tech news in 2018 was the enforcement of the European General Data Protection Regulation, which sought to protect European Union citizens' personal data from being collected and utilized without consent. With the GDPR, any business that handles data on E.U. citizens, or which counts E.U. citizens as among their clients, will need to explicitly inform said users of data gathering efforts, and seek explicit content for doing so.

GDPR has had its impact even outside of Europe since any business that provides services to E.U. citizens or residents will need to comply. In addition, there have been numerous privacy-focused regulations that are also in effect worldwide, given the recent consumer and business focus on data privacy, which are all good things that are working to protect us.

Even with an increased focus toward enhancing privacy, however, there are still a lot of risks involved when it comes to businesses losing user data to malicious hackers. For one, given the collaborative nature of services (e.g., an ecommerce store utilizing a payment processor or a logistics provider), the weakest link here would be the service that can introduce a potential breach. In this regard, the moment a third-party application puts the user at risk, the entire operation could already be compromised.

XSS in a nutshell

In the simplest explanation, XSS attacks are a form of data-injection, wherein malicious client-side code is injected by an attacker into an otherwise legitimate website. This works by injecting code -- usually JavaScript -- into a website or web app's output, often working through forms such as search fields, feedback forms, forum text entry fields and even cookies stored on a user's browser.

When an unsuspecting user accesses an affected website, the injected code has the potential to deliver a payload, which can include executing code, stealing data, controlling a user's session or installing backdoors to a computer system or network.

Such attacks are borne by the need for today's websites to be interactive. With the numerous interactions between browser and server over a single session, XSS can even be used to pull content from a third-party website, use existing cookie data (which can include usernames and passwords), or interact directly with an app's client-side processes.

What platforms have been vulnerable?

A recent DOM-XSS (document object model-XSS) exploit has been found on prominent social networking and ecommerce sites including Tinder, Shopify and Yelp, reports VPN Mentor late in 2018, exposing as many as 685 million users globally to data theft.

Digging deeper into the potential extent of the risk, the security researchers discovered that the XSS vulnerability included money transfer service Western Union and image sharing service Imgur. Other services affected by the vulnerability were Canva, Letgo, Lookout, Fair, Amazon Music, TicketMaster and Reddit, among others.

The weak point is assumed to have originated in a third-party mobile linking platform that unifies user experiences across different devices and channels. The service has an alias subdomain for its partner sites (including the ones listed above), and clicking on links pointing to these subdomains may have rendered users vulnerable to data theft through scripts injected by malicious hackers.

What can businesses and users do?

The company involved has promptly fixed the potential vulnerability after receiving reports of the XSS risk. However, this precludes the possibility that attackers may have discovered the vulnerability and exploited it to steal data. Therefore, this means that users who have recently or regularly used services detailed above like Tinder, need to double check if their accounts are not compromised. Password changes and browser cache/cookie clearing might be a good idea.

For businesses, meanwhile -- especially those that run consumer-facing platforms, or even those that utilize websites for employee access -- there are several methods to minimize the risks, as explained by ComputerWeekly, associated with XSS. This involves building applications with a tight security development lifecycle. This means constantly building and updating in order to reduce or eliminate security-related errors in design and coding. This also means assuming that all data that is being received by the application can potentially come from an untrusted source, even if it comes from users who are already logged in and authenticated.

As such, some changes that can be adopted for entrepreneurs, business owners and managers can include:

  • Not trusting user input blindly. This means constantly validating the input for type, length, format and data range whenever such data goes across trust boundaries;
  • Reducing client-side input, to preclude the possibility of unwanted code or character sets being passed through;
  • Setting a webpage's character set to the bare minimum (ISO-8859-1), which is enough for English and most European languages;
  • Asking users to re-authenticate before accessing critical services;
  • Immediately expiring login sessions if access from multiple IP addresses is detected;
  • Utilizing vulnerability scanners to keep track of such risks in real-time;
  • And conducting penetration testing before an application or website goes live.

The takeaway

As XSS attacks have been all over the headlines, it makes sense to focus on preventing security risk, especially in the light of calls for better data privacy and protection. This is important today, given the fact that most sites will not work without client-side scripting.

If this has still gone above your head, make sure to contact your webmaster and have him or her walk you through these important points regarding data protection. Knowing that major social networks and services have actually been at open risk to a big XSS attack, both businesses and users need to be proactive about their security.

Andrew Medal

Entrepreneur & Angel Investor

Andrew Medal is the founder of The Paper Chase, which is a bi-weekly newsletter. He is an entrepreneur and angel investor.

Want to be an Entrepreneur Leadership Network contributor? Apply now to join.

Business News

DOGE Leaders Elon Musk and Vivek Ramaswamy Say Mandating In-Person Work Would Make 'a Wave' of Federal Employees Quit

The two published an op-ed outlining their goals for their new department, including workforce reductions.

Living

These Are the 'Wealthiest and Safest' Places to Retire in the U.S. None of Them Are in Florida — and 2 States Swept the List.

More than 338,000 U.S. residents retired to a new home in 2023 — a 44% increase year over year.

Starting a Business

This Sommelier's 'Laughable' Idea Is Disrupting the $385 Billion Wine Industry

Kristin Olszewski, founder of Nomadica, is bringing premium wine to aluminum cans, and major retailers are taking note.

Business News

These Are the Highest Paying Jobs Available Without a College Degree, According to a New Report

The median salaries for these positions go up to $102,420 per year.

Business Ideas

63 Small Business Ideas to Start in 2024

We put together a list of the best, most profitable small business ideas for entrepreneurs to pursue in 2024.

Starting a Business

He Started a Business That Surpassed $100 Million in Under 3 Years: 'Consistent Revenue Right Out of the Gate'

Ryan Close, founder and CEO of Bartesian, had run a few small businesses on the side — but none of them excited him as much as the idea for a home cocktail machine.