PT-2022-12279 · Unknown · Quickbox Pro
Websecnl
·
Published
2022-01-24
·
Updated
2022-07-12
·
CVE-2021-44981
CVSS v2.0
9.0
High
| Vector | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
QuickBox Pro versions 2.5.8 and below
Description
The issue allows for remote code execution due to a variable in the config.php file that takes a GET parameter value and parses it into a
shell exec() function without properly sanitizing shell arguments. As the media server runs as root by default, attackers can use the sudo command within this shell exec() function, enabling privilege escalation through remote code execution.Recommendations
For versions 2.5.8 and below, consider disabling the
shell exec() function in the config.php file until a patch is available to prevent remote code execution. Restrict access to the config.php file to minimize the risk of exploitation. Avoid using the sudo command within the shell exec() function in the affected versions.Exploit
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Quickbox Pro