Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:47920
HistoryJul 05, 2024 - 7:00 a.m.

OS Command Execution

2024-07-0507:00:21
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
8
hfs
os command execution
vulnerability
file upload
software
child_process
execsync
spawnsync
df shell command

CVSS3

9.9

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

AI Score

9.6

Confidence

High

EPSS

0.001

Percentile

23.0%

HFS is vulnerable to OS Command Execution. The vulnerability is due to using execSync instead of spawnSync in a child_process to execute the df shell command, which allows an attacker to execute OS commands remotely via the file upload feature.

CVSS3

9.9

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

AI Score

9.6

Confidence

High

EPSS

0.001

Percentile

23.0%