CVE-2022-24734
CVE-2022-24734 is a high-severity vulnerability in Mybb with a CVSS 3.x base score of 7.2. Its EPSS exploit-prediction score of 78% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-94.
Key facts
- Severity: High (CVSS 3.x base score 7.2)
- CVSS v2: 6.5
- EPSS exploit prediction: 78% (100th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-94
- Affected product: Mybb
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-24734?
- 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.
- How severe is CVE-2022-24734?
- CVE-2022-24734 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-24734 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 78% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-24734?
- CVE-2022-24734 affects Mybb. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-24734?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-24734 published?
- CVE-2022-24734 was published on 2022-03-09 and last updated on 2026-06-17.
References
- http://packetstormsecurity.com/files/167082/MyBB-1.8.29-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/167333/MyBB-Admin-Control-Remote-Code-Execution.html
- https://github.com/mybb/mybb/commit/92012b9831b330714b9f9b4646a98784113489c1
- https://github.com/mybb/mybb/security/advisories/GHSA-876v-gwgh-w57f
- https://mybb.com/versions/1.8.30/
- https://www.zerodayinitiative.com/advisories/ZDI-22-503/
Affected products (1)
- cpe:2.3:a:mybb:mybb:*:*:*:*:*:*:*:*
More vulnerabilities in Mybb
- CVE-2015-8974 — Critical (CVSS 10.0): SQL injection vulnerability in the Group Promotions module in the admin control panel in MyBB (aka MyBulletinBoard)…
- CVE-2015-2786 — Critical (CVSS 10.0): Unspecified vulnerability in MyBB (aka MyBulletinBoard) before 1.8.4 has unknown attack vectors related to "Group join…
- CVE-2011-5133 — Critical (CVSS 10.0): Unspecified vulnerability in MyBB before 1.6.5 has unknown impact and attack vectors, related to an "unparsed user…
- CVE-2006-0218 — Critical (CVSS 10.0): Multiple unspecified vulnerabilities in MyBulletinBoard (MyBB) before 1.0.2 have unspecified impact and attack vectors,…
- CVE-2011-10018 — Critical (CVSS 9.8): myBB version 1.6.4 was distributed with an unauthorized backdoor embedded in the source code. The backdoor allowed…
- CVE-2020-22612 — Critical (CVSS 9.8): Installer RCE on settings file write in MyBB before 1.8.22.
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.