Remote Code Execution Vulnerability in MyBB Forum Software
CVE-2019-12831
7.2HIGH
What is CVE-2019-12831?
MyBB versions prior to 1.8.21 are susceptible to a Remote Code Execution vulnerability that arises from improper handling of XML imports. By exploiting the default behavior of MySQL, which can truncate strings exceeding database column limits, an attacker can craft a malicious XML import. This enables the attacker to create a PHP shell within the cache directory of a targeted forum, effectively allowing them to execute arbitrary code on the server. The truncation issue can lead to arbitrary file creation, treating a file named 'aaaaaaaaaaaaaaaaaaaaaaaaaa.php.css' as 'aaaaaaaaaaaaaaaaaaaaaaaaaa.php', thus facilitating the RCE attack.