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.
Metrics
CVSS 3.0 7.2/10
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://blog.mybb.com/2019/06/10/mybb-1-8-21-released-security-maintenance-release/Release Notes, Vendor Advisory
- https://blog.ripstech.com/2019/mybb-stored-xss-to-rce/Exploit, Vendor Advisory
- https://blog.mybb.com/2019/06/10/mybb-1-8-21-released-security-maintenance-release/Release Notes, Vendor Advisory
- https://blog.ripstech.com/2019/mybb-stored-xss-to-rce/Exploit, Vendor Advisory
Timeline
- Published
- Jun 15, 2019
- Last modified
- Jun 17, 2026
- NVD status
- Modified