Description
In MyBB before 1.8.21, an attacker can abuse a default behavior of MySQL on many systems (that leads to truncation of strings that are too long for a database column) to create a PHP shell in the cache directory of a targeted forum via a crafted XML import, as demonstrated by truncation of aaaaaaaaaaaaaaaaaaaaaaaaaa.php.css to aaaaaaaaaaaaaaaaaaaaaaaaaa.php with a 30-character limit, aka theme import stylesheet name RCE.
Remediation
References
Related Vulnerabilities
osCommerce Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2002-1991)
WebLogic CVE-2020-14687 Vulnerability (CVE-2020-14687)
Ruby Inefficient Regular Expression Complexity Vulnerability (CVE-2023-22795)
WordPress Plugin Widget Control Powered By Everyblock Cross-Site Scripting (1.0.1)