PT-2018-14908 · Budabot · Budabot
Ryan Delaney
·
Published
2018-11-30
·
Updated
2019-10-03
·
CVE-2018-19290
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Budabot versions 0.6 through 4.0
Description
The issue allows remote attackers to perform a command injection attack against the PHP daemon with a crafted command. This can result in a denial of service or possibly other unspecified impacts. For example, the command "!calc 5 x 5" can be used to demonstrate the issue. The vulnerable code is located in different files depending on the version: in versions before 3.0, it is in modules/HELPBOT MODULE/calc.php, and in versions 3.0 and above, it is in modules/HELPBOT MODULE/HelpbotController.class.php.
Recommendations
For versions 0.6 through 2.x, consider disabling the calc.php file in the modules/HELPBOT MODULE directory until a patch is available.
For versions 3.0 through 4.0, consider disabling the HelpbotController.class.php file in the modules/HELPBOT MODULE directory until a patch is available.
Restrict access to the
!calc command in the affected API endpoint until the issue is resolved.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
Budabot