Package Dependencies Detected

medium Web App Scanning Plugin ID 113158

Synopsis

Package Dependencies Detected

Description

Programming languages are often used along with package management tools designed to help developers manages the code dependencies when building their web applications (for example : Composer for PHP, NPM for NodeJS, PIP for Python...). These tools usually work by requesting public code repositories in order to fetch the dependencies and help installing and using specific versions in the project.

When package configuration files are exposed, an attacker could use it to infer the software components used in the target application and to try conduct further attacks.

Solution

Ensure that the package management tool files are not deployed with the application or, at least, is not exposed in a web server directory by setting proper permissions on it. Review the software components used in the application to ensure that they are expected and that they come from trusted distribution sources.

See Also

https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Package_management

https://devopedia.org/dependency-manager/

Plugin Details

Severity: Medium

ID: 113158

Type: remote

Published: 2/23/2022

Updated: 11/26/2024

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

Risk Factor: Medium

Base Score: 5

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

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Medium

Base Score: 5.3

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

CVSS Score Source: Tenable

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: Tenable

Reference Information