Description
The system builds OS commands using inputs that can be manipulated externally, it does not correctly neutralize special elements that could modify the OS command.
Impact
Execute unauthorized code or commands.
Recommendation
- If at all possible, use standard library calls rather than external processes to recreate the desired functionality.
- Keep as much data as possible used to generate command outside of external control.
- Properly escape the arguments used to generate the command and avoid special characters.
Threat
Authenticated attacker from the Internet.
Expected Remediation Time
⌚ 30 minutes.
Score
Default score using CVSS 3.1. It may change depending on the context of the src.
Base
- Attack vector: N
- Attack complexity: L
- Privileges required: N
- User interaction: N
- Scope: C
- Confidentiality: H
- Integrity: H
- Availability: H
Temporal
- Exploit code maturity: P
- Remediation level: U
- Report confidence: R
Result
- Vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:U/RC:R
- Score:
- Severity:
- Base: Critical
- Temporal: Critical
Score 4.0
Default score using CVSS 4.0. It may change depending on the context of the src.
Base 4.0
- Attack vector: N
- Attack complexity: L
- Attack Requirements: N
- Privileges required: N
- User interaction: N
- Confidentiality (VC): H
- Integrity (VI): H
- Availability (VA): H
- Confidentiality (SC): L
- Integrity (SI): L
- Availability (SA): L
Threat 4.0
Result 4.0
- Vector string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/E:P
- Score:
- Severity:
Requirements
Fixes
Free trial