Bobcares

IPSec vulnerabilities and fixes – A quick look

by | Feb 20, 2019

Any vulnerability can weaken your systems and cause server attacks.

And, what if the weakness is in your most critical system?

Yes, vulnerabilities in VPN protocols like IPSec are critical. It can even leak your private data.

That’s why, we often get requests to patch IPSec vulnerabilities as part of our Managed VPN Services.

Today, we’ll see the top IPSec vulnerabilities and how our Support Engineers fix them.

Few facts on IPSec

Basically, Internet Protocol Security (IPsec) is a secure network protocol suite that allows private communication. And, IPSec uses the Internet Key Exchange (IKE) protocol to ensure secure connection.

For this IKE process to work, there has to be a Security Association (SA) between the VPN peers. It uses key based method to encrypt and decrypt data. And, the flow of data across the VPN tunnel can happen only after this association.

Unfortunately, when there are flaws in any of the underlying protocols, it affects IPSec too.

 

Top IPSec vulnerabilities and their fixes

Vulnerability on any system makes your server an attack target.

But, how do you know about an IPSec vulnerability? Only after you are affected?

Definitely NO.

That’s where our Security Engineers have an upper edge. We keep regular track of security incidents in internet and get real time updates on any major flaws. Therefore, we always patch-up the vulnerability well in advance.

Now, let’s have a look at the top three IPSec vulnerabilities and how we act on them.

 

1. Man in the middle attack

As we already saw, IPSec VPN uses keys to identify each other. In this vulnerability, an attacker may be able to recover a weak Pre-Shared Key. Thus, this attack targets IKE’s handshake implementation used for IPsec-based VPN connections. Using these keys, it can decrypt connections. Ultimately, this will open the door to Man-in-the-middle (MitM) attacks. Eventually, this will result in leakage of VPN session data.

When any vulnerability happens due to a flaw in implementation, usually software providers itself will release a patch. For example, when this was reported in Cisco routers using IKEv1, they immediately released the patch for the vulnerability. To mitigate this attack, all we did was to ensure that the patch is correctly applied.

 

2. Password cracking

Similarly, another problem with IPSec happens with password cracking. Unfortunately, this happens with both IKEv1 and IKEv2 versions. When a VPN user enters a password, server first encrypts it and compare with stored values. If they match, the person gets access.

Unfortunately, using weak passwords in IPSec VPN makes it vulnerable to offline dictionary or brute force attacks.

That’s why, our Support Engineers always recommend customers to choose extremely complex passwords when they use IPsec through password-based logins. Additionally, we make sure that VPN uses cryptographically secure key values that can resist brute force or dictionary attacks.

 

3. Buffer overflow

Yet another IPSec vulnerability is buffer overflow vulnerability.

Buffer is nothing but a temporary storage space. At times, a program may forget buffer location and overwrites adjacent memory locations. This vulnerability happens due to a buffer overflow in the affected code area.

Here, attacker would first send UDP packets to the affected system. As a result, it allows attacker to execute arbitrary code and obtain full control of the system.

Again, this is a flaw in the implementation. For example, when this vulnerability was reported in Cisco ASA Software, they immediately came up with security fixes.

Here, the method of fix involved couple of steps. Our Support Engineers first check whether features like crypto map, IKEv1 or IKEv2 are configured on the device. Based on the output of the command, we always ensure that IKEv1 or IKEv2 is disabled on the affected system.

[Do you need advice on most secure VPN? We can guide you.]

 

Conclusion

In short, although IPSec VPNs are popular, it’s not free from vulnerabilities. Today, we saw top 3 IPSec vulnerabilities and how our Support Engineers patch them up.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF