patchminder
Weaponized · Metasploit CVE-2022-24734

Remote code executionin MyBB.

Published 9 Mar 2022 · Updated 22 Apr 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
High 7.2
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 78.2% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.8.30 or later
In plain words

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.

What to do now
  • Upgrade mybb to 1.8.30 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
mybb
1.2.0 to before 1.8.30
1.8.30
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 10 Feb 2022
    CVE ID reserved by GitHub_M.
  2. 9 Mar 2022
    Published in the CVE List.
  3. 9 Mar 2022
    Metasploit module: MyBB Admin Control Code Injection RCE.
  4. 8 May 2022
    First public proof of concept on GitHub.
  5. 22 Apr 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation poc.

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
2 repositories
Exploit-DBEDB-ID 50924web application exploit for php, published 11 May 2022
GitHubno warning signs foundAltelus1/CVE-2022-2473448 stars · created 8 May 2022CVE-2022-24734 PoC
GitHubno warning signs foundlavclash75/mybb-CVE-2022-247341 stars · created 15 May 2022MyBB 1.8.29 · Remote Code Execution

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other MyBB vulnerabilities

Same weakness: Code injection

All CWE-94 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-24734: Remote code execution in MyBB. https://patchminder.com/cve/cve-2022-24734/ (accessed 5 December 2026).