UAParser.js 1.0.0 Embedded Malware

critical Web App Scanning Plugin ID 113072

Synopsis

UAParser.js 1.0.0 Embedded Malware

Description

According to its self-reported version number, UAParjser.js is 0.7.29, 0.8.0 or 1.0.0. Therefore, it may be affected by an embedded malicious code vulnerability due to an hijack in the maintainer's NPM account led to including an embedded malicious crypto minor in this package. Specifically, the malicious code reads browser user data files, exports OS credentials copies the cookies DB file from the browser.

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to UAParser.js version 1.0.1 or later.

See Also

https://github.com/advisories/GHSA-pjwm-rvh2-c87w

https://us-cert.cisa.gov/ncas/current-activity/2021/10/22/malware-discovered-popular-npm-package-ua-parser-js

Plugin Details

Severity: Critical

ID: 113072

Type: remote

Published: 12/7/2021

Updated: 9/21/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS Score Source: Tenable

Vulnerability Information

CPE: cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/22/2021

Vulnerability Publication Date: 10/22/2021

Reference Information