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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.49%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 7.2 HIGHCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.49% probability · 73th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- mybb/mybb
- Source
- cve@mitre.org
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.