wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Session Vulnerabilities

profile
Akanksha Rathod
Aug 17, 2022
1 Like
0 Discussions
107 Reads

Before we learn about the vulnerabilities we should know what is a session.

You might have observed being logged out from a website after you keep it idle for a long time, you also get a message stating that "Session has expired".

Session simply means a group of interactions that a user has on a website within a given time frame. Visiting a website can also be considered as a session, however, in technical words, session can be captured by existing the website or by a period of user inactivity.

How can a session be vulnerable?


1) Generating weak session management:

The logic of creating a session token is pretty simple. The attacker is able to learn the pattern and is able to create a valid fake token using the exposed logic behind the session token creation.

2) Poor handling of sessions:
If the session is not terminated properly, or the token is leaked within the network, token hijacking can take place, where the attacker can easily invade.

3) Using meaningful token as a session ID:
Some developers tries to put a lot of information in the session ID, these information may include username, user id, email address, etc. The value may be encrypted and look long however, if it is decoded, it will give out all the useful information of the user.

4) Using predictable tokens:
The session ID tokens are in encrypted format and hence, we feel that they are safe. However, we do not know if they consist of some pattern or a sequence that is commonly used, if so, attackers can easily guess the token.

Session cookies puts the data into temporary memory and deletes it once the session is finished. This data is then used to track the user's development throughout the website. If these sessions are not managed properly, user's information can be stolen like passwords or confidential data. This attack is called as session hijacking. Attacker can use brute force, can guess or predict the exposed session tokens and impersonates and hijacks a genuine user. 


Comments ()


Sign in

Read Next

Health and fitness

Blog banner

Brain wash of social media

Blog banner

MYNTRA

Blog banner

Supervised and Unsupervised Learning

Blog banner

What Are Electro-Forged Gratings? Benefits, Applications, and Why Industries Prefer Them

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Life of a 2020-2021 student

Blog banner

AI and Technology- Related Anxiety: Understanding the Psychological Impact of Living in an AI-Driven World

Blog banner

Multiple processor scheduling

Blog banner

Kayak Eco Tours Near Arcadia: A Complete Guide for Nature Lovers

Blog banner

EMAIL INVESTIGATION

Blog banner

Some facts about Technology

Blog banner

INTERRUPTS

Blog banner

Disk Management

Blog banner

A Weekend of Wildlife, Rivers, and Relaxation in Southwest Florida

Blog banner

Paralysis/Paralysis Stroke

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

Direct Memory Access

Blog banner

Webmail

Blog banner

CYBERBULLYING: Negative comments!

Blog banner

Health and fitness in technology

Blog banner

Deadlocks in operating system

Blog banner

How Reading Books Shape a Child’s Imagination and Thinking?

Blog banner

The Importance of Eating on Time: How Meal Timing Affects Your Health

Blog banner

Vaping vs. Chewing Gum: The Hidden ‘Stress Fix’ Destroying Sydney’s Teeth

Blog banner

Koinex is shutting down and here is how you can withdraw...

Blog banner

Process Creation

Blog banner

Modern operating system

Blog banner

The Art Of Getting What You Want In Life....

Blog banner

"Mahakali cave"

Blog banner

Introduction to Solidity Programming for Blockchain Development

Blog banner

Deadlock

Blog banner

Google classroom

Blog banner

Blockchain

Blog banner

Semaphores

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

Memory heirchy

Blog banner

OS Evolution Achievements

Blog banner

Virtual Machine

Blog banner

Daycare Centres Help Children Transition into Structured Learning

Blog banner

Coping with Diagnosis Shock

Blog banner

IoT Evolution

Blog banner