CVE-2019-12831

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mybb:mybb:*:*:*:*:*:*:*:*

History

21 Nov 2024, 04:23

Type Values Removed Values Added
References () https://blog.mybb.com/2019/06/10/mybb-1-8-21-released-security-maintenance-release/ - Release Notes, Vendor Advisory () https://blog.mybb.com/2019/06/10/mybb-1-8-21-released-security-maintenance-release/ - Release Notes, Vendor Advisory
References () https://blog.ripstech.com/2019/mybb-stored-xss-to-rce/ - Exploit, Vendor Advisory () https://blog.ripstech.com/2019/mybb-stored-xss-to-rce/ - Exploit, Vendor Advisory

Information

Published : 2019-06-15 18:29

Updated : 2024-11-21 04:23


NVD link : CVE-2019-12831

Mitre link : CVE-2019-12831

CVE.ORG link : CVE-2019-12831


JSON object : View

Products Affected

mybb

  • mybb
CWE
CWE-20

Improper Input Validation