Client-Side Plugin Prevents XSRF via Credential Stripping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Cross-site request forgery (XSRF) attacks exploit the assumption that authenticated requests are intentional, allowing attackers to induce legitimate web applications to perform unauthorized actions without user knowledge, undermining trust in web commerce.

Innovation Solution

A client-side plugin examines requests for suspicious activity by comparing their source with a list of approved hosts and removes authentication credentials from requests deemed suspicious, preventing XSRF attacks by ensuring only legitimate requests are executed with credentials.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If web applications accept authenticated requests from any source, then ease of operation is improved, but security deteriorates due to XSRF attacks

Engineering Contradiction:
Improverequest processingVSAvoidsecurity
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent introduces an intermediary verification mechanism that checks the source of authenticated requests against a whitelist of approved hosts before processing. This mediator layer validates whether the request originates from a trusted source, allowing legitimate requests to pass through while blocking XSRF attacks from unauthorized sources.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If web applications verify request sources, then security is improved, but device complexity increases due to additional verification mechanisms

Engineering Contradiction:
ImprovesecurityVSAvoidverification system
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements preliminary action by pre-establishing a whitelist of approved hosts before runtime. The verification system simply checks whether request sources match entries in this pre-defined list, rather than performing complex real-time analysis. This approach simplifies the verification mechanism while maintaining strong security.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If authentication credentials are always attached to requests, then ease of operation is improved, but object-generated harmful factors increase due to unauthorized actions

Engineering Contradiction:
Improverequest submissionVSAvoidunauthorized actions
Core Design Contradiction:
Ease of operationVSObject-generated harmful factors

Solution Approach 1:

The patent applies local quality by making the attachment of authentication credentials conditional rather than universal. Credentials are attached to requests only when the source is verified as approved, while requests from unapproved sources are blocked without credentials. This localized application of credential attachment prevents unauthorized actions while maintaining ease of operation for legitimate requests.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS8904521B2Client-side prevention of cross-site request forgeries
Publication Date: 2014.12.02 RED HAT INC
  • US8904521B2 patent drawing
  • US8904521B2 patent drawing
  • US8904521B2 patent drawing

AI summary

Cross-site request forgeries (“XSRF”) can be prevented using a client-side plugin on a client computer. The client computer accesses a content provided by a third party host via a network and generates a request to a web application as directed by the content. The client-side plugin determines whether the request is associated with suspicious activities based on the content, a source of the request and a list of approved hosts associated with the target host. In response to a determination that the request is associated with suspicious activities, the plugin removes authentication credentials from the request and sends the request to the web application.