14
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

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

      Preprint

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          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% of them include at 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.

          Related collections

          Author and article information

          Journal
          02 November 2018
          Article
          10.14722/ndss.2017.23414
          1811.00918
          d8b9082a-9d0e-4462-864b-d47d52b6a5d2

          http://arxiv.org/licenses/nonexclusive-distrib/1.0/

          History
          Custom metadata
          Network and Distributed System Security Symposium (NDSS), San Diego, CA, USA, February 2017
          cs.CR

          Security & Cryptology
          Security & Cryptology

          Comments

          Comment on this article