Thou Shalt Not Depend on Me: Analysing the Use of Outdated JavaScript Libraries on the Web

11/02/2018
by   Tobias Lauinger, et al.
0

Web developers routinely rely on third-party Java-Script libraries such as jQuery to enhance the functionality of their sites. However, if not properly maintained, such dependencies can create attack vectors allowing a site to be compromised. In this paper, we conduct the first comprehensive study of client-side JavaScript library usage and the resulting security implications across the Web. Using data from over 133 k websites, we show that 37 least one library with a known vulnerability; the time lag behind the newest release of a library is measured in the order of years. In order to better understand why websites use so many vulnerable or outdated libraries, we track causal inclusion relationships and quantify different scenarios. We observe sites including libraries in ad hoc and often transitive ways, which can lead to different versions of the same library being loaded into the same document at the same time. Furthermore, we find that libraries included transitively, or via ad and tracking code, are more likely to be vulnerable. This demonstrates that not only website administrators, but also the dynamic architecture and developers of third-party services are to blame for the Web's poor state of library management. The results of our work underline the need for more thorough approaches to dependency management, code maintenance and third-party code inclusion on the Web.

READ FULL TEXT

page 1

page 4

research
03/16/2023

Intertwining Communities: Exploring Libraries that Cross Software Ecosystems

Using libraries in applications has helped developers reduce the costs o...
research
07/05/2022

iLibScope: Reliable Third-Party Library Detection for iOS Mobile Apps

Vetting security impacts introduced by third-party libraries in iOS apps...
research
05/26/2020

Selecting third-party libraries: The practitioners' perspective

The selection of third-party libraries is an essential element of virtua...
research
09/21/2022

An Integrated Web Platform for the Mizar Mathematical Library

This paper reports on the development of a Web platform to host the Miza...
research
12/10/2018

JSSignature: Eliminating Third-Party-Hosted JavaScript Infection Threats Using Digital Signatures

Today, third-party JavaScript resources are indispensable part of the we...
research
02/25/2020

Interactive, Effort-Aware Library Version Harmonization

As a mixed result of intensive dependency on third-party libraries, flex...
research
02/17/2012

AdSplit: Separating smartphone advertising from applications

A wide variety of smartphone applications today rely on third-party adve...

Please sign up or login with your details

Forgot password? Click here to reset