CVE-2019-12831
HIGHMyBB < 1.8.21 - Remote Code Execution via Theme Import Stylesheet Name Truncation
Title source: llmDescription
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.
References (2)
Core 2
Core References
Exploit, Vendor Advisory x_refsource_misc
https://blog.ripstech.com/2019/mybb-stored-xss-to-rce/
Release Notes, Vendor Advisory x_refsource_misc
https://blog.mybb.com/2019/06/10/mybb-1-8-21-released-security-maintenance-release/
Scores
CVSS v3
7.2
EPSS
0.0149
EPSS Percentile
71.0%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-20
Status
published
Products (1)
mybb/mybb
< 1.8.21
Published
Jun 15, 2019
Tracked Since
Feb 18, 2026