Wednesday, December 25, 2024
HomeWeb ApplicationsWeb Application Attacks – Types, Impact & Mitigation – Part-4

Web Application Attacks – Types, Impact & Mitigation – Part-4

Published on

SIEM as a Service

With this article, we list some of the common web application attacks, impacts, and possible mitigation. In part -4 we are covering the following attacks.

Web Application Attacks

  • Click-jacking
  • Strict transport security not enforced
  • Failure to restrict URL access
  • Parameter Manipulation
  • URL Redirection

Click-jacking

Clickjacking is an attack that tricks a user into clicking a webpage element that is invisible or disguised as another element. Clickjacking is an attack where the attacker tricks the user into clicking one link that routes to another page.

Impact

clickjacking involves mirroring a login and password form on a website. An attacker may also choose to redirect the clicks to download malware or gain access to vital systems

- Advertisement - SIEM as a Service

Mitigation

The header provides the website owner with control over the use of iframes or objects so that inclusion of a web page within a frame can be prohibited with the deny directive:

X-Frame-Options: deny

Alternatively, framing can be restricted to the same origin as the website using the sameorigin directive

X-Frame-Options: sameorigin

Content Security Policy (CSP) is a detection and prevention mechanism that provides mitigation against clickjacking.

Strict transport security not enforced

when the application fails to prevent users from connecting to it over unencrypted connections. HTTP strict transport security HTTS is a security policy implemented in web servers which are to interact with it using only secure (HTTPS) connections.

Impact

To exploit this vulnerability, an attacker must be suitably positioned to intercept and modify the victim’s network traffic. an attacker can manipulate pages in the unsecured area of the application or change redirection targets in a manner that the switch to the secured page is not performed or done in a manner, that the attacker remains between client and server.

Mitigation

Enable HTTP Strict Transport Security (HSTS) by adding a response header with the name ‘Strict-Transport-Security’ and the value ‘max-age=expireTime’, where expireTime is the time in seconds that browsers should remember that the site should only be accessed using HTTPS

Strict-Transport-Security: max-age=31536000; includeSubDomains

Failure to restrict URL access

when internal pages of the application can be accessed without authentication by forceful browsing. All the internal pages could be accessed directly.

Impact

An attacker can access and steal sensitive information without any authentication.

Mitigation

It is recommended not to serve internal pages without proper authentication and authorization checks. It is also recommended to configure strong session management. http://cwe.mitre.org/data/definitions/285.html

Parameter Manipulation

The parameters within the application can be altered to fetch data that is not allowed or is unauthorized.

Impact

An attacker can impersonate other users and access/perform unauthorized activities.

Mitigation

It is recommended to implement server-side mapping of a user to accessibility. The features are applicable to different privilege levels should accessible strictly to those level users only.

Any other user should not be granted access to it. It is also recommended to implement strong session management and the user should be logged out while trying parameter manipulation

URL Redirection

when an application stores an URL in a parameter while allowing the user to navigate between pages.

Impact

This may allow an attacker to craft a malicious URL by changing the URL stored in the parameter to that of a malicious site.

Thus the application will be vulnerable to a phishing attack. An attacker can scam users into surrendering private information that will be used for identity theft.

Mitigation

The application should allow redirection only to white list of URLs.

Also Read

Web Application Attacks – Types, Impact & Mitigation – Part-1

Web Application Attacks – Types, Impact & Mitigation – Part-2

Web Application Attacks – Types, Impact & Mitigation – Part-3

Gurubaran
Gurubaran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Latest articles

Indonesia Government Data Breach – Hackers Leaked 82 GB of Sensitive Data Online

Hackers have reportedly infiltrated and extracted a vast 82 GB of sensitive data from...

IBM AIX TCP/IP Vulnerability Lets Attackers Exploit to Launch Denial of Service Attack

IBM has issued a security bulletin warning of two vulnerabilities in its AIX operating...

Apache Auth-Bypass Vulnerability Lets Attackers Gain Control Over HugeGraph-Server

The Apache Software Foundation has issued a security alert regarding a critical vulnerability...

USA Launched Cyber Attack on Chinese Technology Firms

The Chinese National Internet Emergency Center (CNIE) has revealed two significant cases of cyber...

API Security Webinar

72 Hours to Audit-Ready API Security

APIs present a unique challenge in this landscape, as risk assessment and mitigation are often hindered by incomplete API inventories and insufficient documentation.

Join Vivek Gopalan, VP of Products at Indusface, in this insightful webinar as he unveils a practical framework for discovering, assessing, and addressing open API vulnerabilities within just 72 hours.

Discussion points

API Discovery: Techniques to identify and map your public APIs comprehensively.
Vulnerability Scanning: Best practices for API vulnerability analysis and penetration testing.
Clean Reporting: Steps to generate a clean, audit-ready vulnerability report within 72 hours.

More like this

Gesture Jacking – New Attack That Deceives Website Visitors

The Web Platform is incredibly powerful, but regrettably, malicious websites will do all in...

Web Server Penetration Testing Checklist – 2024

Web server pentesting is performed under three significant categories: identity, analysis, and reporting vulnerabilities such as...

Most Popular Websites Still Allow Users To Have Weak Passwords

The latest analysis shows that tens of millions of people are creating weak passwords...