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 cach...
HighCVSS 7.2
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHPMySQL
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mybb | < 1.8.21 | 1.8.21 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mybb | < 1.8.21 | 1.8.21 |
References
- blog.mybb.com release-notes vendor-advisory
- blog.ripstech.com exploit vendor-advisory