CVE-2022-24734
HighPublic exploitIn affected versions 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 on _Change Settings_ pages.
Published Mar 9, 2022 · Updated Aug 12, 2026 · Also known as BIT-mybb-2022-24734, GHSA-876v-gwgh-w57f
Key Facts
Patch immediately- CVE-2022-24734 is a high-severity vulnerability (CVSS 7.2 v3.1) affecting Mybb.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 78% probability of exploitation in the next 30 days.
- Fixed versions are available, including Mybb 1.8.30.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
7.2
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
78%
Higher than 99.5% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2022-24734 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
MyBB is a free and open source forum software. In affected versions 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 on _Change Settings_ pages. This results in a Remote Code Execution (RCE) vulnerability. The vulnerable module requires Admin CP access with the Can manage settings? permission. MyBB's Settings module, which allows administrators to add, edit, and delete non-default settings, stores setting data in an options code string ($options_code; mybb_settings.optionscode database column) that identifies the setting type and its options, separated by a new line character (\n). In MyBB 1.2.0, support for setting type php was added, for which the remaining part of the options code is PHP code executed on Change Settings pages (reserved for plugins and internal use). MyBB 1.8.30 resolves this issue. There are no known workarounds.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| MybbMybb | >= 1.2.0, >= >= 1.2.0, < 1.8.30 | 1.8.30 |
Patched Releases
Mybb
1.8.30
Timeline
Publicly disclosed
Mar 9, 2022
Last updated
Aug 12, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24734.json
- advisoryhttps://mybb.com/versions/1.8.30/
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-24734
- advisoryhttps://www.zerodayinitiative.com/advisories/ZDI-22-503/
- patchhttps://github.com/mybb/mybb/commit/92012b9831b330714b9f9b4646a98784113489c1
FAQ
Common Questions.
MyBB is a free and open source forum software.
Affected: Mybb versions >= 1.2.0, >= >= 1.2.0, < 1.8.30. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Mybb 1.8.30.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-24734 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo