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
Link | Resource |
---|---|
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 |
Configurations
Information
Published : 2019-06-15 11:29
Updated : 2019-06-17 12:01
NVD link : CVE-2019-12831
Mitre link : CVE-2019-12831
JSON object : View
CWE
CWE-20
Improper Input Validation
Products Affected
mybb
- mybb