CVE-2021-43281 Code injection in n/a
An admin with settings management permissions can inject PHP code via the Admin CP, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-43281?
CVE-2021-43281 is a high-severity code injection vulnerability in Mybb Mybb, published on 4 Nov 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
MyBB before 1.8.29 allows Remote Code Injection by an admin with the "Can manage settings?" permission. The Admin CP's Settings management module does not validate setting types correctly on insertion and update, making it possible to add settings of supported type "php" with PHP code, executed on Change Settings pages.
Weakness: CWE-94
Which versions are affected by CVE-2021-43281?
It affects 1 product.
Products include Mybb Mybb.
How do I fix CVE-2021-43281?
No fix has been published for CVE-2021-43281 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-43281 being exploited?
There is no known exploitation of CVE-2021-43281 in the wild and no public exploit code.