Detecting Social Login Flaws via Database Query Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing social login systems are vulnerable to security flaws, particularly when users reuse passwords across multiple services, and there is a need for a method to detect and address these vulnerabilities without relying on user input or manual identification on web pages.

Innovation Solution

A system and method that perform multiple login attempts using different social login accounts with the same identity provider but different account information, monitoring database queries to detect features and identify security flaws, allowing for the detection of vulnerabilities such as logging into existing local accounts not previously associated with the social login identity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If social login systems allow users to login using existing local accounts, then user convenience is improved, but security vulnerabilities increase due to potential unauthorized access

Engineering Contradiction:
Improveuser convenienceVSAvoidsecurity
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system performs preliminary database queries to check for existing local accounts before allowing social login. By proactively identifying potential security issues through query analysis (checking for multiple accounts with similar characteristics), the system can prevent unauthorized access while maintaining convenient login functionality for legitimate users.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system monitors database queries and provides feedback about account existence and characteristics. By analyzing query patterns and account information (such as email addresses, usernames, and creation dates), the system can distinguish between legitimate login attempts and potential security violations, enabling informed security decisions.

Inventive Principle:
Principle #23Feedback

2Reliability

If the system monitors database queries to detect security flaws, then security detection capability is improved, but system complexity increases

Engineering Contradiction:
Improvesecurity detection capabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The database query monitoring system serves multiple functions: it detects security vulnerabilities, identifies account creation patterns, and provides feedback for both security and operational decisions. By making the query monitoring mechanism multi-functional, the system improves security detection capability without proportionally increasing complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system uses its own database queries to monitor itself for security issues. By analyzing queries that the system performs during normal operation, it can detect security flaws without requiring separate complex monitoring infrastructure, thereby improving detection capability while minimizing additional complexity.

Inventive Principle:
Principle #25Self-service

3Measurement precision

If the system performs multiple login attempts with different accounts, then detection precision is improved, but time consumption increases

Engineering Contradiction:
Improvedetection precisionVSAvoidtime consumption
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs a limited number of targeted login attempts (typically two) with different account characteristics to achieve sufficient detection precision. By using partial action (not exhaustively testing all possible accounts) but strategically selecting accounts with distinguishing features, the system achieves adequate detection accuracy without excessive time consumption.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system varies key parameters such as email address, username, and account creation date across different login attempts. By changing these identifying parameters while maintaining the same social login credentials, the system can detect account merging or sharing issues efficiently without requiring numerous time-consuming test cases.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9930024B2Detecting social login security flaws using database query features
Publication Date: 2018.03.27 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US9930024B2 patent drawing
  • US9930024B2 patent drawing
  • US9930024B2 patent drawing

AI summary

Techniques for detecting security flaws are described herein. An example system includes a processor to perform a login attempt into a website to be tested using a first social login account and a first verification to determine whether the first social login account is logged in. The processor can monitor a database associated with the website for queries. The processor can perform a second login attempt into the website using a second social login account and a second verification to determine whether the second social login account is logged in. The processor can perform a third login attempt using a third social login account. The processor can detect a second set of features based on the queries during the third login attempt. The processor can detect a social login security flaw based on the first and second verification, and the first and second set of detected features.