TÜV Rheinland Blog - Insights from Asia and Africa

What to Do When Automated Application Security Testing Falls Short

Posted by TUV Rheinland on Nov 7, 2018 12:13:32 PM
TUV Rheinland
What-to-do-when-automated-application-security-testing-falls-short-300x272

As the number of applications developed explodes, the prospect of performing Application Penetration Testing on each application, with limited budgets and scarce resources, becomes increasingly daunting and seemingly impossible. Application risks will never be sufficiently mitigated by relying on automated scanning alone. Typically, there are three main dynamic options practiced today, and they vary in coverage, accuracy, and cost.

The volume and sophistication of cyber attacks continues to increase at an alarming rate. To ensure sufficient protection, organisations must answer these questions:

  • Do we have vulnerabilities that an attacker could find?
  • If an attacker found them, could they be exploited?
  • If exploited, what damage could they do to our business?
  • What should be done to fix the vulnerability?

 

Are Automated Scans Enough?

Application risks will never be sufficiently mitigated by relying on automated scanning alone. Typically, there are three main dynamic options practiced today, and they vary in coverage, accuracy, and cost.

  1. Automated Scanning
  2. Automated Scanning with Manual Validation
  3. Application Penetration Testing (Automated Scanning with Manual Validation and Manual Testing)

To determine which option is right for each application, it is common to take a risk-based approach to classify applications. This risk-based approach is used to influence the type of assessment that each application requires.

Although risk-based classification is an effective way to prioritise limited resources, it leads to the conclusion that automated scanning alone is acceptable for some applications, when in fact, this is rarely the case.

 

Automated Scans Consistently Miss High-Risk Vulnerabilities

At TÜV Rheinland OpenSky, we have hundreds of examples that form a clear pattern: automated scans, even with manual validation, consistently miss high-risk vulnerabilities that leave organisations exposed.

Automated scans are well suited to efficiently find certain types of application vulnerabilities, including Cross-site Scripting, SQL Injection, and Server-Side Request Forgery. Automated scans also identify particular misconfigurations, including incorrectly implemented TLS or the absence of recommended security-focused HTTP headers and cookie attributes.

Automated scans fail to identify many complex vulnerabilities, including Authentication Bypasses, many types of Access Control Weaknesses, and flaws in business logic. Also, automated scans contain scores of false-positives, and use generic risk ratings that can lead to significant levels of wasted effort if not identified and addressed.

Manual validation of automated scan results by security professionals removes false-positives and adjusts risk ratings to an organisation’s context; but manual validation will not improve coverage.

 

Automated Scans Leave Organisations Exposed to Risk of Cyber Attacks

In the examples below, see how relying on automated scans with manual result validation would have left each organisation with a false sense of security and exposed them to risk of cyber attack. The findings highlighted in red represent significant additional risk that would not have been addressed if the client had relied solely on Automated Scans.

 

Example 1: A pre-production public-facing customer application

A_pre-production_public-facing_customer-_application-1024x466

In Example 1, we see that the automated scans missed five significant vulnerabilities, including a critical vulnerability that would have allowed any authenticated user to gain access to highly sensitive data from other customer accounts.

 

Example 2: A third-party order verification application

A-third-party-order-verification-application--1024x233

In Example 2, we see that an automated scan without Application Penetration Testing would have left the organisation unaware of multiple ways that any user could gain full read/write access to any other user’s data and access.

 

Example 3: A crypto currency user account management application

A-crypto-currency-user-account-management-application--1024x358

In Example 3, we see that while automated scanning identified multiple vulnerabilities, it missed that a third-party JavaScript file was sending valid JSON Web Tokens back to the third party, which meant that any active session could be hijacked by the third party. The manual testing also identified a stored XSS vulnerability that only presented itself when a user manually reviewed the malicious payload in a separate application (Second Order XSS).

 

Test Regularly, Manually, and Adjust Frequency Based on Risk

These examples demonstrate that, while it is necessary to find and fix the vulnerabilities identified by automated scans, it is critical to be aware that it is far from sufficient. Without also performing manual testing with experienced Penetration Testers, you’ll miss dangerous and damaging vulnerabilities buried in the heart of your applications.

In today’s cyber threat landscape, it is essential that all applications be manually tested by experienced Penetration Testers. If they aren’t, many sophisticated and high-risk vulnerabilities will be missed. If an organisation’s approach to Application Testing overlooks these vulnerabilities, it will leave sensitive corporate and customer information at risk.

 

Make Manual Penetration Testing Compulsory for All Your Applications

Instead of asking “Which of my applications require Manual Penetration Testing?”, ask “How frequently does each application need Manual Penetration Testing?”

This approach enhances standard practices by using a risk-based classification to prioritise the order and frequency in which applications receive Manual Penetration Testing and ensures that all applications receive this level of screening at least once.

Today, all organisations face the same reality: digital businesses are moving into online and mobile applications that need protection, despite scarce resources. It is critical to understand and recognise the limitations of Automated Scans and establish a risk-adjusted frequency for the manual testing of every application in your portfolio.

 

To learn more about application security testing, reach out to one of our experts:

Contact us now

Topics: IoT, cybersecurity, ICT