← back
CVE-2020-10221

CVE-2020-10221

CVSS 8.8 HIGHEPSS 36.8%● KEVCWE-78
In short

rConfig versions up to 3.94 contain a vulnerability where an attacker can execute arbitrary operating system commands by inserting malicious code into the fileName field when adding a template. This happens because the application doesn't properly sanitize user input before passing it to system commands.

Technical detail

CWE-78 OS Command Injection in lib/ajaxHandlers/ajaxAddTemplate.php allows unauthenticated remote attackers to execute arbitrary OS commands via unsanitized shell metacharacters in the fileName POST parameter. The vulnerable code directly uses user input without proper escaping or validation before command execution, enabling command chaining and arbitrary payload execution.

Summary generated and translated by AI from the official description.
lib/ajaxHandlers/ajaxAddTemplate.php in rConfig through 3.94 allows remote attackers to execute arbitrary OS commands via shell metacharacters in the fileName POST parameter.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
n/a · n/a
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →