CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019 · Mybb

CVE-2019-12831
Mybb vulnerability

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.

Affected products

Mybb. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Mybb runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Mybb products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.