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.
CVE-2022-24734
Score elevated to 8.8 because EPSS predicts 78% probability of exploitation within the next 30 days (top 0.5% of all CVEs). NVD baseline CVSS 7.2 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 78%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.2
- EG Score
- 8.8(high)
- EG Risk
- 71(Track*)EG Risk 71/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation78% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS
- 99.5%
- KEV
- Not listed
Published
March 9, 2022
Last Modified
November 21, 2024
References (12)
- security-advisories@githubhttp://packetstormsecurity.com/files/167082/MyBB-1.8.29-Remote-Code-Execution.html
- security-advisories@githubhttp://packetstormsecurity.com/files/167333/MyBB-Admin-Control-Remote-Code-Execution.html
- security-advisories@githubhttps://github.com/mybb/mybb/commit/92012b9831b330714b9f9b4646a98784113489c1
- security-advisories@githubhttps://github.com/mybb/mybb/security/advisories/GHSA-876v-gwgh-w57f
- security-advisories@githubhttps://mybb.com/versions/1.8.30/
- security-advisories@githubhttps://www.zerodayinitiative.com/advisories/ZDI-22-503/
- af854a3a-2127-422b-91ae-364da2661108http://packetstormsecurity.com/files/167082/MyBB-1.8.29-Remote-Code-Execution.html
- af854a3a-2127-422b-91ae-364da2661108http://packetstormsecurity.com/files/167333/MyBB-Admin-Control-Remote-Code-Execution.html
- af854a3a-2127-422b-91ae-364da2661108https://github.com/mybb/mybb/commit/92012b9831b330714b9f9b4646a98784113489c1
- af854a3a-2127-422b-91ae-364da2661108https://github.com/mybb/mybb/security/advisories/GHSA-876v-gwgh-w57f
- af854a3a-2127-422b-91ae-364da2661108https://mybb.com/versions/1.8.30/
- af854a3a-2127-422b-91ae-364da2661108https://www.zerodayinitiative.com/advisories/ZDI-22-503/
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 23× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 02:09 UTCEG score recompute▲ 1.60
- 2026-07-22 22:56 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-17 20:59 UTCOSV refresh
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 18:53 UTCOSV refresh
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
Show 33 moreShow fewer
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 07:36 UTCOSV refresh
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 02:01 UTCEG score recompute
Publicly available exploits
(3 references)Working exploit code is in the public domain (1 Metasploit module) (1 GitHub PoC) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-50924First seen May 11, 2022
MyBB 1.8.29 - MyBB 1.8.29 - Remote Code Execution (RCE) (Authenticated)
Open source ↗ - GitHub PoCAltelus1/CVE-2022-24734First seen May 8, 2022
CVE-2022-24734 PoC
Open source ↗ - Metasploitexploit/multi/http/mybb_rce_cve_2022_24734✓ verifiedFirst seen Mar 9, 2022
MyBB Admin Control Code Injection RCE
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
Frequently asked(5)
What is CVE-2022-24734?
When was CVE-2022-24734 disclosed?
Is CVE-2022-24734 actively exploited?
What is the CVSS score of CVE-2022-24734?
How do I remediate CVE-2022-24734?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2022-24734
Is Your Infrastructure Affected by CVE-2022-24734?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.